/* CSS Variables & Theme Setup - Neon Orange Dark Style */
:root {
    --bg-color: #121212;
    /* Deep Dark Grey/Black */
    --surface-color: #1E1E1E;
    /* Lighter Dark Grey */
    --text-color: #E0E0E0;
    /* Dark White for reduced eye strain */
    --text-muted: #A0A0A0;
    /* Mid Grey */

    /* Neon Orange Accents */
    --primary-blue: #FF5F1F;
    /* Neon Orange (Replacing Blue var name to minimize refactor) */
    --primary-accent: #FF8C00;
    /* Dark Orange */
    --secondary-purple: #333333;
    /* Dark Grey for secondary elements */

    --glass-bg: rgba(30, 30, 30, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --radius-lg: 16px;
    --radius-md: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Mesh Gradient - Orange/Dark */
    background:
        radial-gradient(at 0% 0%, rgba(255, 95, 31, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 95, 31, 0.05) 0px, transparent 50%);
    z-index: -2;
}

/* Neon Separator */
.neon-separator {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue), 0 0 20px rgba(37, 99, 235, 0.4);
    opacity: 0.8;
}

/* Scramble Text Effect Class */
.scramble-text {
    display: inline-block;
    min-width: 1em;
    /* Avoid layout shift */
}

/* Utility Classes */
.text-gradient {
    /* Orange Gradient */
    background: linear-gradient(135deg, #FF5F1F, #FFAE42);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary-blue);
}

/* Typography */
h1,
h2,
h3,
h4,
.logo {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: white;
}

.neon-text-blue {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(255, 95, 31, 0.7);
}

.neon-text-purple {
    color: var(--primary-purple);
    text-shadow: 0 0 10px rgba(189, 0, 255, 0.7);
}


/* Header & Nav */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    white-space: nowrap;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-speed);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-back-link {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cta-button {
    padding: 0.6rem 1.2rem;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: 0.3s;
    border: none;
    white-space: nowrap;
}

.btn-blue {
    padding: 0.6rem 1.2rem;
    background: #2563eb;
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: 0.3s;
    border: none;
}


.btn-blue:hover {
    background: #1d4ed8;
    color: white;
    /* Ensure text stays white */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 10% 4rem;
    position: relative;
}

.hero-content {
    max-width: 650px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--primary-blue);
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    font-weight: 400;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: 0.3s;
    border: none;
    font-size: 1rem;
}

.primary-btn:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 95, 31, 0.4);
}

.hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-visual {
    /* Animation container */
    animation: float 6s ease-in-out infinite;
}

.logo-stack {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-gear {
    font-size: 18rem;
    color: transparent;
    -webkit-text-stroke: 4px var(--primary-blue);
    /* Outline gear */
    position: absolute;
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.5));
    animation: spin 20s linear infinite;
}

.logo-drop {
    font-size: 10rem;
    color: var(--primary-accent);
    /* Orange */
    position: absolute;
    z-index: 2;
    filter: drop-shadow(0 0 25px rgba(255, 95, 31, 0.8));
}

