﻿/* Global layout */
html, body {
    background-color: #000;
    color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Header as a card (matches .section exactly) */
.header {
    max-width: 1000px; /* same width as .section */
    margin: 20px auto; /* same centering as .section */
    padding: 20px 20px; /* same padding scale */
    background: #111; /* same background as .section */
    border-radius: 12px; /* same rounded corners */
    border-bottom: 1px solid #222;
    text-align: center;
} 

    .header h1 {
        margin: 0;
        font-size: 1.8rem;
    }

    .header p {
        max-width: 600px;
        margin: 8px auto 0;
    }

/* Content sections */
.section {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 20px;
    align-items: center;
    max-width: 1000px;
    margin: 20px auto;
    background: #111;
    border-radius: 12px;
}

/* Image container — landscape */
.image-box {
    width: 320px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Text block */
.section .text {
    flex: 1;
    padding: 15px;
    min-width: 250px;
}

/* Reverse layout */
.reverse {
    flex-direction: row-reverse;
}

/* Mobile layout */
@@media (max-width: 700px) {
    .section, .reverse {
        flex-direction: column;
        text-align: center;
    }

    .image-box {
        width: 260px;
        aspect-ratio: 4 / 3;
    }

    .section {
        padding: 15px 15px;
        margin: 15px auto;
    }

    .header {
        padding: 15px 15px;
        margin: 15px auto;
    }
}
.email-button {
    display: inline-block;
    padding: 10px 18px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

    .email-button:hover {
        background: #555;
    }
