/* ===== Custom Properties ===== */
:root {
    --terracotta: #C2703E;
    --forest-green: #2C5F2D;
    --deep-navy: #1A1A2E;
    --warm-sand: #D4A574;
    --parchment: #F5E6D3;
    --off-white: #FAF8F5;
    --golden-amber: #E8B86D;
    --near-black: #111;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, 'Segoe UI', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--deep-navy);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.kicker {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--golden-amber);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
}

.btn:hover {
    transform: scale(1.03);
}

.btn-primary {
    background: var(--terracotta);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-dark {
    background: var(--forest-green);
    color: #fff;
}

/* ===== Section Base ===== */
.section-padding {
    padding: 100px 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 48px;
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--deep-navy);
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--parchment);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--warm-sand);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--parchment);
    transition: transform 0.3s, opacity 0.3s;
}

.nav-scrolled {
    background: rgba(26, 26, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.nav-scrolled:hover {
    background: var(--deep-navy);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/hero.jpg') center/cover no-repeat;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(44, 95, 45, 0.5) 50%,
        rgba(194, 112, 62, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 650px;
    padding: 0 24px;
}

.hero-title {
    font-size: 4rem;
    margin: 16px 0 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Features ===== */
.features {
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 12px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--parchment);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--terracotta);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== How It Works ===== */
.how-it-works {
    background: #fff;
    border-top: 2px solid var(--parchment);
    border-bottom: 2px solid var(--parchment);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 16px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--terracotta);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.9rem;
    color: #666;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--warm-sand);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ===== Social Proof ===== */
.social-proof {
    background: var(--parchment);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.8rem;
    color: #999;
}

/* ===== Gallery ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 4px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-large {
    grid-row: span 2;
}

/* ===== Final CTA ===== */
.final-cta {
    background: var(--deep-navy);
}

.final-cta-content {
    text-align: center;
}

.final-cta h2 {
    font-size: 2.25rem;
    color: var(--parchment);
    margin-bottom: 12px;
}

.final-cta-subtitle {
    color: var(--warm-sand);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

/* ===== Signup Form ===== */
.signup-form {
    max-width: 480px;
    margin: 0 auto;
}

.signup-input-group {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.signup-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: none;
    outline: none;
    background: #fff;
    color: var(--deep-navy);
    min-width: 0;
}

.signup-input::placeholder {
    color: #999;
}

.signup-btn {
    border-radius: 0;
    padding: 16px 28px;
    white-space: nowrap;
    flex-shrink: 0;
}

.signup-btn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.signup-message {
    margin-top: 16px;
    font-size: 0.9rem;
    min-height: 1.4em;
}

.signup-success {
    color: var(--golden-amber);
}

.signup-thankyou {
    animation: fadeUp 0.5s ease;
}

.signup-thankyou svg {
    margin: 0 auto 24px;
    display: block;
}

.signup-thankyou h2 {
    color: var(--parchment);
    margin-bottom: 12px;
}

.signup-thankyou strong {
    color: var(--golden-amber);
}

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

/* ===== Footer ===== */
.footer {
    background: var(--near-black);
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--parchment);
    margin-bottom: 8px;
}

.footer-tagline {
    color: #888;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #888;
    font-size: 0.9rem;
    line-height: 2.2;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--parchment);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
}

/* ===== Nav Active State ===== */
.nav-active {
    color: #fff !important;
}

/* ===== Responsive: Tablet (768px) ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--deep-navy);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-links.nav-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px 200px;
    }

    .gallery-large {
        grid-row: span 1;
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* ===== Responsive: Mobile (480px) ===== */
@media (max-width: 480px) {
    .section-padding {
        padding: 64px 16px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-line {
        width: 2px;
        height: 32px;
        margin: 0;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-large {
        grid-column: span 1;
    }

    .gallery-item img {
        height: 200px;
    }

    .final-cta h2 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        margin-bottom: 8px;
    }
}
