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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0078ff;
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    box-sizing: border-box; 
    padding: 1.5rem 2.5rem; 
    z-index: 10;
    pointer-events: none;
}

.navbar nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    gap: 1.5rem;
    pointer-events: auto;
}

.navbar nav a {
    color: #ffffff; 
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600; 
    font-family: 'Poppins', sans-serif;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    opacity: 0.6;
}

.navbar nav a:hover {
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* ==========================================================================
   SECTIONS & BANNERS
   ========================================================================== */
.page-section {
    width: 100%;
    min-height: 100vh;
    scroll-margin-top: 9rem;
}

.home-section,
.about-section,
.articles-banner,
.banner-magazines,
.podcast-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.home-section,
.about-section,
.articles-banner {
    padding: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 92vw;
    object-fit: contain;
}

.articles-section {
    padding: 3rem 0 clamp(3rem, 5vw, 4rem);
}

.magazines-section,
.podcast-section {
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(3rem, 5vw, 4rem);
}

/* ==========================================================================
   HERO BANNER & COLLAGE GRAPHIC CORRECTIONS
   ========================================================================== */

/* 1. Force the parent wrapper to take up 100% of the screen width */
.home-section,
div[class*="hero"],
section:first-of-type {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
}

/* 2. Force the actual image to scale across the whole screen width */
.section-header img,
.articles-banner-image,
div[class*="section-header"] img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: cover !important; /* Ensures it covers the area without distorting */
}

/* 3. Center the "Articles" title graphic below it */
.articles-banner,
.articles-banner .section-header {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 3rem auto 1rem auto !important;
}

.articles-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 4rem 1rem 2rem 1rem; /* Generous top padding separates it from the collage; bottom padding separates it from the cards */
    box-sizing: border-box;
}

.articles-banner-image {
    width: 100%;
    max-width: 600rem; /* Adjust this value down if the "Articles" logo looks too giant on desktop */
    height: auto;
    display: block;
}

.magazines-banner-image,
.banner-image-podcast {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.podcast-banner {
    margin-bottom: clamp(4rem, 7vw, 7rem);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(90px, 9vw, 150px);
    row-gap: 150px;
    width: 88%;
    max-width: 1600px;
    margin: 90px auto 0;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}

.item-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.18;
    color: #ffffff;
}

.item-description {
    max-width: 420px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 1.35vw, 1.5rem);
    font-weight: 300;
    line-height: 1.45;
    color: #111111;
}

.image-wrapper {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.grid-item:hover .image-wrapper img {
    transform: scale(1.035);
}

.see-more-btn {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.9rem 2rem;
    margin-top: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.see-more-btn:hover {
    background-color: #ff007f;
    opacity: 1;
    transform: translateY(-2px);
}

.see-more-btn:active {
    transform: translateY(0);
}

/* Cleaned Articles Grid */
.card-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    width: 90%;
    max-width: 1400px;
    margin: 40px auto 0;
    box-sizing: border-box;
}

.card {
    flex: 0 1 calc(20% - 30px);   
    min-width: 220px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.card a {
    width: 100%;
    display: block;
}

.card img {
    width: 100%;       
    height: auto;         
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px; 
    margin-bottom: 15px;
}

.card h2.item-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin: 12px 0 6px 0 !important;
}

.card p.item-description {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    font-style: normal !important;
    margin: 0 !important;
    opacity: 0.85 !important;
}

.view-all-box {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
    padding: 12px 30px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #ff007f;
    color: #ffffff;
}

/* ==========================================================================
   MEDIA SECTIONS (YOUTUBE / SPOTIFY)
   ========================================================================== */
.media-section {
    background-color: #007aff;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.media-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
    max-width: 5000px;
    margin: 0 auto;
    width: 100%;
}

.media-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 800px;
}

