/* RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ========== HEADER & NAV (Grey, white text) ========== */
header {
    background-color: #4a5568;  /* Steel grey */
    padding: 1rem 2rem;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    color: #ffffff;
    padding: 0.5rem 1rem;
    transition: all 0.25s ease;
    display: inline-block;
}

/* Pink hover effect for navigation */
.nav-link:hover {
    transform: scale(1.08);
    color: #ff69b4;  /* Pink */
    background-color: transparent;
}

/* ========== LOGO CONTAINER (below header) ========== */
.logo-container {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #ffffff;
}

.logo-img {
    width: 100%;
    max-width: 563px;
    height: auto;
    border: none;
    display: block;
    margin: 0 auto;
}

/* ========== MAIN + SIDEBAR LAYOUT ========== */
.content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    flex: 1;
}

/* Main content area */
.main-content {
    flex: 3;
    min-width: 260px;
}

/* Sidebar */
.sidebar {
    flex: 1;
    min-width: 240px;
    background-color: #f8f8f8;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border: 1px solid #e0e0e0;
}

/* Dummy text - black text on white background */
.dummy-text {
    background: #ffffff;
    padding: 1.2rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #000000;
    border: 1px solid #dddddd;
}

.dummy-text p {
    margin-bottom: 1rem;
}

.dummy-text p:last-child {
    margin-bottom: 0;
}

/* ========== IMAGE SLIDER ========== */
.slider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    height: auto;
    aspect-ratio: 800 / 450;
    display: block;
}

/* ========== SIDEBAR ADS ========== */
.ad-card {
    background: #ffffff;
    border: 2px solid #cccccc;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}

.ad-card:hover {
    transform: translateY(-3px);
    border-color: #ff69b4;
}

.ad-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border: 1px solid #dddddd;
    display: block;
    margin: 0 auto;
}

.ad-text {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    background: #ffffff;
    padding: 8px;
    border-top: 1px solid #eeeeee;
}

/* ========== FOOTER (steel grey) - ALL ON ONE SINGLE LINE ========== */
.site-footer {
    background-color: #4a5568;
    color: #e2e8f0;
    padding: 1rem 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;  /* Force everything on one line */
    gap: 2rem;
}

/* Social media links - left side */
.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

/* Legal links - center */
.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

/* Copyright text - right side */
.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.9;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Link styling */
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.social-link i {
    font-size: 1rem;
}

/* Pink hover effect for footer links */
.social-link:hover,
.footer-links a:hover {
    color: #ff69b4;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1000px) {
    /* On smaller screens, allow wrapping but keep horizontal */
    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .content-row {
        flex-direction: column;
    }
    
    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .ad-card {
        flex: 1 1 220px;
        min-width: 200px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 700px) {
    /* On mobile, stack footer vertically */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-social,
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .sidebar {
        flex-direction: column;
        align-items: center;
    }
    
    .ad-card {
        width: 100%;
        max-width: 280px;
    }
    
    .logo-img {
        max-width: 100%;
    }
    
    .dummy-text {
        font-size: 0.9rem;
    }
}