/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric animations for hero */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #d4a843;
    top: -80px;
    left: 10%;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 200px;
    height: 200px;
    background: #56a33e;
    top: 40%;
    left: 5%;
    animation: float-medium 14s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 120px;
    height: 120px;
    background: #d4a843;
    bottom: 15%;
    left: 25%;
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    opacity: 0.08;
}

.geo-rect--1 {
    width: 100px;
    height: 100px;
    background: #d4a843;
    top: 20%;
    right: 28%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.geo-rect--2 {
    width: 60px;
    height: 60px;
    background: #56a33e;
    bottom: 25%;
    right: 35%;
    transform: rotate(20deg);
    animation: spin-slow 18s linear infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(212, 168, 67, 0.1);
    top: 30%;
    right: 15%;
    animation: float-medium 16s ease-in-out infinite;
}

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

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

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

/* Scroll reveal animations (below-the-fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(253, 252, 250, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(31, 78, 20, 0.1);
}

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

.navbar-scrolled .nav-link:hover {
    color: #378022 !important;
}

.navbar-scrolled .logo-text {
    color: #1f4e14 !important;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* Button hover effects */
a[href="#menu"]:hover,
a[href="#visit"]:hover {
    transform: translateY(-1px);
}

/* Image hover zoom */
img {
    display: block;
}

/* Selection color */
::selection {
    background: #d4a843;
    color: #1f4e14;
}
