/* ============================================
   Linzy Nail and Spa — Styles
   Classic & Elegant | Forest Green + Off-White
   ============================================ */

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

:root {
    --forest-dark: #1a3a2a;
    --forest: #2d5a3f;
    --forest-light: #3d7a56;
    --forest-muted: #4a8b64;
    --off-white: #f5f2eb;
    --cream: #ede8dd;
    --warm-gray: #6b6560;
    --dark-text: #1a1a18;
    --light-text: #f5f2eb;
    --gold: #c9a96e;
    --gold-light: #d4b87a;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--off-white);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, .logo-main {
    font-family: 'Playfair Display', serif;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--forest);
    color: var(--light-text);
    border: 2px solid var(--forest);
}

.btn-primary:hover {
    background-color: var(--forest-dark);
    border-color: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 58, 42, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--forest);
    color: var(--light-text);
    transform: translateY(-2px);
}

/* --- Section Labels --- */
.section-label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 48px;
    line-height: 1.2;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(245, 242, 235, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 90, 63, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

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

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--forest-dark);
}

.logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--forest);
    position: relative;
    padding-bottom: 4px;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--forest-dark);
    transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://images.pexels.com/photos/7755481/pexels-photo-7755481.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-color: var(--forest-dark);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 42, 0.88) 0%,
        rgba(45, 90, 63, 0.82) 50%,
        rgba(26, 58, 42, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.15;
    margin-bottom: 24px;
}

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

.hero-subtext {
    font-size: 1.1rem;
    color: rgba(245, 242, 235, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-cta .btn-secondary {
    color: var(--off-white);
    border-color: var(--off-white);
}

.hero-cta .btn-secondary:hover {
    background-color: var(--off-white);
    color: var(--forest-dark);
}

/* --- Intro Section --- */
.intro-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

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

.intro-text .section-title {
    margin-bottom: 24px;
}

.intro-text p {
    color: var(--warm-gray);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* --- Services Section --- */
.services-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.services-section .section-title {
    text-align: center;
}

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

.service-card {
    background-color: var(--off-white);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 58, 42, 0.12);
    border-color: rgba(45, 90, 63, 0.15);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--forest);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

.gallery-section .section-title {
    text-align: center;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

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

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--forest-dark);
}

.testimonials-section .section-title {
    color: var(--off-white);
    text-align: center;
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
}

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

.testimonial-quote svg {
    width: 40px;
    height: 40px;
    opacity: 0.7;
}

.testimonial-card p {
    color: rgba(245, 242, 235, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* --- CTA Section --- */
.cta-section {
    padding: 80px 0;
    background-color: var(--cream);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--warm-gray);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

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

.contact-info .section-title {
    margin-bottom: 32px;
}

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

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

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--forest-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--forest);
    transition: color 0.3s ease;
}

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

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--forest-dark);
    color: var(--off-white);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-main {
    color: var(--off-white);
}

.footer-brand .logo-sub {
    color: rgba(245, 242, 235, 0.6);
}

.footer-brand p {
    color: rgba(245, 242, 235, 0.6);
    font-size: 0.95rem;
    margin-top: 16px;
    line-height: 1.7;
}

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

.footer-links a {
    color: rgba(245, 242, 235, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

.footer-contact p {
    color: rgba(245, 242, 235, 0.6);
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(245, 242, 235, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(245, 242, 235, 0.1);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(245, 242, 235, 0.4);
    font-size: 0.8rem;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background-color: var(--off-white);
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
        gap: 24px;
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(45, 90, 63, 0.1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
