/*
 * styles-variables.css
 * This file consolidates all CSS Custom Properties (variables) for the entire project.
 * It should be included before all other stylesheets.
 */

:root {
    /* --- Colors --- */

    /* Global/Branding Colors */
    --color-primary-text: #1a1a1a;
    --color-secondary-text: #4a4a4a;
    --color-accent: #6a11cb;
    --color-accent-dark: #2575fc;
    --color-accent-pink: #ff00b7;
    --color-white: #ffffff;
    --brand: #5b21ff;
    --brand-2: #9333ea;

    /* Status & Utility Colors */
    --primary-color: #004a66;
    --secondary-color: #004a66;
    /* Note: This is a duplicate of primary-color */
    --text-color: #2b2d42;
    --light-gray: #e9ecef;
    --light-color: #ddd;
    --error-bg: #fee2e2;
    --error-text: #b91c1c;

    /* Shop/Blog Specific Colors */
    --ink: #0e2431;
    --muted: #5f6b76;
    --bg: #f6f7fb;
    --card: #fff;

    /* --- Typography --- */
    --font-family-base: 'Inter', sans-serif;

    /* --- Dimensions --- */
    --nav-height: 70px;
    --card-radius: 15px;
    --border-radius: 10px;

    /* --- Transitions & Animations --- */
    --transition-speed: 400ms;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --blob-hue-rotate: 0deg;

    /* --- Shadows --- */
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* --- Base Styles --- */
body {
    font-family: var(--font-family-base);
    margin: 0;
    background-color: var(--color-white);
    color: var(--color-primary-text);
}

/* --- Sticky Navigation Bar --- */
.main-nav {
    height: var(--nav-height);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary-text);
    text-decoration: none;
}

.nav-logo svg {
    width: 32px;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-secondary-text);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a.active-link,
.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-menu a.active-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-accent);
}

/* --- CORRECTED MOBILE NAVIGATION STYLES --- */

/* Hide the toggle button by default on larger screens */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    /* Ensure it's on top */
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary-text);
    position: relative;
    transition: background-color 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-text);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* On mobile screens, show the toggle button */
@media (max-width: 767px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        /* Changed from absolute to fixed */
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        height: calc(100vh - var(--nav-height));
        /* Full height minus nav */
        overflow-y: auto;
        /* Allow scrolling if menu is too long */
    }

    .nav-menu.active {
        transform: translateX(0);
    }



    /* Set overflow hidden on the main nav container to prevent horizontal scroll */
    .main-nav {
        overflow: visible;
    }





}

/* Animate the hamburger icon when the menu is active */
.nav-toggle.active .hamburger {
    background-color: transparent;
    /* Hide the middle line */
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}


.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.companyname {
    font-size: 2rem;
    font-weight: 800;
}