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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e9ecef;
    color: #333;
    line-height: 1.6;
}

/* Fixed-width, centered, responsive column */
.main-column {
    width: 100%;
    max-width: 800px; /* Fixed width limit */
    margin: 0 auto;   /* Centers the column */
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Header with Background Image */
.header {
    position: relative;
    width: 100%;
    height: 350px;
    /* Placeholder background image */
    /*background-image: url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0?auto=format&fit=crop&w=800&q=80');*/
    background-image: url('../img/desert-payphone.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden; /* Prevents the dropping image from showing outside the header */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Overlay Image with Drop-In Animation */
.overlay-image {
    width: 25%;
    height: auto;
    /* Starts hidden above the header */
    transform: translateY(-250px);
    opacity: 0;
    /* Animation triggers on load */
    animation: dropIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.2s; /* Slight delay looks more natural */
}

@keyframes dropIn {
    0% {
        transform: translateY(-250px);
        opacity: 0;
    }
    85% {
        transform: translateY(10px); /* Slight bounce effect */
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Content Section */
.content-section {
    padding: 40px 30px;
    flex-grow: 1; /* Pushes the footer to the bottom */
}

/* Repetitious Container Pattern */
.content-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.content-container h2 {
    margin-bottom: 15px;
    color: #212529;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* Iframe Styles */
.content-container iframe {
    width: 100%;
    height: 450px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .content-section {
        padding: 20px 15px;
    }
    .header {
        height: 250px;
    }
}
