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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #e8d5c4;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

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

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(232, 213, 196, 0.05);
}

/* ===== Mobile Menu ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #c4613a, #c9a84c);
    transition: width 0.3s ease;
}

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

.mobile-link:hover {
    color: #c9a84c !important;
}

/* ===== Custom Select ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8d5c4' 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;
}

select option {
    background: #141414;
    color: #e8d5c4;
}

/* ===== Input Focus States ===== */
input:focus, textarea:focus, select:focus {
    border-color: rgba(201, 168, 76, 0.5) !important;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.5) !important;
}

/* ===== Subtle Gold Shimmer on Cards ===== */
.bg-lz-card {
    position: relative;
    overflow: hidden;
}

.bg-lz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.03), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.bg-lz-card:hover::before {
    left: 100%;
}

/* ===== Image Hover Zoom ===== */
img {
    max-width: 100%;
    height: auto;
}

/* ===== Smooth anchor offset for fixed nav ===== */
section[id] {
    scroll-margin-top: 80px;
}

/* ===== Loading state for form button ===== */
button:active {
    transform: scale(0.98);
}

/* ===== Decorative divider ===== */
.divider-gold {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
}

/* ===== Print styles ===== */
@media print {
    #navbar, #mobileMenu, button, form { display: none; }
    body { background: white; color: black; }
}
