:root {
    /* backgrounds */
    --color-background: #F5F2EC;
    --color-surface: #FFFFF;

    /* text */
    --color-text: ##333333;
    --color-text-muted: #6B6861;

    /* Accent */
    --color-accent: #344638;
    --color-accent-hover: #26372C;

    /* Details */
    --color-border: #DEDAD1;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

html {
    font-size: 16px;
}

body {
    font-family: "Raleway", sans-serif;
}

html, body {
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-background);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* LAYOUT */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* HEADER */
.site-header {
    background: var(--color-background);
    border-bottom: 1px solid #eee;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 10;
}

h1, h2, h3 {
    color: var(--color-accent);
    font-family: "IBM Plex Serif", serif;
    font-weight: 600;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: clamp(18px, 4vw, 30px);
    font-weight: 600;
}

nav a {
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 500;
    margin-left: 30px;
    font-size: clamp(14px, 3.5vw, 16px);
}

nav a:hover {
    color: #8A987D;
    transition: color 0.3s ease;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

/* ABOUT SECTION */
.about {
    background: #F5F2EC;
    padding: 60px 0;
    margin-top: 40px;
}

.about-inner {
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.profile {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin: 20px auto;
}

.about-text {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 2;
}

.contact {
    background: var(--color-background);
    padding: 60px 0 200px;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}


label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font: inherit;
}

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

button {
    width: 100%;
    padding: 14px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: var(--color-accent-hover);
}

/* IMAGE GRID – FULL BLEED */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.image-grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.grid-item {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.grid-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.15),
        rgba(0,0,0,0)
    );
}

/* Text below images - section */

.text-box {
    max-width: 1400px;
    margin: auto;
    display: grid;
    gap: 80px;
    padding: 120px 60px;
    align-items: center;
}

.featured-text {
    max-width: 100%;
    margin: 0 auto;
}

.featured-text h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

.featured-text h3 {
    margin-top: 32px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.featured-text p {
    font-size: 18px;
    line-height: 2;
    color: #4b4545;
}

.featured-text h2,
.about h2,
.contact h2 {
    font-size: clamp(24px, 6vw, 34px);
}

.featured-text p,
.about-text,
.contact p {
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.8;
}

.overlay {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    margin: 40px;
    padding: 32px 36px;
    max-width: 420px;
}

.overlay h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 600;
    color: #222;
}

.overlay p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item {
        min-height: 65vh;
    }
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }

    .grid-item {
        min-height: 55vh;
    }

    .overlay {
        margin: 20px;
        padding: 24px;
    }

    .overlay h2 {
        font-size: 22px;
    }
}

