/* ===== Variables ===== */
:root {
    --primary:       #1a7a6e;
    --primary-dark:  #145f55;
    --accent:        #7ec8b0;
    --accent-light:  #e8f8f4;
    --text:          #1a1a2e;
    --text-light:    #5a5a72;
    --bg:            #ffffff;
    --bg-alt:        #f0faf8;
    --border:        #d4ede8;
    --shadow:        0 4px 20px rgba(26, 122, 110, 0.1);
    --shadow-lg:     0 8px 40px rgba(26, 122, 110, 0.15);
    --radius:        12px;
    --radius-lg:     20px;
    --transition:    0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--text);
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; color: var(--text-light); }
p:last-child { margin-bottom: 0; }

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header p {
    max-width: 600px;
    margin: 0.75rem auto 0;
    font-size: 1.1rem;
}
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}
.btn-white-outline {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
    background: transparent;
}
.btn-white-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}
.logo-icon svg { width: 32px; height: 32px; flex-shrink: 0; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.site-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition);
}
.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition);
}
.site-nav a:hover,
.site-nav a.active { color: var(--primary); }
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,122,110,0.78) 0%, rgba(20,40,40,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 680px;
    padding: 4rem 0;
}
.hero-content .section-label { color: var(--accent); }
.hero-content h1 { color: #fff; margin: 0.5rem 0 1.25rem; }
.hero-content > p {
    color: rgba(255,255,255,0.88);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== About ===== */
.about { background: var(--bg-alt); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-label { text-align: left; }
.about-text h2 { margin-bottom: 1rem; }
.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text);
}
.feature-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.service-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.service-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.service-card h3 { margin-bottom: 0.75rem; }

/* ===== Gallery Preview ===== */
.gallery-preview { background: var(--bg-alt); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,122,110,0.5);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item-overlay svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-cta { text-align: center; }

/* ===== Full Gallery ===== */
.gallery-page-section { background: var(--bg-alt); }
.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gallery-full-grid .gallery-item { aspect-ratio: 4/3; }

/* ===== Before & After ===== */
.transformations-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.transformation-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.transformation-image { aspect-ratio: 4/3; }
.transformation-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    background: rgba(26,26,46,0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}
.transformation-tag-after { background: var(--primary); }

/* ===== Testimonials ===== */
.testimonials { background: var(--primary); }
.testimonials .section-header h2,
.testimonials .section-label { color: #fff; }
.testimonials .section-header p { color: rgba(255,255,255,0.75); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.quote-mark {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, serif;
    margin-bottom: 0.25rem;
    display: block;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}
.author-name  { font-weight: 700; font-size: 0.95rem; color: #fff; }
.author-local { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-light) 0%, #fff 100%);
    text-align: center;
    padding: 5rem 0;
}
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner > .container > p { font-size: 1.1rem; margin-bottom: 2rem; }

/* ===== Page Hero ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0 4rem;
    text-align: center;
    color: #fff;
}
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 0; }

/* ===== Contact ===== */
.contact-section { background: var(--bg-alt); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}
.contact-info {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: sticky;
    top: 5rem;
}
.contact-info h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-detail-label {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}
.contact-detail-value { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--text);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition);
    outline: none;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-message.success {
    background: var(--accent-light);
    color: var(--primary-dark);
    border: 1px solid var(--accent);
}
.form-message.error {
    background: #fdf2f2;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.lightbox.active { display: flex; }
.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: var(--radius);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* ===== Footer ===== */
.site-footer {
    background: var(--text);
    color: rgba(255,255,255,0.65);
    padding: 3.5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; }
.footer-col h4 {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-contact-item { font-size: 0.9rem; margin-bottom: 0.35rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}
.footer-bottom p { color: rgba(255,255,255,0.45); margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .about-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-image       { order: -1; max-width: 500px; }
    .services-grid     { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid      { grid-template-columns: 1fr; }
    .contact-info      { position: static; }
    .footer-grid       { grid-template-columns: 1fr 1fr; }
    .footer-brand      { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    section          { padding: 3.5rem 0; }
    .hero            { min-height: 85vh; }
    .hero-actions    { flex-direction: column; align-items: flex-start; }
    .services-grid   { grid-template-columns: 1fr; }
    .gallery-grid    { grid-template-columns: 1fr 1fr; }
    .gallery-full-grid { grid-template-columns: 1fr 1fr; }
    .form-row        { grid-template-columns: 1fr; }
    .footer-grid     { grid-template-columns: 1fr; }
    .nav-toggle      { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 0.5rem 0; }
}
