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

html, body {
    margin: 0;
    font-family: "Raleway", sans-serif;
    color: #333;
    background-color: #fafafa;
}

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

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

/* HEADER */
.site-header {
    background: white;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

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

.logo {
    font-size: 30px;
    font-weight: 600;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    margin-left: 30px;
}

nav a:hover {
    color: #c96;
}

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

/* ABOUT SECTION */
.about {
    background: #fff;
    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: 16px;
}

.contact {
    background: #fff;
    padding: 60px 0;
}

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

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

.contact a {
    color: #c96;
    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: #c96;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #b85;
}

/* IMAGE GRID – FULL BLEED */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 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: 500px;
    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: 16px;
    line-height: 1.8;
    color: #555;
}


.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;
    }
}

