/* Basic Resets and Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --text-color: #333333;
    --background-color: #ffffff;
    --font-family: 'Inter', sans-serif;
    --header-height: 80px;
    --loader-bg: #000000;
    --loader-text: #ffffff;
    --cookie-bg: #1a1a1a;
    --cookie-text: #ffffff;
    --cookie-btn-accept: #4CAF50;
    --cookie-btn-reject: #f44336;
}

html {
    scroll-behavior: smooth;
}

.u-element {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Page Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--loader-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loader-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--loader-text);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Top Disclaimer */
.top-disclaimer {
    background-color: #f1f1f1;
    color: #555;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
    position: relative;
    z-index: 1001;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.close-icon {
    display: none;
    font-size: 2rem;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 90vh;
    background-color: #f9f9f9;
    /* High quality black sneaker image from Unsplash to match "Black/Black" theme */
    background-image: url('https://images.unsplash.com/photo-1605348532760-6753d2c43329?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
    /* White text for better contrast on dark image */
    position: relative;
}

/* Overlay for better text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay for white text */
}

.hero-content {
    position: relative;
    /* z-index above overlay */
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    /* White button */
    color: var(--primary-color);
    /* Black text */
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #ddd;
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections General */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Us */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
    color: #555;
}

.text-paragraph {
    margin-bottom: 20px;
}

.about-image-wrapper {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .section-image {
    transform: scale(1.05);
}

.placeholder-image {
    display: none;
    /* Hide text if image loads */
}


/* Why Us */
.why-us-section {
    background-color: #f9f9f9;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-author {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* FAQ */
.faq-section {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: #555;
}

.faq-text {
    padding-bottom: 20px;
}

/* Return Policy */
.policy-section {
    background-color: #fff;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #555;
}

.policy-text {
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    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;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-text {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-link-item {
    margin-bottom: 10px;
}

.footer-disclaimer {
    background-color: #222;
    padding: 20px;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--cookie-bg);
    color: var(--cookie-text);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10002;
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s;
}

.cookie-btn:hover {
    opacity: 0.8;
}

.cookie-btn.accept {
    background-color: var(--cookie-btn-accept);
    color: white;
}

.cookie-btn.reject {
    background-color: var(--cookie-btn-reject);
    color: white;
}

/* Modals */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 10003;
    /* Above everything including cookie popup */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    overflow: auto;
    /* Enable scroll if needed */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    /* 5% from top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    /* Limit height */
    overflow-y: auto;
    /* Scroll inside modal if content is long */
}

/* Scrollbar for modal content */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 10px;
    background: #fff;
    /* Ensure it's readable */
    padding: 0 5px;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.modal-body h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 2001;
        /* Above the nav menu */
        position: relative;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 75%;
        /* 75% width as requested */
        height: 100%;
        padding-top: 80px;
        transition: 0.3s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        /* Above navbar but below hamburger */
    }

    .nav-menu.active {
        right: 0;
    }

    .close-icon {
        display: none;
        /* Hide the separate close icon, use hamburger transform instead */
    }

    .nav-item {
        margin: 20px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Footer Mobile Alignment */
    .footer {
        text-align: center;
    }

    .footer-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}