/* KABEER GROOMING ACADEMY - Bespoke Classic Luxury Aesthetics */

:root {
    --cream: #FDFBF7;
    --ivory: #F4EFE6;
    --charcoal: #121212;
    --onyx: #1A1A1A;
    --champagne: #C5A880;
    --champagne-light: #E0CEB7;
    --gold: #D4AF37;
    --sand: #E8E2D9;
}

/* Smooth Scrolling & Base Body */
html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--champagne);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Text Selection */
::selection {
    background: var(--champagne);
    color: #ffffff;
}

/* Typography Helpers */
.font-serif-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Header Styling */
#header {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(232, 226, 217, 0.12);
    transition: all 0.4s ease;
}

#header.scrolled {
    background-color: rgba(18, 18, 18, 0.96);
    border-bottom: 1px solid rgba(197, 168, 128, 0.3);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Navigation Link Underline Effect */
.nav-link {
    position: relative;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    background-color: var(--champagne);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--champagne) !important;
}

/* Editorial Borders & Framing */
.border-thin {
    border: 1px solid var(--sand);
}

.border-champagne-subtle {
    border: 1px solid rgba(197, 168, 128, 0.3);
}

.editorial-frame {
    position: relative;
}

.editorial-frame::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--champagne);
    opacity: 0.4;
    pointer-events: none;
    transition: all 0.4s ease;
}

.editorial-frame:hover::before {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    opacity: 0.8;
}

/* Luxury Card Hover Micro-Interactions */
.luxury-card {
    background-color: #ffffff;
    border: 1px solid var(--sand);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-card:hover {
    border-color: var(--champagne);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(18, 18, 18, 0.06);
}

.luxury-card-dark {
    background-color: var(--onyx);
    border: 1px solid rgba(232, 226, 217, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-card-dark:hover {
    border-color: var(--champagne);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Image Zoom Effect */
.img-zoom-container {
    overflow: hidden;
    position: relative;
}

.img-zoom-container img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.06);
}

/* Gallery Item Lightbox Trigger Overlay */
.gallery-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-card .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 18, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card img {
    transition: transform 0.6s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* FAQ Accordion Styling */
.faq-item {
    border-bottom: 1px solid var(--sand);
    transition: background-color 0.3s ease;
}

.faq-button {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--champagne);
}

/* Lightbox Modal */
#lightbox-modal {
    transition: opacity 0.3s ease;
}

#lightbox-modal.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

#lightbox-modal:not(.hidden) {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* Buttons & CTAs */
.btn-primary-luxury {
    background-color: var(--champagne);
    color: #ffffff;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 1rem 2.25rem;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid var(--champagne);
    transition: all 0.35s ease;
    text-align: center;
}

.btn-primary-luxury:hover {
    background-color: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
}

.btn-secondary-luxury {
    background-color: transparent;
    color: var(--cream);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 1rem 2.25rem;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid rgba(253, 251, 247, 0.4);
    transition: all 0.35s ease;
    text-align: center;
}

.btn-secondary-luxury:hover {
    background-color: var(--cream);
    color: var(--charcoal);
    border-color: var(--cream);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--charcoal);
    font-family: 'Cinzel', serif;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid var(--charcoal);
    transition: all 0.35s ease;
    text-align: center;
}

.btn-outline-dark:hover {
    background-color: var(--charcoal);
    color: var(--cream);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    z-index: 90;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* Badges & Subtitles */
.gold-badge {
    color: var(--champagne);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
}

/* Section Dividers */
.gold-line {
    width: 60px;
    height: 1px;
    background-color: var(--champagne);
    margin: 1.25rem auto;
}

.gold-line-left {
    width: 60px;
    height: 1px;
    background-color: var(--champagne);
    margin: 1.25rem 0;
}

/* Form Styling */
.form-input-luxury {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--sand);
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--charcoal);
    transition: all 0.3s ease;
}

.form-input-luxury:focus {
    outline: none;
    border-color: var(--champagne);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

/* Mobile Menu Overlay Animation */
#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
