/* Import Source Code Pro from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500;600;700&display=swap');

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables */
:root {
    --darkest-green: #003039;
    --dark-green: #04525C;
    --green: #2E7C70;
    --cta-orange: #F3773B;
    --light-orange: #FFDBB1;
    --lightest-orange: #FFF5E9;
    --white: #FFFFFF;

    /* Font Variables */
    --font-primary: 'Menlo', 'Monaco', 'Courier New', monospace;
    --font-secondary: 'Source Code Pro', 'Menlo', monospace;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 24px;
    box-sizing: border-box;
}

/* Section 1 Wrapper - Creates the white card effect */
.section1-wrapper {
    background-color: var(--lightest-orange);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    max-height: calc(100vh - 48px);
    position: relative;
}

/* Add grain texture overlay to entire wrapper */
.section1-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

.section1-wrapper > * {
    position: relative;
    z-index: 2;
}

/* ===== 12 COLUMN FLEXBOX SYSTEM ===== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 112px;
    display: flex;
    gap: 24px;
    justify-content: center;
}

/* Column widths using flexbox */
.col-1 { flex: 0 0 79.33px; }
.col-2 { flex: 0 0 calc((79.33px * 2) + 24px); }
.col-3 { flex: 0 0 calc((79.33px * 3) + (24px * 2)); }
.col-4 { flex: 0 0 calc((79.33px * 4) + (24px * 3)); }
.col-5 { flex: 0 0 calc((79.33px * 5) + (24px * 4)); }
.col-6 { flex: 0 0 calc((79.33px * 6) + (24px * 5)); }
.col-7 { flex: 0 0 calc((79.33px * 7) + (24px * 6)); }
.col-8 { flex: 0 0 calc((79.33px * 8) + (24px * 7)); }
.col-9 { flex: 0 0 calc((79.33px * 9) + (24px * 8)); }
.col-10 { flex: 0 0 calc((79.33px * 10) + (24px * 9)); }
.col-11 { flex: 0 0 calc((79.33px * 11) + (24px * 10)); }
.col-12 { flex: 0 0 calc((79.33px * 12) + (24px * 11)); }

/* Debug: Show grid columns (uncomment to visualize) */
/* 
.container {
    position: relative;
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 112px;
    width: calc(12 * 79.33px + 11 * 24px);
    max-width: calc(100% - 224px);
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: 
        repeating-linear-gradient(
            to right,
            rgba(255, 0, 0, 0.15) 0,
            rgba(255, 0, 0, 0.15) 79.33px,
            transparent 79.33px,
            transparent calc(79.33px + 24px)
        );
} */


/* ===== DEBUG MODE ===== */
/* Uncomment the section below to enable debug colors */
/*
.main-nav {
    background-color: rgba(255, 0, 0, 0.2) !important;
}

.nav-logo {
    background-color: rgba(0, 0, 255, 0.2) !important;
}

.nav-links {
    background-color: rgba(255, 255, 0, 0.2) !important;
}

.hero {
    background-color: rgba(255, 0, 255, 0.2) !important;
}

.hero-content {
    background-color: rgba(255, 128, 0, 0.2) !important;
}

.hero-image {
    background-color: rgba(128, 0, 255, 0.2) !important;
}
*/
/* ===== END DEBUG MODE ===== */

/* Navigation Bar */
.main-nav {
    padding: 20px 0;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 20px;
    color: var(--darkest-green);
    font-weight: bold;
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    justify-content: flex-end;
}

.nav-links a {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--darkest-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Hero Section */
.hero {
    padding: 0;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: stretch;
}

.hero .container {
    min-height: calc(100vh - 120px);
    align-items: flex-end;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start;
    padding-top: 80px;
}

.hero h3 {
    font-family: var(--font-secondary);
    font-size: 32px;
    color: var(--green);
    margin: 0;
    font-weight: normal;
    letter-spacing: 0;
}

.hero h2 {
    font-family: var(--font-secondary);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--darkest-green);
    margin: 0;
}

.hero-image {
    position: relative;
    align-self: flex-end;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Responsive Hero */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}