/* styles.css */

/* General Body and Text Styles */
body {
    font-family: 'Georgia', serif;
    background-color: #f8f5ed;
    color: #4a4a4a;
    line-height: 1.8;
    margin: 0 auto;
    padding: 20px 15px;
    text-align: center;
    max-width: 900px; /* Set max-width for the body */
    display: flex;
    flex-direction: column;
}

h1, h2 {
    color: #34495e;
    font-weight: normal;
}

p {
    font-style: italic;
}

a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3498db;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #3498db;
    color: white;
    border-radius: 30px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Footer Styling */
footer {
    margin-top: 50px;
    font-size: 0.9em;
    color: #888;
}

/* Banner Image Box */
.top-box {
    width: 100%;
    height: auto; /* Allow height to scale automatically with the image */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden; /* Ensures image doesn't overflow the container */
}

.top-box img {
    width: 100%;
    height: auto; /* Make sure the image adapts its height automatically */
    object-fit: cover; /* Ensures the image maintains its aspect ratio while covering the container */
    max-height: 500px; /* Optional: Prevent the image from becoming too large */
}

/* Tab Navigation Styling */
.tabs {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tabs a {
    color: #34495e;
    background-color: #ecf0f1;
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.tabs a:hover {
    background-color: #bdc3c7;
}

/* Main Content Wrapper */
.main-content {
    order: 1;
}

/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    .cta-button {
        width: 100%;
        padding: 10px 20px;
    }

    .tabs {
        order: 2;
        /* Additional mobile-specific styles for tabs if needed */
    }

    .tabs a {
        width: calc(50% - 10px);
        margin-bottom: 10px;
    }
}