/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Playfair Display', sans-serif;
    background-color: #0A0F24;
    color: #CCCCCC;
    text-align: center;
    overflow-x: hidden;
}

/* Hero Section */
.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('background-pattern.svg') no-repeat center center;
    background-size: cover;
}

h1 {
    font-family: 'Rufina', serif;
    font-size: 3rem;
    color: #CCCCCC;
    margin-bottom: 15px;
}

p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Form Styling */
.email-input, .message-input {
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #CBA135;
    background: transparent;
    color: #CCCCCC;
    border-radius: 5px;
    width: 280px;
    display: block;
    margin: 10px auto;
}

.cta-button {
    padding: 14px 22px;
    font-size: 1rem;
    background-color: #CBA135;
    color: #0A0F24;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: #b28f2c;
}

/* Bespoke Email Agent Section */
.bespoke-email-agent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.bespoke-email-agent h2 {
    font-family: 'Rufina', serif;
    font-size: 2.5rem;
    color: #CBA135;
    margin-bottom: 20px;
}

.bespoke-email-agent p {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #CCCCCC;
}

/* Wireframe Gallery (Only Show Two Images Side by Side) */
.wireframe-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, auto)); /* Two images side by side */
    gap: 20px;
    padding: 20px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.wireframe-gallery figure {
    background-color: #12172D;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.wireframe-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.wireframe-gallery figcaption {
    font-size: 0.9rem;
    color: #CCCCCC;
    line-height: 1.4;
}

/* Footer */
.footer {
    font-size: 0.8rem;
    padding: 20px;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        height: auto;
        padding: 40px 20px;
    }

    .bespoke-email-agent h2 {
        font-size: 2rem;
    }

    .bespoke-email-agent p {
        font-size: 1.1rem;
    }

    .wireframe-gallery {
        grid-template-columns: repeat(1, minmax(200px, auto)); /* Stack images on small screens */
    }
}