﻿/*
Theme Name: Nordisk Media
Author: Antigravity
Description: A modern editorial agency theme.
Version: 4.1
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&display=swap');

/* =========================================
   Variables
   ========================================= */
:root {
    --background: hsl(40 20% 98%);
    --foreground: hsl(220 25% 15%);
    --card: hsl(0 0% 100%);
    --card-foreground: hsl(220 25% 15%);
    --popover: hsl(0 0% 100%);
    --popover-foreground: hsl(220 25% 15%);
    --primary: hsl(220 30% 18%);
    --primary-foreground: hsl(40 20% 98%);
    --secondary: hsl(220 15% 95%);
    --secondary-foreground: hsl(220 25% 15%);
    --muted: hsl(220 15% 94%);
    --muted-foreground: hsl(220 10% 45%);
    --accent: hsl(35 30% 92%);
    --accent-foreground: hsl(220 25% 15%);
    --destructive: hsl(0 84% 60%);
    --destructive-foreground: hsl(0 0% 100%);
    --border: hsl(220 15% 90%);
    --input: hsl(220 15% 90%);
    --ring: hsl(220 30% 18%);
    --radius: .25rem;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-sans: "Inter", system-ui, sans-serif;
    --sidebar-background: hsl(0 0% 98%);
    --sidebar-foreground: hsl(220 25% 15%);
    --sidebar-primary: hsl(220 30% 18%);
    --sidebar-primary-foreground: hsl(40 20% 98%);
    --sidebar-accent: hsl(220 15% 95%);
    --sidebar-accent-foreground: hsl(220 25% 15%);
    --sidebar-border: hsl(220 15% 90%);
    --sidebar-ring: hsl(220 30% 18%);

    --container-width: 1024px;
    --container-width-wide: 1280px;
    --nav-height: 75px;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    margin: 0;
    padding: 0;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--foreground);
    margin-top: 0;
    margin-bottom: 1.2rem;
}

h1 {
    font-size: 3rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
}

/* =========================================
   Layout Utilities
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.container-wide {
    max-width: var(--container-width-wide);
    margin: 0 auto;
}

.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    color: var(--foreground);
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.75rem;
    color: var(--muted-foreground);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {

    .container,
    .container-wide {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* =========================================
   Components: Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.25;
    transition: all 0.3s ease;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    min-height: 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: hsl(0, 0%, 0%);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--background);
    border-color: var(--foreground);
    color: var(--foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   Components: Navigation
   ========================================= */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
}

.main-navigation.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

.nav-logo img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1.8rem;
    flex-wrap: nowrap;
    align-items: center;
    height: 100%;
}

.nav-menu li a {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--foreground);
    letter-spacing: 0.08em;
    position: relative;
    white-space: nowrap;
    line-height: 1;
    display: block;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--foreground);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after,
