/* Google Fonts Import for Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Page Container */
.page {
    display: none;
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
}

.page.active {
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    width: 100%;
    padding: 55px 55px 0 55px;
    background-color: #ffffff;
}

.title {
    font-family: 'Meta Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 96px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -1px;
    margin-bottom: 11px;
    line-height: 1;
}

.navigation {
    display: flex;
    gap: 40px;
    margin-bottom: 125px;
    margin-top: 73px;
}

.nav-link {
    font-family: 'Meta Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #f70000;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f70000;
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    opacity: 0.7;
}

.header-divider {
    display: none;
}

/* Container */
.container {
    flex: 1;
    width: 100%;
    padding: 0 55px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 200px;
}

/* Sections */
section {
    width: 100%;
}

.section-heading {
    font-family: 'Meta Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #f70000;
    margin-bottom: 66px;
    letter-spacing: -0.5px;
}

.sources-subheading {
    font-family: 'Meta Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #f70000;
    margin-bottom: 66px;
    letter-spacing: -0.5px;
    margin-top: 80px;
}

.sources-subheading:first-of-type {
    margin-top: 0;
}

/* Content Rows */
.content-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 112px;
    align-items: flex-start;
    margin-bottom: 100px;
}

.content-row:last-child {
    margin-bottom: 0;
}

/* Alternative row layout (image on right) */
.influence-section .content-row {
    grid-template-columns: 1fr auto;
}

.influence-section {
    margin-bottom: 150px;
}

.style-section .content-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 112px;
    align-items: flex-start;
    margin-bottom: 200px;
}

.style-section .content-row:nth-child(2) {
    grid-template-columns: 1fr auto;
}

/* Images */
.content-image {
    width: auto;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.hero-section .content-image {
    width: 484px;
    height: 605px;
    object-fit: cover;
}

.influence-section .content-image {
    width: 506px;
    height: 643px;
    object-fit: cover;
}

.ff-meta-section .content-image {
    width: 579px;
    height: 455px;
    object-fit: cover;
}

.analysis-section .content-image {
    width: 344px;
    height: 501px;
    object-fit: cover;
}

.analysis-section {
    margin-bottom: 150px;
}

.style-section .content-image {
    width: 453px;
    height: 607px;
    object-fit: cover;
}

.style-section .content-row:nth-child(2) .content-image {
    width: 447px;
    height: 606px;
    object-fit: cover;
}

/* Text Styles */
.content-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #000000;
}

.content-text p {
    margin-bottom: 20px;
}

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

.style-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #000000;
}

.style-text p {
    margin-bottom: 20px;
}

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

.sources-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #000000;
    width: 100%;
    max-width: 1350px;
}

.sources-text p {
    margin-bottom: 20px;
}

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

.sources-section {
    margin-bottom: 150px;
}

/* Footer */
footer {
    width: 100%;
    background-color: #f70000;
    padding: 35px 0;
    margin-top: auto;
    text-align: center;
}

footer p {
    font-family: 'Meta Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .title {
        font-size: 72px;
    }

    .container {
        padding: 0 40px;
        gap: 150px;
    }

    .content-row {
        gap: 80px;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 48px;
    }

    .header {
        padding: 40px 30px 0 30px;
    }

    .navigation {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        padding: 0 30px;
        gap: 100px;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .influence-section .content-row {
        grid-template-columns: 1fr;
    }

    .style-section .content-row {
        grid-template-columns: 1fr;
    }

    .style-section .content-row:nth-child(2) {
        grid-template-columns: 1fr;
    }

    .content-image {
        width: 100% !important;
        max-width: 400px;
        height: auto;
    }

    .section-heading {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .sources-subheading {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .content-text,
    .style-text {
        font-size: 18px;
    }

    footer p {
        font-size: 18px;
    }
}

/* Ensure pages stack properly */
#page-home,
#page-ff-meta,
#page-style,
#page-sources {
    max-width: 1440px;
    margin: 0 auto;
}
