/* ===== Pages CSS (About, Contact, Privacy) ===== */

/* Inherits :root variables from styles.css */

body {
    background: #f8fafc;
    /* Lighter background for pages */
}

/* Page Layout Grid */
.page-layout {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 800px) 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 80vh;
}

/* Ad Spaces - Sidebars */
.ad-sidebar {
    position: sticky;
    top: 100px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.ad-placeholder {
    width: 300px;
    /* Standard wide skyscraper width or rect */
    height: 600px;
    /* Standard skyscraper height */
    background: rgba(0, 0, 0, 0.03);
    border: 2px dashed rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.ad-placeholder:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #94a3b8;
}

.ad-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

/* Responsive Ads */
@media (max-width: 1400px) {
    .page-layout {
        grid-template-columns: 200px 1fr 200px;
    }

    .ad-placeholder {
        width: 160px;
        /* Narrow skyscraper */
    }
}

@media (max-width: 1024px) {
    .page-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .ad-sidebar {
        display: none;
        /* Hide side ads on smaller screens */
    }

    /* Optional: Show horizontal ads in-flow for mobile if needed, 
       but keeping strict separate layout for now as per instructions */
}

/* Page Content Container */
.page-content-wrapper {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Page Header */
.page-header-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
}

.page-header-banner h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-header-banner p {
    color: #cbd5e1;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Body Content */
.page-body {
    padding: 3rem;
    color: #334155;
    line-height: 1.7;
}

.page-body h2 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.page-body h2:first-child {
    margin-top: 0;
}

.page-body p {
    margin-bottom: 1.5rem;
}

.page-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-body li {
    margin-bottom: 0.5rem;
}

/* Contact Form Specifics */
.contact-form-container {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 2rem;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-option-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-option-card:hover {
    transform: translateY(-2px);
    border-color: #667eea;
}

.contact-option-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.contact-option-card h3 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}