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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5eb;
}
::-webkit-scrollbar-thumb {
    background: #d4aa6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C0603A;
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 170, 110, 0.15);
}

#navbar.scrolled {
    background: rgba(253, 251, 247, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* ===== MOBILE MENU ===== */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#menuToggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuToggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
#menuToggle.active .menu-line:nth-child(3) {
    width: 5px;
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-link {
    display: block;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: 5%;
}

.geo-circle-2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(212, 170, 110, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: -50px;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(192, 96, 58, 0.06);
    border-radius: 50%;
    top: 35%;
    right: 38%;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(212, 170, 110, 0.12);
    border-radius: 16px;
    top: 22%;
    left: 8%;
    transform: rotate(15deg);
}

.geo-square-2 {
    width: 50px;
    height: 50px;
    background: rgba(192, 96, 58, 0.08);
    border-radius: 10px;
    bottom: 25%;
    right: 12%;
    transform: rotate(-10deg);
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(212, 170, 110, 0.1);
    top: 40%;
    right: 2%;
    transform: rotate(20deg);
}

.geo-dot-grid {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, rgba(192, 96, 58, 0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    bottom: 10%;
    left: 15%;
    border-radius: 8px;
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        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; }
}

/* Reduced motion: ensure content is always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== PRODUCT CARD HOVER ===== */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* ===== BUTTON FOCUS ===== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== MAP CONTAINER ===== */
iframe {
    filter: saturate(0.8) contrast(1.05);
    transition: filter 0.3s ease;
}
iframe:hover {
    filter: saturate(1) contrast(1);
}
