/* RESET & VARIABLES */
:root {
    --color-navy: #001f3f;
    --color-navy-dark: #001226;
    --color-red: #d63031;
    --color-red-hover: #b71c1c;
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-grey-light: #f4f4f4;
    --color-grey-text: #555555;
    --font-main: 'Roboto', sans-serif;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* Strict Box Sizing Reset without using * selector */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, button {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

.site-body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--color-navy);
  
    font-weight: 900;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn--shop {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn--shop:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-2px);
}

.btn--cta {
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 15px 40px;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.4);
}

.btn--cta:hover {
    background-color: var(--color-red-hover);
    transform: scale(1.05);
}

/* LOADER */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--color-white);
    border-top: 5px solid var(--color-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

.loader-text {
    color: var(--color-white);
    font-size: 1.5rem;
    letter-spacing: 2px;
   
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* AD BANNER */
.ad-disclaimer {
    background-color: var(--color-grey-light);
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.ad-text {
    font-size: 0.8rem;
    color: var(--color-grey-text);
    font-weight: 500;
}

/* HEADER */
.main-header {
    background-color: var(--color-navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 900;
    
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    display: block;
}

/* MOBILE NAV */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 200;
    transition: var(--transition);
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    background-color: var(--color-navy);
    padding: 60px 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    transition: right 0.3s ease-in-out;
}

.mobile-nav-overlay.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
}

.mobile-list {
    list-style: none;
    margin-top: 40px;
}

.mobile-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.mobile-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
}

.mobile-link--highlight {
    color: var(--color-red);
    font-weight: 700;
}

/* HERO */
.hero-section {
    height: 90vh;
    background-image: url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?auto=format&fit=crop&w=1920&q=80'); /* Red Nike Shoe Context */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 63, 0.7); /* Navy Tint */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-paragraph {
    margin-bottom: 20px;
    color: var(--color-grey-text);
    font-size: 1.1rem;
}

.about-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* WHY US */
.why-us-section {
    background-color: var(--color-grey-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 30px;
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-wrapper {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-red);
}

.feature-title {
    margin-bottom: 15px;
    color: var(--color-navy);
}

.feature-desc {
    color: var(--color-grey-text);
}

/* TESTIMONIALS */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    position: relative;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    background-color: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}

.customer-name {
    font-weight: 700;
}

/* FAQ */
.faq-section {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-question {
    color: var(--color-navy);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-answer {
    color: var(--color-grey-text);
}

/* FOOTER */
.site-footer {
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    color: var(--color-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-text {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-li {
    margin-bottom: 10px;
}

.footer-a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-a:hover {
    opacity: 1;
    color: var(--color-red);
}

.footer-btn-link {
    background: none;
    border: none;
    color: var(--color-white);
    text-decoration: underline;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.8;
    text-align: left;
}

.disclaimer-section {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
}

.disclaimer-text {
    font-size: 0.8rem;
    opacity: 0.6;
}

.copyright-section {
    background-color: #000;
    padding: 15px 20px;
    text-align: center;
}

.copyright-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* MODAL / POPUP */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow-y: auto;
}

.modal-content {
    background-color: var(--color-white);
    margin: 50px auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    position: relative;
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--color-black);
}

.modal-title {
    color: var(--color-navy);
    margin-bottom: 20px;
}

.modal-p {
    margin-bottom: 15px;
    color: var(--color-black);
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-navy-dark);
    padding: 20px;
    z-index: 999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    display: none; /* Controlled by JS */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    color: var(--color-white);
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn--accept {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
}

.btn--reject {
    background-color: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 10px 20px;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid, .features-grid, .testimonial-grid, .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1; /* Image on top on mobile */
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}