/* --- Variables & Reset --- */
:root {
    --color-navy: #0a192f;
    --color-navy-light: #112240;
    --color-red: #c90a0a;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-grey-light: #f4f4f4;
    --color-grey-dark: #333333;
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-std: 20px;
    --transition-std: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Removing default styling from common elements without using universal selector */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-std);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-std);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Top Advertisement Bar --- */
.top-disclosure-bar {
    background-color: var(--color-grey-light);
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.disclosure-text {
    font-size: 0.85rem;
    color: var(--color-grey-dark);
    margin: 0;
    font-weight: 500;
}

/* --- Header --- */
.main-header {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-std);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-white);
    letter-spacing: 2px;
}

.desktop-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--color-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shop-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.shop-btn:hover {
    background-color: #a10505;
    transform: translateY(-2px);
}

.hamburger-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden by default */
    width: 75%;
    height: 100vh;
    background-color: var(--color-navy-light);
    z-index: 2000;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.mobile-brand {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: bold;
}

.close-menu {
    font-size: 1.8rem;
    color: var(--color-red);
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: var(--color-white);
    font-size: 1.2rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-link:hover {
    color: var(--color-red);
    padding-left: 10px;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('https://images.unsplash.com/photo-1548036328-c9fa89d128fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-heading {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subheading {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.hero-cta-btn {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(201, 10, 10, 0.4);
}

.hero-cta-btn:hover {
    background-color: #fff;
    color: var(--color-red);
    transform: scale(1.05);
}

/* --- About Us Section --- */
.about-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-grey-dark);
    margin-bottom: 20px;
}

/* --- Why Choose Us --- */
.why-us-section {
    padding: 80px 0;
    background-color: var(--color-grey-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-std);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--color-navy);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-black);
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 8px;
    background-color: #fff;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.customer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.customer-name {
    font-weight: bold;
    color: var(--color-navy);
}

.testimonial-text {
    font-style: italic;
    color: var(--color-grey-dark);
}

/* --- FAQ --- */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.faq-section .section-title {
    color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-red);
}

.faq-answer {
    color: #ccc;
}

/* --- Footer --- */
.main-footer {
    background-color: #050d1a; /* Darker than navy */
    color: var(--color-white);
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-std);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--color-red);
    padding-left: 10px;
}

.footer-text {
    color: #aaa;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-link {
    color: #aaa;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-modal-btn {
    color: #aaa;
    font-size: 0.9rem;
    padding: 0;
    text-align: left;
}

.footer-modal-btn:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px var(--spacing-std);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #666;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}

/* --- Modals (Popups) --- */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-white);
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.4s;
    color: var(--color-black);
}


/* --- Page Loader Styles --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Must be highest */
    transition: opacity 0.6s ease, visibility 0.6s;
}

.loader-content {
    text-align: center;
}

.loader-brand {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    /* Optional fade-in animation for text */
    animation: fadeInLoader 1s ease-in-out;
}

.loader-bar-container {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar {
    width: 0;
    height: 100%;
    background-color: var(--color-red);
    /* Animation of the red bar loading */
    animation: loadingProgress 2s ease-in-out forwards;
}

/* Loader Animations */
@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes fadeInLoader {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Class to hide the loader via JS */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal, .close-modal-policy {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover, .close-modal-policy:hover {
    color: var(--color-black);
}

.modal-title {
    margin-top: 0;
    color: var(--color-navy);
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}