/* Hair by LaDonna - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary: #8B6BA8;
    --primary-light: #A388BD;
    --primary-dark: #6D4F8D;
    --accent: #D4AF37;
    --accent-light: #E8C547;

    --cream: #FAF7F2;
    --ivory: #FFFFF0;
    --warm-gray: #8B8B83;
    --charcoal: #3D3D3D;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(139, 107, 168, 0.1);
    --shadow-md: 0 10px 40px rgba(139, 107, 168, 0.15);
    --shadow-lg: 0 20px 60px rgba(139, 107, 168, 0.2);
    --shadow-accent: 0 10px 40px rgba(212, 175, 55, 0.25);

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background: var(--cream);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 62px; }
h2 { font-size: 42px; }
h3 { font-size: 26px; }
h4 { font-size: 20px; }

.accent {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 15px;
}

/* ===== Section Styling ===== */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(139, 107, 168, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--charcoal);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--warm-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary);
    padding: 10px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--white);
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 8px;
}

.top-bar-right a {
    color: var(--white);
    font-weight: 500;
}

.top-bar-right a:hover {
    color: var(--accent);
}

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 32px;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-primary);
    font-size: 24px;
    color: var(--charcoal);
    font-weight: 600;
    line-height: 1;
}

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

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
    position: relative;
}

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

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-cta:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?w=1920') center/cover;
    opacity: 0.12;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 247, 242, 0.95) 0%, rgba(250, 247, 242, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(139, 107, 168, 0.1);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

.hero h1 {
    margin-bottom: 25px;
    color: var(--charcoal);
}

.hero p {
    font-size: 18px;
    color: var(--warm-gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 107, 168, 0.2);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warm-gray);
    font-size: 14px;
}

.hero-stat i {
    color: var(--primary);
    font-size: 18px;
}

.hero-stat strong {
    color: var(--charcoal);
}

/* ===== Services Preview ===== */
.services-preview {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--cream);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-card.featured {
    background: linear-gradient(135deg, rgba(139, 107, 168, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary);
    border: 2px solid rgba(139, 107, 168, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    border-color: var(--primary);
    background: var(--gradient-primary);
    color: var(--white);
}

.service-card h3 {
    color: var(--charcoal);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--warm-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card .price {
    display: inline-block;
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    border: 1px solid var(--primary);
}

/* ===== Why Section ===== */
.why-section {
    padding: var(--section-padding);
    background: var(--cream);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content .intro {
    font-size: 18px;
    color: var(--warm-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.why-features {
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid rgba(139, 107, 168, 0.2);
}

.feature-text h4 {
    color: var(--charcoal);
    margin-bottom: 5px;
    font-family: var(--font-secondary);
    font-weight: 600;
}

.feature-text p {
    color: var(--warm-gray);
    font-size: 14px;
}

.why-image {
    position: relative;
}

.why-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.badge-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 42px;
    line-height: 1;
    font-weight: 600;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: var(--section-padding);
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--cream);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.testimonial-card .stars {
    margin-bottom: 20px;
}

.testimonial-card .stars i {
    color: var(--accent);
    font-size: 16px;
}

.testimonial-card p {
    color: var(--charcoal);
    font-size: 15px;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-card .author {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    padding: 80px 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-light);
}

.footer-logo .logo-main {
    font-size: 22px;
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--primary-light);
}

.footer-col > p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(139, 107, 168, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-light);
    border: 1px solid rgba(139, 107, 168, 0.3);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--primary-light);
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary-light);
    font-size: 14px;
    margin-top: 4px;
}

.contact-list span,
.contact-list a {
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(139, 107, 168, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    margin-bottom: 5px;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 18px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }

    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .hero {
        min-height: 75vh;
        padding: 80px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .experience-badge {
        bottom: -20px;
        right: 20px;
        padding: 20px 25px;
    }

    .logo-text {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 32px; }

    .btn-lg {
        padding: 15px 30px;
        font-size: 14px;
    }
}
