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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #FDF6EE;
    color: #3A2218;
    line-height: 1.6;
    overflow-x: hidden;
}

.font-serif {
    font-family: 'Fraunces', serif;
}

.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

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

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

/* ── Navigation ── */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 246, 238, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(192, 96, 60, 0.1);
}

.nav-fixed nav {
    transition: padding-top 0.3s ease;
}

/* Bar animation for mobile menu */
.bar {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

#menu-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

#menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* Mobile menu */
.mobile-menu-hidden {
    display: none;
}

.mobile-menu-visible {
    display: flex;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C0603C;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #C0603C;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #C0603C;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary:hover {
    background: #A84E2E;
    border-color: #A84E2E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(192, 96, 60, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #3A2218;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #3A2218;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-secondary:hover {
    background: #3A2218;
    color: #FDF6EE;
    transform: translateY(-2px);
}

/* ── Scroll indicator ── */
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-to-b from #6B4226/50 to transparent;
    background: rgba(107, 66, 38, 0.5);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Cards ── */
.card {
    background: #fff;
    border-radius: 24px;
    padding: 8px;
    border: 1px solid rgba(232, 213, 196, 0.6);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(58, 34, 24, 0.1);
}

/* ── Inputs ── */
.input-field {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #E8D5C4;
    border-radius: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: #3A2218;
    background: #FDF6EE;
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: #B08968;
}

.input-field:focus {
    border-color: #C0603C;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192, 96, 60, 0.1);
}

/* ── Geometric shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.12;
}

.shape-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #C0603C;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #E8D5C4;
    bottom: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 170px solid #C0603C;
    top: 25%;
    left: -60px;
    animation: spin 20s linear infinite;
    opacity: 0.08;
}

.shape-square {
    width: 120px;
    height: 120px;
    background: #E8D5C4;
    border-radius: 20px;
    top: 60%;
    right: 8%;
    animation: float 7s ease-in-out infinite;
    transform: rotate(45deg);
}

.shape-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #C0603C;
    top: 30%;
    right: 15%;
    animation: float 4s ease-in-out infinite;
}

.shape-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 12px solid #C0603C;
    bottom: 15%;
    left: 12%;
    animation: float 9s ease-in-out infinite reverse;
    opacity: 0.07;
}

/* About section shapes */
.shape-about-circle {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #A84E2E;
    top: -150px;
    right: -150px;
    opacity: 0.15;
}

.shape-about-square {
    width: 180px;
    height: 180px;
    background: #FDF6EE;
    border-radius: 30px;
    bottom: -50px;
    left: 10%;
    opacity: 0.08;
    transform: rotate(30deg);
}

/* Visit section shapes */
.shape-visit-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: #C0603C;
    bottom: -100px;
    right: -80px;
    opacity: 0.05;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(3deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
        top: -50px;
        right: -50px;
    }

    .shape-circle-2 {
        width: 120px;
        height: 120px;
    }

    .shape-triangle {
        display: none;
    }

    .shape-square {
        width: 80px;
        height: 80px;
    }

    .shape-ring {
        width: 100px;
        height: 100px;
        border-width: 8px;
    }

    .shape-about-circle {
        width: 300px;
        height: 300px;
    }

    .shape-visit-circle {
        width: 200px;
        height: 200px;
    }
}
