/* ============================================
   Silvana Souto Beauty Salon — Stylesheet
   Classic & Elegant | Teal + Slate Grey
   ============================================
*/

/* ---------- CSS Custom Properties ---------- */
:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --cream: #faf9f6;
    --warm-white: #fefcf8;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-height: 80px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

/* ---------- Utilities ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: var(--teal-600);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--teal-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--slate-300);
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-400);
    padding: 10px 24px;
    border: 1px solid var(--teal-600);
    border-radius: 4px;
    transition: all var(--transition);
}

.nav-cta:hover {
    background-color: var(--teal-600);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 47, 46, 0.6) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(4, 47, 46, 0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--teal-300);
}

.hero-subheadline {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--slate-300);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--teal-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Services ---------- */
.services {
    background-color: var(--cream);
}

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

.service-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--teal-200);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- About ---------- */
.about {
    background-color: var(--slate-900);
    color: #ffffff;
}

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

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content .section-tag {
    color: var(--teal-400);
}

.about-content .section-title {
    color: #ffffff;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--slate-400);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-700);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--teal-400);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--slate-400);
    letter-spacing: 0.05em;
}

/* ---------- Gallery ---------- */
.gallery {
    background-color: var(--warm-white);
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--slate-200);
    transition: all var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

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

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

/* ---------- Testimonials ---------- */
.testimonials {
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--slate-900) 100%);
    color: #ffffff;
}

.testimonials .section-tag {
    color: var(--teal-400);
}

.testimonials .section-title {
    color: #ffffff;
}

.testimonials .section-desc {
    color: var(--slate-400);
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--teal-600);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--teal-400);
    margin-bottom: 20px;
}

.testimonial-quote svg {
    width: 32px;
    height: 32px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--slate-200);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal-400);
    letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
.contact {
    background-color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag {
    color: var(--teal-600);
}

.contact-info .section-title {
    color: var(--slate-900);
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

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

.contact-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 1rem;
    color: var(--slate-700);
}

.contact-item a {
    color: var(--teal-700);
}

.contact-item a:hover {
    color: var(--teal-600);
    text-decoration: underline;
}

/* ---------- Form ---------- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--slate-100);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-600);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 6px;
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.footer-sub {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--slate-500);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: var(--teal-400);
}

.footer-contact a:hover {
    color: var(--teal-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-600);
}

/* ---------- Mobile Menu ---------- */
@media (max-width: 1024px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--slate-900);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        color: var(--slate-300);
    }

    .nav-cta {
        font-size: 0.9rem;
        padding: 14px 28px;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 72px 0;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-stats {
        gap: 32px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .hero-scroll {
        display: none;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-line {
        animation: none;
        opacity: 0.6;
    }

    .service-card,
    .testimonial-card,
    .gallery-item {
        transition: none;
    }

    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none;
    }
}
