/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

/* =====================
   VARIABLES
   ===================== */
:root {
    --blue: #5B90D4;
    --blue-dark: #3D72B8;
    --peach: #F5A882;
    --peach-light: #FDD5C0;
    --cream: #FDF9F6;
    --white: #fff;
    --dark: #1C1C1C;
    --text: #333;
    --mid: #777;
    --border: #e8e2da;
    --nav-height: 72px;
    --section-pad: 100px;
    --container: 1200px;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* =====================
   LAYOUT
   ===================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: var(--section-pad) 0;
    scroll-margin-top: var(--nav-height);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark);
    margin-bottom: 56px;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
}

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

.btn-white:hover {
    background: var(--peach-light);
    color: var(--dark);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* =====================
   NAVIGATION
   ===================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: white;
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: white;
    transition: color 0.3s;
}

#navbar.scrolled .nav-brand {
    color: var(--dark);
}

.nav-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}

#navbar.scrolled .nav-logo-img {
    filter: none;
}

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

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

#navbar.scrolled .nav-links a {
    color: var(--text);
}

#navbar.scrolled .nav-links a:hover {
    color: var(--blue);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: background 0.3s;
}

#navbar.scrolled .hamburger span {
    background: var(--dark);
}

/* =====================
   HERO
   ===================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #7AAEE0 0%, var(--blue) 45%, #4A7FBF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--nav-height) 40px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 55%, rgba(245, 168, 130, 0.18) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 32px;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: white;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.tagline {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 48px;
    letter-spacing: 0.06em;
}

/* =====================
   ABOUT
   ===================== */
#about {
    background: var(--cream);
}

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

.about-img-wrap {
    position: relative;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -18px;
    left: -18px;
    right: 18px;
    bottom: 18px;
    border: 2px solid var(--peach-light);
    z-index: 0;
}

.about-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-text .btn {
    align-self: flex-start;
    margin-top: 12px;
}

/* =====================
   GALLERY
   ===================== */
.gallery-section {
    background: white;
}

.gallery-grid {
    columns: 3;
    column-gap: 14px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(91, 144, 212, 0);
    transition: background 0.3s;
    pointer-events: none;
}

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

.gallery-item:hover::after {
    background: rgba(91, 144, 212, 0.08);
}

/* =====================
   SERVICES
   ===================== */
#services {
    background: var(--cream);
}

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

.service-card {
    padding: 40px 32px;
    background: white;
    border-top: 3px solid var(--peach);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.07);
}

.service-icon {
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--mid);
    font-size: 0.95rem;
    line-height: 1.75;
}

.services-note {
    text-align: center;
    color: var(--mid);
    font-size: 0.95rem;
}

.services-note a {
    color: var(--blue);
    text-decoration: underline;
}

/* =====================
   CONTACT
   ===================== */
.contact-section {
    background: white;
}

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

.contact-info > p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail strong {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue);
}

.contact-detail a {
    font-size: 1rem;
    color: var(--text);
    transition: color 0.2s;
}

.contact-detail a:hover {
    color: var(--blue);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

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

.form-group label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 13px 16px;
    border: 1px solid var(--border);
    background: var(--cream);
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}

.form-group textarea {
    resize: vertical;
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: var(--dark);
    padding: 64px 0 44px;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: white;
}

.footer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: white;
}

.footer-instagram {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-instagram:hover {
    color: var(--peach);
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* =====================
   LIGHTBOX
   ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img-wrap {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrap img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s;
    line-height: 1;
    padding: 16px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

.lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 2.4rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3.5rem;
    font-weight: 300;
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

/* =====================
   RESPONSIVE — TABLET
   ===================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        columns: 2;
    }
}

/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }

    .container {
        padding: 0 24px;
    }

    /* Mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px 32px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        color: var(--text) !important;
        font-size: 0.875rem;
    }

    .hamburger {
        display: flex;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img-wrap::before {
        display: none;
    }

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

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        columns: 1;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
    }
}
