/* ========================================
   Sasha Salon & Spa - Elegant Magazine Layout
   ======================================== */

/* CSS Variables */
:root {
    --primary: #5a7a64;
    --primary-dark: #3d5645;
    --accent: #c4a265;
    --accent-light: #dcc996;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #7a7a7a;
    --bg-light: #fafafa;
    --white: #ffffff;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Split Hero Section
   ======================================== */
.split-hero {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.split-hero-image {
    flex: 1;
    overflow: hidden;
}

.split-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-hero-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    background: var(--bg-light);
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.hero-contact {
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--accent-light);
    border-bottom: 1px solid var(--accent-light);
}

.hero-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hero-hours p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.hero-hours strong {
    color: var(--text-dark);
    font-weight: 600;
}

.hero-promo {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--primary-dark);
    color: var(--white);
    border-radius: 4px;
}

.hero-promo p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--white);
}

.hero-promo strong {
    color: var(--accent-light);
}

/* ========================================
   Services Visual Grid Section
   ======================================== */
.services-visual-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.service-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(58, 90, 64, 0.7), rgba(61, 86, 69, 0.95));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-overlay h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-align: center;
}

.price-range {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 600;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    padding: 6rem 0;
    background: var(--primary-dark);
}

.gallery-section .section-title {
    color: var(--white);
}

.gallery-section .section-subtitle {
    color: var(--accent-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* ========================================
   Detailed Services Section
   ======================================== */
.detailed-services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.service-detail {
    margin-bottom: 4rem;
}

.service-detail-content h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.service-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 800px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.service-name {
    font-weight: 400;
    color: var(--text-dark);
    white-space: nowrap;
}

.service-dots {
    flex: 1;
    border-bottom: 1px dotted var(--text-light);
    min-width: 20px;
    height: 1px;
    align-self: flex-end;
    margin-bottom: 0.4rem;
}

.service-price {
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.service-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.service-column h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-light);
}

/* Service List with Photo */
.service-list-with-photo {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.service-list-with-photo .service-detail-content {
    flex: 1.5;
}

.service-photo {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Team Section
   ======================================== */
.team-section {
    padding: 6rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    border-top: 3px solid var(--accent);
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.team-specialty {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-card p:last-child {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.featured-testimonial {
    max-width: 900px;
    margin: 3rem auto 4rem;
    text-align: center;
}

.featured-testimonial blockquote {
    border: none;
    padding: 0;
}

.featured-testimonial p {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--primary-dark);
    font-style: italic;
    position: relative;
}

.featured-testimonial p::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent-light);
    position: absolute;
    top: -1rem;
    left: -2rem;
    font-family: Georgia, serif;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-left: 3px solid var(--accent);
    border-radius: 2px;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
    font-style: italic;
    margin: 0;
}

/* ========================================
   Contact & Location Section
   ======================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.contact-text {
    flex: 1;
}

.contact-text h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.location-intro {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-block h3 {
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-block p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-top: 2rem;
}

.contact-photo {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablets and below */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .split-hero {
        flex-direction: column;
        min-height: auto;
    }

    .split-hero-image {
        height: 400px;
    }

    .split-hero-text {
        padding: 3rem 2rem;
    }

    .service-visual-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-list-with-photo {
        flex-direction: column;
        gap: 2rem;
    }

    .service-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .featured-testimonial p {
        font-size: 1.4rem;
    }

    .featured-testimonial p::before {
        font-size: 3rem;
        left: -1rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile phones */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .services-visual-section,
    .detailed-services,
    .testimonials-section,
    .contact-section,
    .gallery-section,
    .team-section {
        padding: 4rem 0;
    }

    .service-visual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        aspect-ratio: 3/4;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .split-hero-text {
        padding: 2rem 1.5rem;
    }

    .split-hero-image {
        height: 300px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-testimonial p {
        font-size: 1.2rem;
    }

    .featured-testimonial p::before {
        font-size: 2.5rem;
        left: -0.5rem;
        top: -0.5rem;
    }

    .service-columns {
        gap: 2rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .service-name {
        white-space: normal;
    }
}