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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background: #2d8f58;
    color: #fdfbf7;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: #227044;
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: #e07a5f;
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 346px solid #227044;
    top: 40%;
    right: -80px;
    transform: rotate(15deg);
    opacity: 0.04;
}

.shape-rect {
    width: 300px;
    height: 300px;
    background: #f2cc8f;
    top: 60%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 20px;
    opacity: 0.04;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #227044 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 30%;
    left: 3%;
    opacity: 0.08;
}

/* ===== Geometric Pattern Overlay ===== */
.geo-pattern {
    background-image: 
        linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
        linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
        linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
        linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.03;
}

/* ===== Hero Floating Shapes ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-s1 {
    width: 120px;
    height: 120px;
    background: #f2cc8f;
    border-radius: 50%;
    top: 15%;
    left: 8%;
    opacity: 0.15;
    animation: float1 8s ease-in-out infinite;
}

.shape-s2 {
    width: 80px;
    height: 80px;
    background: #e07a5f;
    top: 25%;
    right: 10%;
    opacity: 0.12;
    animation: float2 6s ease-in-out infinite;
    transform: rotate(45deg);
    border-radius: 12px;
}

.shape-s3 {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    bottom: 25%;
    left: 12%;
    opacity: 0.08;
    animation: float3 7s ease-in-out infinite;
}

.shape-s4 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid #f2cc8f;
    top: 60%;
    right: 8%;
    opacity: 0.1;
    animation: float1 9s ease-in-out infinite reverse;
}

.shape-s5 {
    width: 100px;
    height: 100px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
    opacity: 0.06;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-20px) rotate(55deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* ===== Hero Badge Animation ===== */
.hero-badge {
    animation: fadeDown 0.8s ease-out both;
}

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

/* ===== Hero Headline Animation ===== */
#hero h1 {
    animation: fadeUp 0.8s ease-out 0.2s both;
}

#hero p {
    animation: fadeUp 0.8s ease-out 0.4s both;
}

#hero .flex.flex-col {
    animation: fadeUp 0.8s ease-out 0.6s both;
}

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

/* ===== Scroll Indicator ===== */
.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(253, 251, 247, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: #f2cc8f;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 0; opacity: 0; }
    50% { top: 100%; opacity: 1; }
}

/* ===== Marquee ===== */
.marquee-track {
    overflow: hidden;
}

.marquee-content {
    animation: marquee 30s linear infinite;
}

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

/* ===== Buttons ===== */
.btn-primary {
    background: #f2cc8f;
    color: #0a2e1a;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid #f2cc8f;
}

.btn-primary:hover {
    background: transparent;
    color: #f2cc8f;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(242, 204, 143, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fdfbf7;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid rgba(253, 251, 247, 0.3);
}

.btn-secondary:hover {
    border-color: #fdfbf7;
    background: rgba(253, 251, 247, 0.1);
    transform: translateY(-2px);
}

/* ===== Navigation ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(10, 46, 26, 0.08);
}

.nav-link {
    position: relative;
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    box-shadow: 0 20px 60px rgba(10, 46, 26, 0.15);
}

.mobile-link {
    position: relative;
}

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

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

/* ===== Menu Cards ===== */
.menu-card {
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
}

/* ===== Gallery Items ===== */
.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 46, 26, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    #hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    #hero h1 {
        font-size: 2.25rem;
    }
}
