/* --- CSS Variables & Resets --- */
:root {
    --primary-color: #d4af37; /* Metallic Gold */
    --secondary-color: #b8860b; /* Dark Goldenrod */
    --accent-color: #ffd700; /* Bright Gold */
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f7e08a 50%, #b8860b 100%);
    --dark-color: #0c0c0c; /* Midnight Black */
    --light-color: #ffffff;
    --bg-color: #121212; /* Deep Charcoal */
    --card-bg: #1e1e1e; /* Card Charcoal */
    --text-color: #f0f0f0;
    --text-light: #cccccc;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.3px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-center;
}

.mt-5 {
    margin-top: 3rem;
}

/* --- Typography --- */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-heading);
    color: var(--light-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.separator {
    height: 3px;
    width: 60px;
    background: var(--gold-gradient);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--dark-color);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--light-color);
    color: var(--dark-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--gold-gradient);
    color: var(--dark-color);
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-nav {
    background: var(--gold-gradient);
    color: var(--dark-color);
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.98); /* Changed to dark for logo integration */
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .hamburger i {
    color: var(--light-color); /* Changed to light for dark navbar */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    transition: var(--transition);
    opacity: 0.9; /* Increased for a solid brand presence */
    filter: brightness(1.1);
}

.navbar.scrolled .logo-img {
    height: 60px;
    opacity: 1; /* Fully solid when scrolled */
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
    line-height: 1;
}

.logo-sub {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('images/salon-bg.png') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 12, 12, 0.5) 0%, rgba(12, 12, 12, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gold-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-tagline span {
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 4px;
    text-transform: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Info Banner --- */
.info-banner {
    background-color: #1a1a1a;
    color: var(--light-color);
    padding: 30px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.info-item i {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-item p {
    font-size: 0.9rem;
    font-weight: 300;
}

/* --- Services Section --- */
.services-section {
    padding: 7rem 0;
    background-color: var(--bg-color);
}

.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 4rem;
}

.filter-btn {
    background: #1e1e1e;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--light-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn:hover {
    background: var(--gold-gradient);
    color: var(--dark-color);
    border-color: transparent;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gold-gradient);
    color: var(--dark-color);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.filter-btn i {
    font-size: 1rem;
    color: var(--primary-color);
}

.filter-btn:hover i, .filter-btn.active i {
    color: var(--dark-color);
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

#services-container {
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .services-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

.services-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    align-items: start;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-category {
    font-size: 1.6rem;
    color: var(--light-color);
    margin: 0;
}



.service-image-container {
    width: calc(100% + 70px); /* Extend to edges of padded card */
    margin: -35px -35px 25px -35px;
    height: 180px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.4);
    position: relative;
}

.service-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.4), transparent);
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1; /* Pushes the button to the bottom */
}

.service-card .btn {
    margin-top: 30px; /* Generous gap from the last service item */
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-name {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.service-price {
    font-weight: 600;
    color: var(--secondary-color);
    font-variant-numeric: tabular-nums;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 7rem 0;
    background-color: var(--dark-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(12, 12, 12, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay span {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

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

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 7rem 0;
    background-color: var(--bg-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    font-family: serif;
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.review {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.expert-portrait-inline {
    margin-bottom: 2rem;
    max-width: 180px;
}

.expert-portrait-inline img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.expert-portrait-inline img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.expert-cta {
    margin-top: 2.5rem;
}

/* --- About Expert Section --- */
.about-expert-section {
    padding: 7rem 0;
    background-color: var(--bg-color);
}

.about-expert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-left {
    text-align: left;
}

.expert-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expert-title {
    color: var(--light-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.expert-bio {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.mt-3 {
    margin-top: 1.5rem;
}

.about-expert-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.expert-img-side {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .about-expert-grid {
        grid-template-columns: 1fr;
    }
    
    .about-expert-images {
        margin-top: 3rem;
    }
}

/* --- Rate Us Section --- */
.rate-us-section {
    padding: 7rem 0;
    background-color: var(--dark-color);
}

.rating-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-soft);
}

.stars-interactive {
    font-size: 2.5rem;
    color: #ccc;
    cursor: pointer;
    margin-bottom: 1rem;
    display: inline-flex;
    gap: 10px;
}

.stars-interactive i {
    transition: color 0.2s;
}

.stars-interactive i:hover,
.stars-interactive i.hovered,
.stars-interactive i.active {
    color: var(--accent-color);
}

.rating-feedback-text {
    font-size: 1.1rem;
    color: var(--text-light);
    min-height: 25px;
    margin-top: 10px;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-logo {
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-tagline {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-col i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #111;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* --- Floating Social Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.floating-whatsapp, .floating-instagram, .floating-phone {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.floating-whatsapp {
    background-color: #25d366;
    animation: pulse 2s infinite;
}

.floating-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.floating-phone {
    background: var(--gold-gradient);
    color: var(--dark-color);
}

.floating-whatsapp:hover, .floating-instagram:hover, .floating-phone:hover {
    transform: scale(1.1);
}

/* --- Location Section --- */
.location-section {
    padding: 7rem 0;
    background-color: var(--bg-color);
}

.location-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

@media (max-width: 991px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 450px;
    box-shadow: var(--shadow-soft);
}

.location-info {
    display: flex;
}

.info-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 991px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        border-top: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links a {
        color: var(--light-color);
        padding: 15px 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .hamburger {
        display: block;
        color: var(--light-color);
    }
    
    .navbar .btn-nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    .hero h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}
