/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%);
    opacity: 0.06;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    top: 40%;
    right: 15%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A373 0%, #C2915B 100%);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #52B788 0%, #74C69D 100%);
    opacity: 0.08;
    animation: float 10s ease-in-out infinite;
}

.geo-triangle {
    top: 25%;
    left: 3%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #1B4332;
    opacity: 0.05;
    transform: rotate(15deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square {
    top: 60%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: #D4A373;
    opacity: 0.06;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.geo-dots {
    bottom: 20%;
    right: 8%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #1B4332 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    animation: float 9s ease-in-out infinite reverse;
}

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

@keyframes spin-slow {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

/* Hero Animations */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero-anim:nth-child(3) { animation-delay: 0.3s; }
.hero-anim:nth-child(4) { animation-delay: 0.45s; }
.hero-anim:nth-child(5) { animation-delay: 0.6s; }

.hero-img-anim {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeRight 1s ease 0.3s forwards;
}

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

@keyframes fadeRight {
    to { opacity: 1; transform: translateX(0); }
}

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

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

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

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }

/* Navbar Scroll State */
.nav-scrolled {
    background: rgba(240, 237, 229, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-scrolled .nav-link {
    color: #1B4332 !important;
}

.nav-scrolled #nav-brand {
    color: #1B4332 !important;
}

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

#bar1.open {
    transform: translateY(3px) rotate(45deg);
}

#bar2.open {
    opacity: 0;
}

#bar3.open {
    transform: translateY(-3px) rotate(-45deg);
}

/* Smooth image loading */
img {
    image-rendering: auto;
}

/* Selection color */
::selection {
    background: #1B4332;
    color: #F0EDE5;
}
