/* ===== Custom Styles for Bellanova Salon ===== */

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

/* Base styles */
body {
    font-family: 'Nunito', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

.nav-link {
    color: rgba(10, 22, 40, 0.7);
}

.nav-link:hover {
    color: #d4a843;
}

#navbar.scrolled .nav-link {
    color: rgba(10, 22, 40, 0.7);
}

#navbar.scrolled .nav-link:hover {
    color: #d4a843;
}

#nav-logo-text {
    color: #0a1628;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* ===== Float Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #b3c2df;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8da4cf;
}

/* ===== Selection ===== */
::selection {
    background: #d4a843;
    color: #0a1628;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
}

/* ===== Form Focus States ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ===== Button Hover Effects ===== */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ===== Image Hover ===== */
.group:hover img,
.group img {
    transition: transform 0.5s ease;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
    #hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    #hero h1 br {
        display: none;
    }
    .font-display {
        font-family: 'Playfair Display', Georgia, serif;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #hero h1 {
        font-size: 3.5rem;
    }
}

/* ===== Subtle pattern overlay for sections ===== */
section::before {
    content: '';
    pointer-events: none;
}