.logo-wrench {
    font-size: 5rem;
    color: #121212;
    /* Dark cutout look */
    position: absolute;
    z-index: 3;
    transform: rotate(-45deg);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services-section {
    padding: 6rem 10%;
    background: var(--bg-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #1e1e1e, #141414);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    /* Subtle inner shadow for depth */
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    background: linear-gradient(145deg, #252525, #1a1a1a);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 95, 31, 0.1);
    /* Subtle orange tint glow */
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Team Section (New) */
.team-section {
    padding: 6rem 10%;
    background: linear-gradient(to bottom, var(--bg-color), var(--surface-color));
}

.team-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.team-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
    filter: grayscale(100%);
    transition: 0.3s;
}

.team-image:hover img {
    filter: grayscale(0%);
}

.team-content {
    flex: 1;
}

.team-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.team-tag {
    background: var(--surface-color);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.team-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Process Section (New) */
.process-section {
    padding: 6rem 10%;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 200px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.step-number {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Portfolio Section */
.portfolio-section {
    padding: 6rem 10%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.client-logo {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
    font-weight: 600;
    margin-top: 1rem;
    transition: 0.2s;
}

.project-link:hover {
    color: var(--primary-blue);
}

/* FAQ Section (New) */
.faq-section {
    padding: 6rem 10%;
    background: var(--surface-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    color: var(--text-muted);
    transition: 0.3s;
}

.faq-item.active .faq-answer {
    height: auto;
    padding-bottom: 1.5rem;
}

/* Contact / Newsletter Box */
.contact-section {
    padding: 6rem 10%;
}

.contact-container {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: 4rem;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #252525;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #e65100;
}

/* ========================================= */
/* NEW CONTACT MAP SECTION */
/* ========================================= */
.contact-map-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 10%;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.contact-cta {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #FF5F1F, #ff9057);
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(255, 95, 31, 0.4);
    position: relative;
}

.contact-icon i {
    position: relative;
    z-index: 10;
    font-size: 3rem !important;
    color: white !important;
    display: block;
}

/* Left Dot */
.contact-icon::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #FF5F1F, #ff9057);
    border-radius: 50%;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(255, 95, 31, 0.3);
}

/* Right Dot */
.contact-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #FF5F1F, #ff9057);
    border-radius: 50%;
    right: -45px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(255, 95, 31, 0.3);
}

.contact-cta h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
}

.btn-pulse {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-blue);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 95, 31, 0.4);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-pulse:hover {
    background: #e65100;
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 95, 31, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 95, 31, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 95, 31, 0);
    }
}

.map-container {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stylized Map Construction */
.france-map-stylized {
    position: relative;
    width: 400px;
    height: 400px;
    /* Optional: subtle background shape if desired, or keep purely marker based */
    /* background: url('assets/france-silhouette-placeholder.png') no-repeat center/contain; */
}

/* Connective Lines */
.map-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.map-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.map-marker i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    filter: drop-shadow(0 0 10px rgba(255, 95, 31, 0.6));
    animation: float 4s ease-in-out infinite;
}

/* Alternating float delays */
.map-marker:nth-child(even) i {
    animation-delay: 1s;
}

.map-marker:nth-child(3n) i {
    animation-delay: 2s;
}

.marker-label {
    margin-top: 5px;
    font-size: 0.9rem;
    font-family: 'Handlee', cursive, sans-serif;
    /* Fallback to cursive/handwritten style */
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.8;
}

.map-marker:hover {
    transform: translate(-50%, -60%) scale(1.1);
}

.map-marker:hover .marker-label {
    opacity: 1;
    color: #ff8c00;
}

/* Specific Positions (Approximate France) */
.marker-paris {
    top: 25%;
    left: 52%;
}

.marker-lyon {
    top: 60%;
    left: 68%;
}

.marker-bordeaux {
    top: 65%;
    left: 28%;
}

.marker-marseille {
    top: 85%;
    left: 72%;
}

.marker-rennes {
    top: 32%;
    left: 25%;
}

.marker-lille {
    top: 8%;
    left: 55%;
}

.marker-strasbourg {
    top: 25%;
    left: 85%;
}

.marker-toulouse {
    top: 80%;
    left: 45%;
}

.marker-nantes {
    top: 45%;
    left: 20%;
}

@media (max-width: 968px) {
    .contact-map-section {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .contact-cta {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .france-map-stylized {
        width: 300px;
        height: 300px;
    }
}

footer {
    background: #000;
    padding: 4rem 10% 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .team-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .glass-header {
        padding: 1rem 5%;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface-color);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    nav ul.active {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .team-section,
    .process-section,
    .services-section,
    .contact-section {
        padding: 4rem 5%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================= */
/* SHOP STYLES */
/* ========================================= */

.shop-page {
    padding-top: 80px;
}

.shop-hero {
    text-align: center;
    padding: 6rem 1rem;
    background: radial-gradient(circle at center, rgba(255, 95, 31, 0.1) 0%, transparent 60%);
}

.shop-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.products-container {
    padding: 2rem 10% 6rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--surface-color);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(255, 95, 31, 0.15);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.product-image {
    height: 250px;
    background: #111;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.product-image .tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.add-to-cart-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.add-to-cart-btn:hover {
    background: var(--primary-blue);
    color: white;
}

/* Cart Icon in Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    color: white;
    font-size: 1.5rem;
    transition: 0.2s;
}

.cart-btn:hover {
    color: var(--primary-blue);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #0f0f0f;
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: 8px;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.qty-btn,
.remove-btn {
    background: #333;
    border: none;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

.remove-btn {
    background: red;
    margin-left: 10px;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    background: #0f0f0f;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: white;
    color: black;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.checkout-modal.active {
    opacity: 1;
    pointer-events: all;
}

.checkout-container {
    background: #181818;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transform: translateY(20px);
    transition: 0.4s;
}

.checkout-modal.active .checkout-container {
    transform: translateY(0);
}

.checkout-header {
    padding: 1.5rem;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.checkout-body {
    padding: 2rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.order-summary h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Mock Stripe Element */
.stripe-element-mock {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 6px;
    padding: 0.8rem;
    gap: 10px;
}

.card-icon {
    font-size: 1.2rem;
}

.stripe-element-mock input {
    background: transparent;
    border: none;
    color: #333;
    padding: 0;
    font-size: 1rem;
}

.card-input {
    flex-grow: 1;
}

.card-date {
    width: 50px;
}

.card-cvc {
    width: 40px;
}

.pay-btn {
    width: 100%;
    padding: 1rem;
    background: #4CAF50;
    /* Green for secure payment */
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.pay-btn:hover {
    background: #43A047;
}

.security-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Header Actions & Cart Customization */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: rgba(255, 95, 31, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 95, 31, 0.2);
}

.cart-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
}

/* Fix for any unwanted lines */
.cart-btn::after,
.cart-btn::before {
    display: none !important;
}
/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropbtn {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropbtn i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i,
.dropdown.active .dropbtn i {
    transform: rotate(180deg);
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    border-radius: var(--radius-md);
    padding: 0.8rem 0;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Invisible bridge to prevent closing on gap */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: var(--text-color) !important;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(255, 95, 31, 0.15);
    color: var(--primary-blue) !important;
    padding-left: 1.8rem;
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    nav ul.active .dropdown {
        display: block;
        width: 100%;
        height: auto;
        padding: 0.5rem 0;
    }
    
    nav ul.active .dropdown-content {
        position: static;
        visibility: visible;
        display: block;
        opacity: 1;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        margin-top: 0.5rem;
        pointer-events: auto;
        min-width: 100%;
    }

    nav ul.active .dropbtn {
        pointer-events: auto;
        color: var(--primary-blue);
        margin-bottom: 0px;
        font-size: 1rem;
        justify-content: space-between;
        width: 100%;
    }

    nav ul.active .dropbtn i {
        display: block;
    }
}

