*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ink: #1a1a1a;
    --text: #3a3a3a;
    --muted: #777;
    --bg: #faf9f6;
    --card-bg: #ffffff;
    --accent: #c0392b;
    --accent-hover: #a93226;
    --border: #e5e3df;
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

/* ---- NAV ---- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.nav-brand {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

/* ---- HERO ---- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 4rem;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-inner {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-img {
    flex: 1;
    max-width: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

/* ---- SECTIONS (shared) ---- */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--ink);
    letter-spacing: -0.02em;
}

/* ---- FACTS ---- */

.facts-section {
    padding: 6rem 5%;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.fact-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.fact-number {
    display: inline-block;
    font-family: var(--serif);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.fact-card h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.fact-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ---- GALLERY ---- */

.gallery-section {
    padding: 6rem 5%;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.gallery-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    margin-top: -1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    padding: 0;
}

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

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

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    transform: translateY(30%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-item figcaption strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
}

.gallery-item figcaption span {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ---- CONTACT ---- */

.contact-section {
    padding: 6rem 5%;
}

.contact-intro {
    text-align: center;
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    margin-top: -1.5rem;
}

.contact-form {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--card-bg);
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.contact-form textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    display: none;
    font-size: 0.9rem;
}

.form-message.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

/* ---- FOOTER ---- */

footer {
    padding: 2.5rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}

/* ---- SCROLL ANIMATIONS ---- */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        gap: 2.5rem;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img {
        max-width: 400px;
    }

    .facts-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }

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

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

    .gallery-item img {
        height: 260px;
    }
}
