/**
 * GameDay Social Bar - Mobile-First Optimized CSS
 * Only includes styles actually used in index.html
 */

/* ===================================================================
   Reset & Base Styles - Mobile First
   =================================================================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #737373;
    background: #14181E;
    -webkit-font-smoothing: antialiased;
}

/* ===================================================================
   Typography - Mobile First
   =================================================================== */

h1, h3, h5 {
    font-weight: 700;
    line-height: 1.3;
}

h1, .h01 {
    font-size: 2.8rem;
    color: #252525;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

h5 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    color: rgba(56, 66, 78, 0.5);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 2rem;
}

p.lead {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #737373;
}

strong {
    font-weight: 700;
}

a {
    color: #ff0000;
    text-decoration: none;
}

/* ===================================================================
   Layout - Mobile First
   =================================================================== */

.row {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.col-twelve {
    width: 100%;
}

/* ===================================================================
   Header - Mobile First
   =================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    padding: 1rem 0;
    background: #14171c;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header .row {
    position: relative;
    height: 5rem;
}

header .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

header .logo a {
    display: block;
    width: 120px;
    height: 48px;
    background: url("../images/logo.png") no-repeat center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

/* Navigation - Hidden on mobile by default */
#main-nav-wrap {
    display: none;
}

/* ===================================================================
   Preloader - Mobile First
   =================================================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0F1215;
    z-index: 9999;
}

#loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* ===================================================================
   Intro Section - Mobile First
   =================================================================== */

#intro {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: #14181E url(../images/intro-bg.jpg) no-repeat center;
    background-size: cover;
    margin-top: 70px; /* Account for fixed header */
}

.shadow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.intro-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.intro-content h5 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

.intro-content h1 {
    color: #fff;
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

/* Subscribe Section (intro) */
.subscribe-section {
    margin-top: 3rem;
}

.subscribe-section h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.9);
}

.subscribe-form button {
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 30px;
    background: #ff0000;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* ===================================================================
   Process/About Section - Mobile First
   =================================================================== */

#process {
    background: #fff;
    padding: 4rem 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.with-bottom-line {
    position: relative;
    padding-bottom: 2rem;
}

.with-bottom-line::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff0000;
}

/* Location image - Mobile First (appears first) */
.location-image {
    width: 100%;
    max-width: 350px;
    margin: 2rem auto 3rem;
    text-align: center;
}

.location-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

/* Process items - Mobile First */
.process-content {
    text-align: center;
}

.item {
    margin-bottom: 3rem;
}

.item[data-item]::before {
    content: attr(data-item);
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: #38424e;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.0rem;
}

.item h5 {
    color: #ff0000;
    margin-bottom: 0.5rem;
    font-size: 2.0rem;
}

.item p {
    font-size: 2.0rem;
}

/* Hide desktop layout classes on mobile */
.left-side, .right-side, .image-part {
    width: 100%;
    position: static;
    padding: 0;
}

/* ===================================================================
   CTA Section - Mobile First
   =================================================================== */

#cta {
    background: #ff0000;
    padding: 4rem 0;
    text-align: center;
}

.cta-content h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

#cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.6rem;
}

/* Brevo Form - Mobile First */
.sib-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.sib-form-message-panel {
    font-size: 1.4rem;
    text-align: center;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-radius: 3px;
}

#error-message {
    background: #ffeded;
    color: #661d1d;
    border: 1px solid #ff4949;
}

#success-message {
    background: #e7faf0;
    color: #085229;
    border: 1px solid #13ce66;
}

.sib-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

#sib-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    border: 1px solid #ddd;
    padding: 20px;
}

.sib-form-block {
    padding: 8px 0;
}

#EMAIL, .input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    font-size: 1.4rem;
    background: #fff;
}

.sib-form-block__button {
    width: 100%;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    background: #000;
    border-radius: 5px;
    padding: 1.2rem 2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sib-form-block__button:hover {
    background: #333;
    transform: translateY(-2px);
}

.sib-hide-loader-icon {
    display: none !important;
}

.input--hidden {
    display: none;
}

.entry__error {
    display: none;
}

/* ===================================================================
   Footer - Mobile First
   =================================================================== */

footer {
    padding: 3rem 0;
    font-size: 1.4rem;
    color: #465166;
    text-align: center;
}

.copyright span {
    display: block;
    margin: 0.5rem 0;
}

.copyright a {
    color: #ff0000;
}

.copyright a:hover {
    color: #fff;
}

/* Go to top button - Mobile First */
#go-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 600;
    display: none;
}

#go-top a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #048a7c;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

#go-top a:hover {
    background: #ff0000;
    transform: translateY(-5px);
}

/* Icons (using CSS instead of font) */
.icon-arrow-up::before {
    content: "↑";
    font-size: 24px;
}

/* ===================================================================
   Tablet Styles (768px and up)
   =================================================================== */

