/**
 * Montserrat is available from Google Fonts.
 * You do NOT need to use @font-face and self-host files if you load from Google Fonts.
 * Just ensure you load Montserrat weights from Google Fonts in your HTML, e.g.:
 *
 * <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;900&display=swap" rel="stylesheet">
 *
 * Then use:
 *   font-family: 'Montserrat', sans-serif;
 *
 * No @font-face rules are needed when using the Google Fonts CDN.
 */

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

:root {
    --primary-blue: #0099CC;
    --dark-blue: #003366;
    --light-blue: #00D4FF;
    --purple: #6B5B95;
    --dark-purple: #5A4A84;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
    --text-color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(90deg, #6951fa 0%, #00b4ea 100%);
    padding: 1.2rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ghost-mark {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: auto;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-right: 2rem;
}

.ghost-mark img {
    height: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    height: 100%;
    min-height: 40px;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

@media (max-width: 960px) and (min-width: 768px) {
    .nav-links {
        gap: 1.2rem;
        font-size: 0.8rem;
    }
    .nav-links li:not(:last-child)::after {
        margin-left: 1.2rem !important;
    }
}

.nav-links li {
    display: inline-flex;
    align-items: center;
}

.nav-links li:not(:last-child)::after {
    content: '|';
    color: var(--white);
    margin-left: 3rem;
    opacity: 0.6;
    align-self: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links li.nav-link-mobile-only {
    display: none;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 20;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.0);
    z-index: 12;
}

.menu-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: linear-gradient(90deg, #6951fa 0%, #00b4ea 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        z-index: 15;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links li:not(:last-child)::after {
        display: none;
    }
    /* Hide product links on deskto */
    .nav-links li.nav-link-mobile-only {
        display: block;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }
    .ghost-mark {
        display: none;
    }
}

/* Category Bar Section */
.category-bar {
    margin-top: 80px;
    background: #000000;
    padding: 1.5rem 2rem;
    text-align: center;
}

.category-bar-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #00a4fc 0%, #4a74f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.category-bar-text a {
    text-decoration: none;
    background: linear-gradient(90deg, #00a4fc 0%, #4a74f8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .category-bar {
        margin-top: 60px;
        padding: 1rem;
    }
    .category-bar-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

.img-responsive {
    width: 100%;
    height: auto;
    object-fit: contain;
}