.media-column h2 {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.media-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.media-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.podcast-logo {
    max-width: min(100%, 520px);
    margin: 0 auto;
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
    gap: 5vw;
    width: 90vw;
    max-width: 1800px;
    align-items: center;
}

.contact-form-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.contact-banner {
    width: 100%;
    height: auto;
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.retro-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
}

.retro-form textarea,
.retro-form input[type="email"] {
    width: 100%;
    background-color: #ffffff;
    border: 3px solid transparent;
    padding: clamp(1rem, 3vw, 2.5rem);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    outline: none;
}

.retro-form textarea {
    min-height: 260px;
    color: #111111;
    resize: vertical;
}

.retro-form input[type="email"] {
    min-height: 72px;
    background-color: #ff007f;
    color: #ffffff;
}

.retro-form input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.retro-form textarea:focus,
.retro-form input[type="email"]:focus {
    border-color: #111111;
}

.retro-form .has-error {
    border-color: #ffdf00;
}

.field-error,
.form-status {
    min-height: 1.4em;
    font-size: 1rem;
    line-height: 1.4;
}

.field-error,
.form-status.is-error {
    color: #ffdf00;
}

.form-status,
.form-status.is-success {
    color: #ffffff;
}

.submit-btn {
    align-self: flex-start;
    background-color: #111111;
    color: #ffffff;
    border: none;
    padding: 1rem 3rem;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.8rem);
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.contact-graphic-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

/* ==========================================================================
   ANIMATIONS & UTILITIES
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(46px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    background-color: #111111;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: #ff007f;
    transform: translateY(-2px);
}

.scroll-top-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    padding: 40px 20px;
    border-top: 1px solid #333;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-heading {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #cccccc;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll,
    .image-wrapper img,
    .see-more-btn,
    .navbar nav a,
    .submit-btn,
    .scroll-top-btn {
        transition: none;
    }

    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        width: 95vw;
    }

    .retro-form textarea {
        height: 350px;
    }

    .contact-image {
        max-height: 55vh;
    }
}

@media (max-width: 768px) {
    body, main, section, div {
        max-width: 100%;
        box-sizing: border-box;
    }

    #home, #about, .podcast-section, .magazines-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        overflow: hidden;
    }

    .section-header {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        clear: both;
        margin: 20px 0;
    }

    .section-header h2 {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 8vw, 2.5rem);
        text-align: center;
        width: auto;
        margin: 0 auto;
        display: block;
    }

    .navbar {
        justify-content: flex-end;
        padding: 1rem;
        pointer-events: auto;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 2.75rem;
        height: 2.75rem;
        background-color: #111111;
        border: 2px solid #ffffff;
        border-radius: 50%;
        cursor: pointer;
        z-index: 12;
    }

    .menu-toggle span {
        display: block;
        width: 1.15rem;
        height: 2px;
        margin: 0 auto;
        background-color: #ffffff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .navbar nav {
        position: absolute;
        top: 4.5rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.65rem;
        min-width: 11rem;
        padding: 1rem;
        background-color: #111111;
        border: 2px solid #ffffff;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-toggle:checked ~ nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .navbar nav a {
        font-size: 1.15rem;
    }

    .page-section {
        min-height: auto;
        scroll-margin-top: 6rem;
    }

    .home-section,
    .about-section,
    .articles-banner,
    .banner-magazines,
    .podcast-banner {
        min-height: 50vh;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-image,
    .articles-banner-image,
    .banner-image-podcast {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .articles-banner {
        min-height: 42vh;
    }

    .articles-section {
        padding: 3.5rem 0 5rem;
        padding-bottom: 5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 4.5rem;
        margin-top: 3.5rem;
        width: min(88vw, 480px);
    }

    .item-title {
        font-size: 1.4rem;
    }

    .item-description {
        font-size: 1rem;
        margin-right: 2rem;
        margin-left: 2rem;
    }

    .contact-section {
        min-height: auto;
        padding: 0;
    }

    .contact-container {
        width: min(92vw, 620px);
        gap: 2rem;
    }

    .retro-form textarea {
        min-height: 220px;
        height: 220px;
    }

    .retro-form input[type="email"] {
        min-height: 60px;
    }

    .submit-btn {
        width: 100%;
    }

    .scroll-top-btn {
        right: 1rem;
        bottom: 1rem;
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.2rem;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 80%;
        flex: 1 1 100%;
    }

    .media-container {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        width: min(88vw, 460px);
    }

    .media-column h2 {
        font-size: 2.25rem;
        margin-bottom: 0.9rem;
    }

    .image-wrapper {
        width: 70%;
        max-width: 100%;
        height: auto;
        padding: 0;
    }

    .magazines-section {
        padding-top: 4.5rem;
        padding-bottom: 5.5rem;
    }

    .podcast-section {
        padding-top: 4.5rem;
    }

    .podcast-logo {
        max-width: min(82vw, 360px);
    }
}

.social-icon {
    color: #ffffff;
    font-size: 1.2rem; /* Icon size */
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}



.footer-email,
.footer-number {
    font-size: 1.2rem;       /* Matches heading size */
    letter-spacing: 1px;     /* Matches heading tracking */
    color: #cccccc;          /* Light gray heading color */
}

/* Hover Effect */

.social-icon:hover {
    transform: translateY(-5px);
    color: #00adb5; /* Accent color on hover */
} 