.nav-menu li.current-menu-ancestor a::after,
.nav-menu li.current_page_parent a::after,
.nav-menu li.active-js a::after {
    width: 100% !important;
    background-color: var(--foreground);
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a,
.nav-menu li.active-js a {
    font-weight: 400;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #111;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-menu li a {
        font-size: 1.5rem;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* =========================================
   Components: Hero Section
   ========================================= */
.hero-header {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('assets/images/editorial-warm.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    text-align: center;
}

.hero-punchline h1 {
    font-size: 3.75rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--foreground);
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

.hero-punchline p {
    font-size: 1.25rem;
    line-height: 1.75rem;
    margin-bottom: 3.5rem;
    color: var(--muted-foreground);
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-punchline h1 {
        font-size: 2.5rem;
    }

    .hero-punchline p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   Components: Services Offer (Front Page)
   ========================================= */
.services-offer-section {
    padding: 10rem 0 !important;
    background-color: var(--background);
}

.offer-header {
    text-align: center;
    margin: 0 auto 5rem auto;
}

.offer-header h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--foreground);
    font-weight: 400;
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

.offer-intro {
    color: var(--muted-foreground);
    line-height: 1.8;
    font-family: var(--font-sans);
    max-width: 48rem;
    margin: 0 auto;
    font-size: 1.15rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .offer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Service Icon Card */
.offer-card {
    background: var(--card);
    padding: 2.5rem;
    min-width: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-radius: var(--radius);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.card-icon {
    margin-bottom: 0.75rem;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.2px;
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.offer-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: var(--font-serif);
    line-height: 1.3;
    color: var(--foreground);
}

.offer-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin: 0;
    line-height: 1.7;
}

/* Mobile Adjustments for Offer Section */
@media (max-width: 768px) {
    .services-offer-section {
        padding: 5rem 0 !important;
    }

    .offer-header {
        margin-bottom: 3rem;
    }

    .offer-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

/* =========================================
   Components: CTA Section
   ========================================= */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: var(--background);
}

.services-cta {
    background-color: var(--secondary);
    color: var(--foreground);
}

.services-cta .cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--foreground);
}

.services-cta .cta-content p {
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.services-cta .btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.services-cta .btn-primary:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

/* =========================================
   Components: Services Page (Grid)
   ======================================== */
.services-section {
    background: var(--secondary);
}

.services-header-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 0.1rem;
    background: #fff;
    border-bottom: none !important;
    text-align: center;
}

.services-header-section h1 {
    margin-bottom: 1rem;
    font-weight: 500;
}

.services-grid-section {
    padding-bottom: 120px;
    padding-top: 0.4rem;
    background: #fff;
}

.services-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .services-grid-2x2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Service Card 2x2 (Grid Style) */
.service-card-2x2 {
    background: #fff;
    border: 1px solid var(--border);
    padding: 5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
}

.service-card-2x2:first-child {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.service-card-2x2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-card-2x2 h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: var(--font-serif);
}

.service-body {
    line-height: 1.6;
    color: hsl(220 10% 45%);
}

.service-body p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-body ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.service-body li {
    position: relative;
    padding-left: 0;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 400;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-body li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.service-card-2x2:first-child h3 {
    color: #fff;
}

.service-card-2x2:first-child .service-body p {
    color: rgba(255, 255, 255, 0.8);
}

.service-card-2x2:first-child .service-body li {
    color: #fff;
}

.service-card-2x2:first-child .service-body li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

@media (max-width: 768px) {
    .service-cards-2x2 {
        grid-template-columns: 1fr;
    }

    .service-card-2x2 {
        padding: 3rem;
    }
}

/* =========================================
   Components: Case Archive
   ========================================= */
.case-archive-section {
    padding: calc(var(--nav-height) + 60px) 0 120px 0;
    margin-top: 0;
    background: var(--background);
}

.case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .case-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-archive-section .section-title h1 {
    font-weight: normal;
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    color: var(--foreground);
}

.case-archive-section .section-title p {
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--muted-foreground);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Case Card */
.case-card {
    background: #000;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-radius: 4px;
}

.case-image {
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
    opacity: 0.6;
}

.case-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-card:hover::after {
    opacity: 1;
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.case-card:hover .case-info {
    opacity: 1;
    transform: translateY(0);
}

.case-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.case-excerpt-preview {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   Components: Inspiration Archive
   ========================================= */
.inspiration-archive-section {
    padding: calc(var(--nav-height) + 60px) 0 120px 0;
    margin-top: 0;
    background: #fff;
}

.inspiration-grid {
    display: block;
    column-count: 1;
    column-gap: 1.5rem;
}

@media (min-width: 768px) {
    .inspiration-grid {
        column-count: 2;
    }
}

@media (min-width: 1024px) {
    .inspiration-grid {
        column-count: 3;
    }
}

.inspiration-card {
    position: relative;
    display: inline-block;
    width: 100% !important;
    break-inside: avoid;
    -webkit-backface-visibility: hidden;
    margin-bottom: 1.5rem;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.inspiration-card img {
    width: 100% !important;
    display: block;
    transition: opacity 0.4s ease;
    object-fit: cover;
}

/* Aspect Ratio Modifiers */
.inspiration-card.card-tall img {
    aspect-ratio: 2 / 3;
}

.inspiration-card.card-wide img {
    aspect-ratio: 16 / 9;
}

.inspiration-card.card-square img {
    aspect-ratio: 1 / 1;
}

.inspiration-card:hover img {
    opacity: 0.85;
}

/* Overlay & Pill */
.inspiration-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    pointer-events: none;
}

.inspiration-pill {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspiration-card:hover .inspiration-pill {
    opacity: 1;
    transform: translateY(0);
}

.pill-title {
    font-weight: bold;
    font-family: var(--font-heading);
    color: #000;
    margin-right: 0.75rem;
}

.pill-divider {
    color: #ccc;
    margin-right: 0.75rem;
}

/* =========================================
   Components: About Page
   ========================================= */
.about-header-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 1px;
    background: #fff;
    border-bottom: none !important;
}

/* Intro Section */
.about-intro-section {
    padding: 0 0 100px 0;
    background: #fff;
    border-bottom: none !important;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-intro-text .intro-bold {
    font-weight: 500;
    color: #000;
}

.about-intro-image {
    background-image: url(/wp-content/themes/nordisk-media/assets/images/about-collab.png);
    width: 100%;
    background-position: center;
    border-radius: 4px;
    background-size: cover;
    overflow: hidden;
    align-self: start;
}

.about-intro-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.about-intro-text h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 500;
    font-family: var(--font-serif);
}

/* Features Section */
.about-features-section {
    padding: 100px 0;
    background: hsl(var(--bg-body-light) / 0.5);
}

.about-features-section .section-title {
    text-align: center;
    margin-bottom: 4.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-features-section .about-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
}

.about-features-section .section-subtitle {
    max-width: 27rem;
    color: hsl(220 10% 45%);
    font-weight: 500;
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section.about-features-section .about-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: transparent;
    padding: 0;
    border: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
    cursor: default;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: hsl(220 30% 18% / 0.1);
    color: hsl(220 30% 18%);
    margin: 0 auto;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: hsl(220 10% 45%);
    margin: 0;
}

.feature-card h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

/* =========================================
   Components: Contact Page
   ========================================= */
.contact-header-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 2rem;
    background: #fff;
    border-bottom: none !important;
    text-align: center;
}

.contact-header-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-content-section {
    padding-top: 0;
    padding-bottom: 120px;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 8rem;
    }
}

.column-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--text-main);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    padding: 0;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-form .half-width {
    flex: 1;
    min-width: 200px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #eee;
    background: #fbfbfb;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ccc;
    background: #fff;
}

.contact-form button {
    cursor: pointer;
    background: var(--bg-hero);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 2px;
}

.contact-form button:hover {
    background: #222;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #555;
}

.contact-list-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2px;
}

.contact-list-text .label {
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: #111;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-list-text a,
.contact-list-text span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #666;
    text-decoration: none;
}

.contact-image-container {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: auto;
}

.contact-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: #eaffea;
    border: 1px solid #ccffcc;
    border-radius: 4px;
}