@media only screen and (min-width: 768px) {
    /* Typography */
    h1, .h01 {
        font-size: 4.2rem;
    }
    
    h5 {
        font-size: 1.4rem;
    }
    
    /* Layout */
    .row {
        max-width: 1140px;
    }
    
    /* Header */
    header {
        padding: 2rem 0;
    }
    
    #intro {
        margin-top: 88px; /* Larger header on tablet/desktop */
    }
    
    header .row {
        height: 6rem;
    }
    
    header .logo {
        left: 35px;
    }
    
    header .logo a {
        width: 150px;
        height: 60px;
    }
    
    /* Navigation - Show on tablet/desktop */
    #main-nav-wrap {
        display: block;
        position: absolute;
        top: 0;
        right: 30px;
        height: 100%;
    }
    
    .main-navigation {
        list-style: none;
        height: 100%;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    .main-navigation li {
        position: relative;
        margin-left: 2rem;
    }
    
    .main-navigation li a {
        color: #98999a;
        font-weight: 700;
        font-size: 1.2rem;
        text-transform: uppercase;
        letter-spacing: 0.15rem;
        padding: 1rem 0;
        transition: color 0.3s ease;
    }
    
    .main-navigation li a:hover,
    .main-navigation li.current a {
        color: #fff;
    }
    
    .main-navigation li.current a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100%;
        height: 3px;
        background: #ff0000;
    }
    
    .main-navigation li.highlight a {
        color: #ff0000;
    }
    
    .main-navigation li.with-sep {
        margin-left: 3rem;
        padding-left: 3rem;
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* Intro */
    #intro {
        min-height: 720px;
    }
    
    .intro-content h1 {
        font-size: 4.8rem;
    }
    
    .intro-content h5 {
        font-size: 1.8rem;
    }
    
    /* Subscribe form - horizontal on larger screens */
    .subscribe-form {
        flex-direction: row;
        max-width: 450px;
        justify-content: center;
    }
    
    .subscribe-form input[type="email"] {
        flex: 1;
        border-radius: 30px 0 0 30px;
    }
    
    .subscribe-form button {
        border-radius: 0 30px 30px 0;
        padding: 1.2rem 3rem;
    }
    
    /* Process Section */
    #process {
        padding: 8rem 0;
    }
    
    .section-intro h1 {
        font-size: 4rem;
    }
    
    .location-image {
        max-width: 400px;
    }
    
    /* CTA */
    #cta {
        padding: 6rem 0;
    }
    
    .cta-content h1 {
        font-size: 4rem;
    }
    
    #sib-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* Footer */
    .copyright span {
        display: inline-block;
        margin: 0 1rem;
    }
    
    /* Go to top */
    #go-top {
        bottom: 30px;
        right: 30px;
    }
    
    #go-top a {
        width: 60px;
        height: 60px;
        line-height: 60px;
    }
}

/* ===================================================================
   Desktop Styles (1024px and up)
   =================================================================== */

@media only screen and (min-width: 1024px) {
    /* Typography */
    h1, .h01 {
        font-size: 4.8rem;
    }
    
    h5 {
        font-size: 1.6rem;
    }
    
    /* Header */
    header .logo a {
        width: 170px;
        height: 67px;
        transition: transform 0.3s ease;
    }
    
    header .logo a:hover {
        transform: scale(1.05);
    }
    
    /* Intro */
    .intro-content h1 {
        font-size: 5.4rem;
    }
    
    .subscribe-form {
        max-width: 500px;
    }
    
    /* Process - Desktop layout */
    #process {
        padding: 12rem 0;
    }
    
    .section-intro h1 {
        font-size: 4.5rem;
    }
    
    .process-content {
        position: relative;
        min-height: 500px;
        margin-top: 5rem;
    }
    
    /* Three column layout for desktop */
    .process-content {
        display: block;
    }
    
    .left-side,
    .right-side {
        width: 33.33%;
        position: static;
        float: left;
        padding: 0 3%;
    }
    
    .left-side {
        left: auto;
    }
    
    .right-side {
        right: auto;
        float: right;
    }
    
    .image-part {
        width: 33.33%;
        margin: 0 auto;
        float: left;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 0;
    }
    
    .section-intro .location-image {
        position: static;
        display: block;
        margin: 3rem auto 4rem;
        max-width: 450px;
    }
    
    /* Clear floats */
    .process-content::after {
        content: "";
        display: table;
        clear: both;
    }
    
    .item[data-item]::before {
        width: 42px;
        height: 42px;
        line-height: 42px;
        font-size: 1.6rem;
    }
    
    /* CTA */
    .cta-content h1 {
        font-size: 4.8rem;
    }
}

/* ===================================================================
   Large Desktop (1400px and up)
   =================================================================== */

@media only screen and (min-width: 1400px) {
    /* Process items spacing */
    .left-side,
    .right-side {
        padding: 0 6%;
    }
    
    .location-image {
        max-width: 450px;
    }
}

/* ===================================================================
   Utility Classes
   =================================================================== */

.smoothscroll {
    scroll-behavior: smooth;
}

/* Remove duplicate styles from inline CSS */
#process .process-content,
#process .left-side,
#process .right-side,
#process .item,
#process .image-part,
#process .location-image,
#process .location-image img {
    /* These are now handled in the main CSS */
}