/* Global Styles */
body {
    font-family: 'Comfortaa', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

header {
    background: linear-gradient(90deg, #ff9a76, #ffc59b); /* cozy fall gradient */
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

header nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

header nav a:hover {
    opacity: 0.8;
}

main {
    flex: 1;
}

/* Catalogue Section */
.catalogue {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #fefefe;
    background-image: repeating-linear-gradient(
        135deg,
        #fffaf7,
        #fffaf7 50px,
        #fff3eb 50px,
        #fff3eb 100px
    );
}

/* Items */
.item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.item h2 {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.affiliate-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #ff7e5f;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
}

.affiliate-btn:hover {
    background: #feb47b;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .catalogue {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .catalogue {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .item {
        padding: 1rem;
    }

    header nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Contact Page Specific */
body.contact-page .contact-section {
    background-color: #fffaf7;
    background-image: repeating-linear-gradient(
        135deg,
        #fffaf7,
        #fffaf7 50px,
        #fff3eb 50px,
        #fff3eb 100px
    );
    padding: 4rem 2rem;
    border-radius: 15px;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

/* Contact Form */
body.contact-page .contact-section form {
    display: flex;
    flex-direction: column; /* stack fields vertically */
    gap: 1rem; /* spacing between fields */
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    max-width: 600px; /* prevent stretching too wide */
    margin: 2rem auto; /* center horizontally */
}

body.contact-page .contact-section form label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

body.contact-page .contact-section form input,
body.contact-page .contact-section form textarea {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Comfortaa', sans-serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Thank-you message wrapper */
body.contact-page .thank-you-wrapper {
    background-color: #fffaf7;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.thank-you-message h2 {
    font-size: 2rem;
    color: #ff7e5f;
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
}

.thank-you-message .affiliate-btn {
    font-family: 'Comfortaa', sans-serif;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}