/* =========================================
   Components: Footer
   ========================================= */
.site-footer {
    background-color: var(--accent-foreground);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
    border-top: none;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: invert(1) brightness(200%);
}

.footer-mission {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-col h3 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    color: #fff;
    font-weight: 600;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.footer-nav-list a:hover {
    color: #fff;
}

.contact-item {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 0.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* =========================================
   Components: Modal
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--background);
    width: 90%;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--foreground);
    z-index: 20;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.modal-image-container {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    background: #f0f0f0;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-text-content {
    padding: 2rem;
    width: 100%;
}

.modal-text-content h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--foreground);
}

.modal-text-content p,
.modal-text-content li {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

/* Modal Desktop Override */
@media (min-width: 768px) {
    .modal-content {
        flex-direction: row;
        align-items: stretch;
        height: 600px;
    }

    .modal-body {
        flex-direction: row;
        overflow: hidden;
    }

    .modal-image-container {
        width: 50%;
        height: 100%;
        flex: 0 0 50%;
    }

    .modal-text-content {
        width: 50%;
        height: 100%;
        flex: 0 0 50%;
        padding: 3rem;
        overflow-y: auto;
    }

    .modal-close {
        background: transparent;
        box-shadow: none;
        top: 20px;
        right: 20px;
        font-size: 2rem;
    }
}

/* Modal Mobile Adjustments */
@media (max-width: 768px) {
    .modal-content {
        max-height: 85vh;
        width: 95%;
    }

    .modal-image-container {
        height: 200px;
    }
}

/* =========================================
   Animations
   ========================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}