/* Custom geometric background shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.geo-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196,101,58,0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}
.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212,188,120,0.12) 0%, transparent 70%);
    bottom: 10%;
    left: -50px;
}
.geo-rect {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(196,101,58,0.05);
    border-radius: 24px;
    top: 20%;
    left: 8%;
    transform: rotate(15deg);
    pointer-events: none;
}
.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 100px 60px;
    border-color: transparent transparent rgba(212,188,120,0.1) transparent;
    bottom: 15%;
    right: 5%;
    pointer-events: none;
}
.geo-dots {
    position: absolute;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(196,101,58,0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 30%;
    left: 5%;
    pointer-events: none;
}
.geo-dots-dim {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 2px, transparent 2px);
    background-size: 16px 16px;
    bottom: 10%;
    left: 10%;
    pointer-events: none;
}

/* Hero image floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: no-preference) {
    .floating {
        animation: float 4s ease-in-out infinite;
    }
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F3;
}
::-webkit-scrollbar-thumb {
    background: #D4BC78;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C4653A;
}

/* Selection color */
::selection {
    background: rgba(196,101,58,0.2);
    color: #1C1917;
}

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1;
    pointer-events: auto;
}
#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Navbar scrolled state */
nav.scrolled {
    background: rgba(253,249,243,0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(28,25,23,0.08);
}
nav.scrolled .menu-line {
    background: #1C1917;
}

/* Form select arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Button focus styles */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid #C4653A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile link animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* Menu button animation */
.menu-line {
    transition: all 0.3s ease;
}
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(4px, -4px);
}
