/* --- Global Styles & Variables --- */
:root {
    --color-black: #121212; /* Deep black for background */
    --color-gray-dark: #1a1a1a; /* Darker gray for elements */
    --color-gray: #282828;   /* Main gray for cards/sections */
    --color-gray-light: #888; /* Lighter gray for subtle text */
    --color-white: #f5f5f5;
    --color-blue: #007bff;   /* Primary accent blue */
    --color-blue-light: #3399ff; /* Lighter blue for hovers/accents */

    /* --- FONT CHANGE HERE --- */
    --font-primary: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body); 
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
}

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

a {
    color: var(--color-blue);
    text-decoration: none;
}

h1, h2, h3 {
    font-family: var(--font-primary); /* Headlines use Orbitron */
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* CORRECTED GRADIENT TEXT RULE WITH SLANT */
.gradient-text {
    background: linear-gradient(135deg, #A9A9A9 50%, #fff 50%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important; 
}


/* --- Header & Footer (Loaded via JS) --- */
.main-header, .main-footer {
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
}

.main-header {
     background-color: rgba(18, 18, 18, 0.8); /* Translucent Black */
    backdrop-filter: blur(10px); /* Adds a blur effect to the background */
    -webkit-backdrop-filter: blur(10px); 
    padding: 0.25rem 0;
    transition: background-color 0.4s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-white);
    letter-spacing: 2px;
}

/* This ensures the gradient works on the logo */
.logo.gradient-text {
    color: transparent;
}


.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 20px; 
}

.main-nav a {
    color: var(--color-white);
    font-size: 0.9rem; 
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    font-family: var(--font-primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-blue);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.main-nav a:hover::after, .main-nav a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.main-nav a.active {
    color: var(--color-blue);
}

.header-right {
    display: flex;
    align-items: center;
}

.account-icon {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.account-icon:hover {
    color: var(--color-blue);
}

.header-logo-placeholder {
    margin-left: 25px; /* Space between nav and logo */
}

.header-logo-placeholder img {
    height: 80px; /* Adjust height as needed */
    width: auto;
}

.main-footer {
    background-color: var(--color-gray-dark);
    color: var(--color-gray-light);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-gray);
}

/* --- Footer Social Media --- */
.social-media {
    margin-bottom: 1rem;
}

.social-media a {
    color: var(--color-gray-light);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--color-blue);
}

/* --- Mobile Menu Toggle Button --- */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1100;
}

/* --- General Purpose Animations --- */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-on-load {
    opacity: 0;
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(30px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media(max-width: 768px) {
    .main-header .container {
        display: flex;
        justify-content: space-between; 
        align-items: center;
    }

    .logo {
        flex-grow: 1;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
        order: -1;
    }

    .header-right {
        position: fixed;
        top: 0;
        /* CHANGED: Animate from the left */
        left: -100%; 
        right: auto;
        width: 60%;
        max-width: 280px;
        height: 100vh;
        background-color: var(--color-gray-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease-in-out;
        z-index: 1050;
    }

    .header-right.active {
        
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .main-nav ul li {
        margin: 0;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .account-icon {
        margin: 20px 0 0 0;
    }
}

/* --- Adjustments for Desktop --- */
@media(min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.product-card img {
    object-fit: contain ;
    background: #1a1a1a ;
}