/* 
   Luxe Beauty Studio - Custom CSS 
   Theme: Pink, Gold, White, Black
*/

/* --- Variables --- */
:root {
    --primary-gold: #d4af37;
    --primary-gold-hover: #b8962c;
    --soft-gold: rgba(212, 175, 55, 0.1);
    --primary-pink: #e83e8c;
    --soft-pink: #fdf2f6;
    --dark-bg: #111111;
    --dark-surface: #1a1a1a;
    --text-muted: #6c757d;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
}

/* --- Base Styles --- */
body {
    font-family: var(--font-body);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-playfair {
    font-family: var(--font-heading);
}

.text-gold { color: var(--primary-gold) !important; }
.text-pink { color: var(--primary-pink) !important; }
.bg-gold { background-color: var(--primary-gold) !important; }
.bg-soft-gold { background-color: var(--soft-gold) !important; }
.bg-soft-pink { background-color: var(--soft-pink) !important; }

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.letter-spacing-1 { letter-spacing: 1px; }
.tracking-wide { letter-spacing: 2px; }

/* Transitions */
.transition-all { transition: all var(--transition-speed) ease; }
.transition-transform { transition: transform 0.5s ease; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-gold-hover);
    border-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 500;
}

.btn-outline-dark:hover {
    background-color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
}

.btn-outline-light:hover {
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.4s ease;
}

.navbar.scrolled .navbar-brand {
    color: var(--dark-bg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 10px;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.navbar.scrolled .nav-link {
    color: #333 !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: width var(--transition-speed) ease;
}

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

.navbar-toggler {
    border: none;
    color: white;
}

.navbar.scrolled .navbar-toggler {
    color: var(--dark-bg);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Nav Adjustments */
@media (max-width: 991.98px) {
    .navbar {
        background-color: rgba(26, 26, 26, 0.98) !important;
        padding: 15px 0;
    }
    .navbar.scrolled {
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
    .navbar-collapse {
        padding: 20px 0;
    }
    .nav-link {
        color: rgba(255,255,255,0.9) !important;
        padding: 10px 0;
    }
    .navbar.scrolled .nav-link {
        color: #333 !important;
    }
    .nav-link::after {
        display: none;
    }
    .btn-book {
        margin-top: 15px;
        display: inline-block;
    }
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 600px;
    background: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&q=80&w=1920') center/cover no-repeat;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* --- Features Ribbon --- */
.feature-ribbon {
    margin-top: -5px;
}

.feature-item {
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* --- About Section --- */
.about-img {
    transition: transform 0.5s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

.experience-badge {
    z-index: 2;
    border: 2px solid var(--soft-pink);
}

.team-card {
    transition: all 0.3s ease;
}

.team-card img {
    filter: grayscale(20%);
}

.team-card:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* --- Services Section --- */
.service-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.service-img-wrap {
    height: 240px;
}

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

.service-card:hover img {
    transform: scale(1.1);
}

.price-tag {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

/* --- Pricing Section --- */
.pricing-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.popular-plan {
    border: 2px solid var(--primary-gold) !important;
}

@media (min-width: 992px) {
    .transform-scale {
        transform: scale(1.05);
        z-index: 2;
    }
    .transform-scale:hover {
        transform: scale(1.05) translateY(-10px);
    }
}

.pricing-list li {
    font-size: 1.05rem;
}

/* --- Gallery Section --- */
.cursor-pointer {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-overlay {
    background-color: rgba(212, 175, 55, 0.8);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.gallery-overlay i {
    transform: scale(0);
    transition: transform 0.4s ease;
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Custom Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-gold);
    text-decoration: none;
    cursor: pointer;
}

/* --- Booking & Testimonials --- */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.8rem 1rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem var(--soft-gold);
    border-color: var(--primary-gold);
    background-color: #fff !important;
}

.testimonial-bg {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators .active {
    background-color: var(--primary-gold);
    transform: scale(1.2);
}

/* --- Contact Section --- */
.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

/* --- Footer --- */
.hover-gold:hover {
    color: var(--primary-gold) !important;
}

.social-icon:hover {
    background-color: var(--primary-gold) !important;
    transform: translateY(-3px);
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary-gold);
    transition: margin-right 0.3s ease;
}

.footer-links a:hover::before {
    margin-right: 12px;
}

/* --- Professional Booking UI --- */
.btn-outline-gold {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    background-color: transparent;
}
.btn-check:checked + .btn-outline-gold {
    background-color: var(--primary-gold);
    color: #fff;
    border-color: var(--primary-gold);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}
.btn-outline-gold:hover {
    background-color: var(--primary-gold);
    color: #fff;
}

.date-card {
    min-width: 80px;
    cursor: pointer;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}
.date-card.active {
    border-color: var(--primary-gold);
    background-color: var(--soft-gold);
}
.date-card:hover {
    border-color: var(--primary-gold);
}
.date-selector::-webkit-scrollbar {
    height: 6px;
}
.date-selector::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.grid-time {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 576px) {
    .grid-time {
        grid-template-columns: repeat(2, 1fr);
    }
}
.btn-check:checked + .btn-outline-dark {
    background-color: var(--dark-bg);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.custom-input {
    border-radius: 10px;
}
.custom-input:focus {
    background-color: #fff !important;
    box-shadow: 0 0 0 2px var(--soft-gold) !important;
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3) !important;
}
