/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== SCROLLBAR HIDE ===== */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* ===== SELECT CUSTOM ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' 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 12px center;
    background-size: 18px;
    padding-right: 40px;
}

select option {
    background: #1f2937;
    color: #fff;
    padding: 8px;
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.1) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===== HEADER SCROLL EFFECT ===== */
#header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* ===== COUPON PULSE ===== */
#coupon-float {
    animation: float 3s ease-in-out infinite, couponGlow 2s ease-in-out infinite;
}

@keyframes couponGlow {
    0%, 100% { box-shadow: 0 10px 40px rgba(201, 169, 110, 0.2); }
    50% { box-shadow: 0 10px 50px rgba(201, 169, 110, 0.4); }
}

/* ===== FORM INPUT FOCUS ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, #7D8A6E, #A8B59A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CARD HOVER LIFT ===== */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== MOBILE MENU ANIMATION ===== */
#mobile-menu.open {
    max-height: 500px;
}

/* ===== RESPONSIVE FINE TUNING ===== */
@media (max-width: 640px) {
    #testimonial-track {
        scroll-snap-type: x mandatory;
    }
}

/* ===== LOADING / FADE IN ON SCROLL ===== */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BUTTON RIPPLE EFFECT ===== */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-ripple:active::after {
    opacity: 1;
}

/* ===== SMOOTH SECTION DIVIDERS ===== */
.section-divider {
    position: relative;
}
.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(125, 138, 110, 0.05), transparent);
    pointer-events: none;
}