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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

/* ===== Geometric Background Decorations ===== */
.geo-circle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 101, 58, 0.07) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(228, 168, 74, 0.08) 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
}

.geo-triangle {
    position: fixed;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 0;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid rgba(196, 101, 58, 0.05);
    top: 35%;
    right: 5%;
    transform: rotate(15deg);
}

.geo-square {
    position: fixed;
    width: 100px;
    height: 100px;
    background: rgba(228, 168, 74, 0.06);
    border-radius: 20px;
    pointer-events: none;
    z-index: 0;
    top: 60%;
    left: 8%;
    transform: rotate(30deg);
}

.geo-dots {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.geo-dots--1 {
    top: 45%;
    right: 12%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(196, 101, 58, 0.3) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

/* ===== Navigation ===== */
.nav {
    background: rgba(253, 248, 243, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav.scrolled {
    background: rgba(253, 248, 243, 0.95);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C4653A;
    transition: width 0.25s ease;
}

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

/* Mobile menu */
.mobile-menu-btn {
    transition: background 0.2s;
}

.mobile-menu {
    transition: max-height 0.35s ease, opacity 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

.mobile-menu-link {
    transition: background 0.2s, color 0.2s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #C4653A;
    color: #FDF8F3;
    box-shadow: 0 4px 14px rgba(196, 101, 58, 0.35);
}

.btn-primary:hover {
    background: #A85230;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 101, 58, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: #292524;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: #fff;
    border-color: #C4653A;
    color: #C4653A;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #C4653A;
    border: 1.5px solid #C4653A;
}

.btn-outline:hover {
    background: #C4653A;
    color: #FDF8F3;
    transform: translateY(-2px);
}

/* ===== Tags ===== */
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
}

.tag--terra {
    background: #F7DDD4;
    color: #8B4328;
}

.tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: #F5D9AA;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(160deg, #FDF8F3 0%, #FAEDD8 50%, #F7DDD4 100%);
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-wrap {
    position: relative;
    z-index: 2;
}

.hero-img-card {
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.2);
    aspect-ratio: 6/7;
}

/* Floating stat cards */
.float-card {
    position: absolute;
    z-index: 10;
}

.float-card--1 {
    top: 8%;
    left: -12%;
    animation: floatA 5s ease-in-out infinite;
}

.float-card--2 {
    bottom: 22%;
    right: -8%;
    animation: floatB 6s ease-in-out infinite;
}

.float-card--3 {
    bottom: 5%;
    left: -5%;
    animation: floatC 5.5s ease-in-out infinite;
}

@keyframes floatA {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(0deg); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-18px) rotate(0deg); }
}

@keyframes floatC {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-12px) rotate(-1deg); }
}

/* ===== Divider ===== */
.divider {
    height: 3px;
    background: linear-gradient(90deg, #C4653A, #E4A84A, #C4653A);
    border-radius: 100px;
    opacity: 0.3;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 0;
}

.section--dark {
    background: #1C1917;
}

/* ===== Product Cards ===== */
.card-product {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(196, 101, 58, 0.12);
}

.card-product-img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-product-label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #C4653A;
    background: #F7DDD4;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

/* ===== About ===== */
.about-img-stack {
    position: relative;
}

.about-img-main {
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.25);
}

.about-img-accent {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ===== Visit Cards ===== */
.visit-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 101, 58, 0.1);
}

.visit-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2rem 0;
}

.visit-card-body {
    padding: 1.5rem 2rem 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #F5F5F4;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: #292524;
}

.hours-time {
    color: #78716C;
    font-size: 0.95rem;
}

.hours-row--closed .hours-day {
    color: #C4653A;
    font-weight: 600;
}

.hours-time-closed {
    color: #C4653A;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== Contact Form ===== */
.input-light {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #FDF6EC;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.input-light::placeholder {
    color: rgba(253, 246, 236, 0.35);
}

.input-light:focus {
    border-color: #E89172;
    background: rgba(255, 255, 255, 0.1);
}

.input-light:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(45, 40, 38, 1) inset !important;
    -webkit-text-fill-color: #FDF6EC !important;
}

.contact-success {
    animation: fadeIn 0.4s ease;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Staggered reveal delays */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .float-card--1 { left: -4%; }
    .float-card--2 { right: -4%; }
    .float-card--3 { left: -2%; }
}

@media (max-width: 767px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

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

    .hero-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .float-card { display: none; }

    .section {
        padding: 4rem 0;
    }

    .font-serif.text-5xl {
        font-size: 2.75rem;
    }

    .font-serif.text-4xl {
        font-size: 2.25rem;
    }

    .about-img-accent {
        width: 120px;
        height: 120px;
    }

    .visit-card-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .visit-card-header {
        padding: 1.5rem 1.5rem 0;
    }
}

@media (max-width: 374px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
