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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #D97706;
    color: #FFF8E7;
}

/* ===== Geometric Background Shapes ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 95, 70, 0.06) 0%, transparent 70%);
    top: 10%;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
    bottom: 20%;
    left: -50px;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(6, 95, 70, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-tri {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 104px 60px;
    border-color: transparent transparent rgba(217, 119, 6, 0.08) transparent;
    top: 30%;
    left: 5%;
    transform: rotate(-15deg);
    animation: float-slow 22s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.1) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 60%;
    right: 8%;
    animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid rgba(6, 95, 70, 0.08);
    border-radius: 50%;
    top: 15%;
    left: 10%;
    animation: float-slow 14s ease-in-out infinite;
}

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

/* ===== Floating Decorative Elements ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 12deg)); }
    50% { transform: translateY(-15px) rotate(var(--rotation, 12deg)); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(255, 248, 231, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(2, 44, 34, 0.06);
}

#navbar.scrolled {
    background: rgba(255, 248, 231, 0.95);
    box-shadow: 0 4px 30px rgba(2, 44, 34, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #065f46;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== Hero Badge ===== */
.hero-badge {
    animation: fadeSlideDown 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== CTA Buttons ===== */
.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: #065f46;
    color: #FFF8E7;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(6, 95, 70, 0.3);
    text-decoration: none;
}

.cta-button-primary:hover {
    background: #022c22;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(6, 95, 70, 0.4);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    color: #065f46;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    border: 2px solid rgba(6, 95, 70, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button-secondary:hover {
    border-color: #065f46;
    background: rgba(6, 95, 70, 0.05);
    transform: translateY(-2px);
}

/* ===== Marquee ===== */
.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    padding: 0 8px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Scroll Reveal ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }
    
    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ===== Menu Card Hover ===== */
.bg-white.rounded-3xl:hover {
    transform: translateY(-4px);
}

/* ===== Gallery Images ===== */
.row-span-2 {
    display: flex;
}

.row-span-2 img {
    width: 100%;
    height: 100%;
}

/* ===== Form Styles ===== */
select option {
    background: #022c22;
    color: #FFF8E7;
}

/* ===== Smooth Focus ===== */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .geo-circle,
    .geo-tri,
    .geo-dots,
    .geo-ring {
        display: none;
    }
    
    h1 {
        font-size: 2.75rem !important;
    }
    
    h2 {
        font-size: 2.25rem !important;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    h1 {
        font-size: 4.5rem !important;
    }
}

/* ===== Print Styles ===== */
@media print {
    .geo-circle,
    .geo-tri,
    .geo-dots,
    .geo-ring,
    .animate-float,
    .marquee-track {
        display: none !important;
    }
}
