/* ========================
   GLOBAL THEME SETUP
   ======================== */

:root {
    /* Nail Salon Color Palette */
    --primary-color: #D4A373;    /* Soft Nude/Gold */
    --secondary-color: #FAEJEF;  /* Pale Rose Pink (Backgrounds) */
    --accent-color: #3D3D3D;     /* Dark Charcoal (Text) */
    --white: #FFFFFF;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevents horizontal scroll issues */
}

/* Headings use the Luxury Serif Font */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Bootstrap Button Override */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: 50px; /* Chic pill shape */
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #bfa89e; /* Darker Nude */
    border-color: #bfa89e;
    transform: translateY(-2px);
}

/* Utility: Elegant Spacing */
section {
    position: relative;
}


/* ========================
   NAVBAR STYLES
   ======================== */

.navbar {
    transition: all 0.3s ease;
}

/* Brand Styling */
.navbar-brand {
    letter-spacing: 0.5px;
}

/* Link Styling */
.nav-link {
    color: var(--accent-color) !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

/* Hover & Active State */
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Underline Effect on Hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 50%; /* Line grows to 50% width */
}

/* Mobile Toggler Focus Removal */
.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Adjustments */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    
    .nav-link::after {
        display: none; /* Remove underline effect on mobile */
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
    }
}
/* ========================
   HERO SECTION STYLES
   ======================== */

.hero-section {
    position: relative;
    height: 80vh; /* Changed from 100vh to 80vh */
    min-height: 500px; /* Reduced min-height slightly to match */
    overflow: hidden;
}

/* Everything else remains the same, but repeated here for clarity */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1604654894610-df63bc536371?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    z-index: 0;
    animation: zoomSlow 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.text-primary-custom {
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-title {
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ls-2 {
    letter-spacing: 3px;
    font-size: 0.8rem;
}

@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@media (max-width: 576px) {
    .hero-section {
        height: 85vh; /* Optional: Keep it slightly taller on mobile if content needs room */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .btn-lg {
        padding: 12px 25px !important;
        font-size: 0.95rem;
    }
}
/* ========================
   SERVICES SECTION STYLES
   ======================== */

.font-serif {
    font-family: 'Playfair Display', serif;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px; /* Softer corners */
    background: #fff;
}

.service-card:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 15px 30px rgba(212, 163, 115, 0.2) !important; /* Rose gold shadow */
}

/* Image Hover Zoom Effect */
.img-zoom-container {
    overflow: hidden;
    height: 250px;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

/* Read More Button */
.read-more-btn {
    transition: all 0.2s ease;
}

.read-more-btn:hover {
    color: var(--accent-color) !important;
    padding-left: 5px !important;
}
/* ========================
   ABOUT SECTION STYLES
   ======================== */

/* Frame behind the image */
.about-frame {
    width: 100%;
    height: 100%;
    top: 20px;
    left: 20px; /* Moves it slightly to the right/bottom */
    border-width: 2px !important;
}

/* Floating Experience Badge */
.experience-badge {
    bottom: -20px;
    left: -20px;
    min-width: 140px;
    border: 1px solid rgba(0,0,0,0.05);
    animation: floatBadge 3s ease-in-out infinite alternate;
}

/* Font Consistency */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.ls-1 {
    letter-spacing: 1px;
    font-size: 0.75rem;
}

/* Badge Animation */
@keyframes floatBadge {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .about-frame {
        top: 15px;
        left: 15px;
    }
    
    .experience-badge {
        bottom: -10px;
        left: 0;
    }
}

/* ========================
   GALLERY SECTION STYLES
   ======================== */

.gallery-item {
    height: 300px; /* Fixed height for uniform grid */
    cursor: pointer;
}

.gallery-img {
    transition: transform 0.5s ease;
}

/* Hover Effect: Zoom Image + Show Overlay */
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 163, 115, 0.6); /* Rose Gold transparent overlay */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Close Button visibility */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    position: absolute;
    right: -20px;
    top: -20px;
    z-index: 1056;
}

/* ========================
   CONTACT SECTION STYLES
   ======================== */

.hover-accent:hover {
    color: var(--primary-color) !important;
    transition: color 0.3s ease;
}

/* Icon Styling */
.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color); /* Pale Pink Background */
    border-radius: 50%;
}

/* Form Input Styling */
.form-control, .form-select {
    border: 1px solid #eee;
    background-color: #fcfcfc;
    border-radius: 10px;
    padding: 1rem 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color); /* Rose Gold Border */
    box-shadow: 0 0 0 0.25rem rgba(212, 163, 115, 0.15); /* Soft Glow */
    background-color: #fff;
}

/* Floating Label Adjustment */
.form-floating > label {
    color: #999;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-color);
}

/* Map Container */
.map-container iframe {
    display: block; /* Removes extra space below inline elements */
    filter: grayscale(20%) contrast(1.1); /* Subtle artistic filter for map */
}

/* ========================
   FOOTER SECTION STYLES
   ======================== */

.bg-dark {
    background-color: #2b2b2b !important; /* Softer charcoal than pure black */
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer Links */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover, .hover-gold:hover {
    color: var(--primary-color) !important;
    padding-left: 5px; /* Subtle slide effect */
}

/* Form Input adjustments for Dark BG */
.footer-section .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
}

.footer-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-section .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}