/* ===================================
   CSS VARIABLES & ROOT STYLES
   =================================== */

:root {
    /* Colors */
    --color-navy: #1a2332;
    --color-cream: #f8f6f1;
    --color-white: #ffffff;
    --color-bronze: #9d7c3f;
    --color-text-dark: #2a2a2a;
    --color-text-gray: #666666;
    --color-text-light: #999999;
    --color-border: #e0e0e0;
    --color-overlay: rgba(26, 35, 50, 0.75);
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Crimson Pro', Georgia, serif;
    --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition: 0.3s ease-in-out;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   RESET & BASE STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav.scrolled {
    background-color: var(--color-navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-bronze);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    background-size: cover;
    background-position: center;
    /* Add your actual background image here */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-overlay);
    background: linear-gradient(
        135deg,
        rgba(26, 35, 50, 0.85) 0%,
        rgba(26, 35, 50, 0.65) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 5%;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-bronze);
    color: var(--color-white);
    border-color: var(--color-bronze);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-bronze);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-bronze);
    color: var(--color-white);
    border-color: var(--color-bronze);
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
}

.btn-accent:hover {
    background-color: #8a6b35;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(157, 124, 63, 0.3);
}

/* ===================================
   SECTION STYLES
   =================================== */

section {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-gray);
    max-width: 700px;
    margin: -2rem auto 3rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background-color: var(--color-bronze);
    margin: 0 auto 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===================================
   MISSION SECTION
   =================================== */

.mission {
    background-color: var(--color-cream);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-dark);
}

.mission-content p {
    margin-bottom: 2rem;
}

.mission-content p:first-child::first-letter {
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 0.1em 0.1em 0 0;
    color: var(--color-bronze);
}

/* ===================================
   FEATURED WORK SECTION
   =================================== */

.featured-work {
    background-color: var(--color-white);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.work-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all var(--transition);
    position: relative;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-bronze), transparent);
    opacity: 0;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-bronze);
}

.work-card:hover::before {
    opacity: 1;
}

.work-icon {
    color: var(--color-bronze);
    margin-bottom: 1.5rem;
}

.work-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.work-description {
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.work-link {
    color: var(--color-bronze);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.work-link:hover {
    transform: translateX(5px);
}

/* ===================================
   LATEST THINKING SECTION
   =================================== */

.latest-thinking {
    background-color: #f5f5f5;
}

.thinking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.thinking-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.thinking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.thinking-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.thinking-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3e50 0%, #1a2332 100%);
    transition: var(--transition);
}

.thinking-card:hover .thinking-image-placeholder {
    transform: scale(1.05);
}

.thinking-content {
    padding: 2rem;
}

.thinking-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-bronze);
    margin-bottom: 1rem;
}

.thinking-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.thinking-excerpt {
    color: var(--color-text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.thinking-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.thinking-link {
    color: var(--color-bronze);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.thinking-link:hover {
    transform: translateX(5px);
}

/* ===================================
   PHOTOGRAPHY TEASER SECTION
   =================================== */

.photography-teaser {
    background-color: var(--color-white);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    margin-top: 3rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2332 0%, #4a5568 50%, #2d3e50 100%);
    transition: var(--transition-slow);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.photo-title {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.photo-item:hover .photo-placeholder {
    transform: scale(1.1);
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

/* ===================================
   CONTACT CTA SECTION
   =================================== */

.contact-cta {
    background-color: var(--color-navy);
    text-align: center;
}

.cta-title {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background-color: #0f1419;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-bronze);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-bronze);
    border-color: var(--color-bronze);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 992px) {
    .nav-container {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-navy);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 0;
        gap: 0;
        transition: left var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 5%;
        width: 100%;
        text-align: left;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .thinking-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
