/* --- Global Variables --- */
:root {
    --primary-color: #000080; /* Navy Blue */
    --accent-color: #cc0000;  /* Red */
    --dark-color: #1a1a1a;    /* Black/Dark Grey */
    --light-color: #f4f4f4;
    --white: #ffffff;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Helper Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a30000;
    transform: translateY(-2px);
}

/* --- Loader --- */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid var(--white);
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Ad Disclosure --- */
.ad-disclosure {
    background-color: #f0f0f0;
    text-align: center;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: #666;
    border-bottom: 1px solid #ddd;
}

/* --- Header & Nav --- */
.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -80%; /* Hidden initially */
    width: 75%;
    height: 100%;
    background-color: var(--white);
    z-index: 2000;
    transition: right 0.4s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.brand-logo-mobile {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 20px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 1.1rem;
    display: block;
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

.mobile-nav-link.highlight {
    color: var(--accent-color);
    font-weight: bold;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    /* Unsplash Placeholder used as example product image */
    background: url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 50, 0.6); /* Navy tint */
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.btn-cta:hover {
    background-color: #ff1a1a;
    transform: scale(1.05);
}

/* --- About & Text Sections --- */
.about-text {
    max-width: 800px;
    margin: 0 auto 20px auto;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
}

/* --- Why Choose Us --- */
.why-us-section {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-title {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.customer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.customer-name {
    font-weight: bold;
    color: var(--dark-color);
}

.customer-review {
    font-style: italic;
    color: #555;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.footer-text {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links {
    list-style: none;
}

.footer-link, .footer-btn-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
    text-align: left;
}

.footer-link:hover, .footer-btn-link:hover {
    color: var(--accent-color);
}

.footer-divider {
    border: 0;
    border-top: 1px solid #333;
    margin: 20px 0;
}

.disclaimer-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #252525;
    border-radius: 5px;
}

.disclaimer-text {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
}

.copyright-text {
    text-align: center;
    color: #777;
    font-size: 0.8rem;
}

/* --- Modals --- */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal-body {
    margin-top: 20px;
    line-height: 1.8;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2500;
    padding: 20px;
    display: flex; /* Flex to center or modify, hidden by JS logic if needed */
    justify-content: center;
    transform: translateY(100%); /* Hidden by default */
    transition: transform 0.4s ease;
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn-cookie-reject {
    background-color: #ddd;
    color: #333;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .desktop-nav, .desktop-only {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-heading {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}