/* --- Global Reset & Fonts --- */

:root {
    --bg-black: #0A0A0A;
    --text-white: #FFFFFF;
    --text-gray: #CCCCCC;
    --primary-orange: #FF5C00;
    --font-inter: 'Inter', sans-serif;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    font-family: var(--font-inter);
    color: var(--text-white);
    overflow-x: hidden;
    /* Prevent horizontal scroll on mobile menu slide */
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}


/* --- Header & Navbar Layout --- */

.main-header {
    background-color: var(--bg-black);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    /* Keep header at the top like the screenshot */
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* --- A. The Logo Section --- */

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Ensures the link area covers the header height */
}

.logo-img {
    height: 100px;
    /* Adjust this value to match the screenshot exactly */
    width: auto;
    /* Maintains aspect ratio so it doesn't look stretched */
    display: block;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
    /* Slight fade effect when hovering, common in high-end sites */
}


/* Mobile Adjustment */

@media screen and (max-width: 992px) {
    .logo-img {
        height: 100px;
        /* Slightly smaller for mobile screens */
    }
}


/* --- B. Desktop Navigation Links --- */

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    /* Precise spacing from image */
}

.nav-links a {
    font-size: 15px;
    color: var(--text-gray);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-white);
}

.mobile-cta {
    display: none;
    /* Hidden on desktop */
}


/* --- C. CTA Button & Mobile Icon Section --- */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--primary-orange);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-cta-btn:hover {
    background-color: #E04D00;
    /* Darker orange on hover */
}

.nav-cta-btn i {
    font-size: 16px;
}


/* --- D. Mobile Menu Toggle --- */

.menu-toggle {
    font-size: 28px;
    color: var(--text-white);
    cursor: pointer;
    display: none;
    /* Hidden on desktop */
}


/* ========================================= */


/* --- Responsive Media Queries (Mobile) --- */


/* ========================================= */

@media screen and (max-width: 992px) {
    .nav-links {
        position: fixed;
        right: -100%;
        /* Start off-screen right */
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
        width: 70%;
        /* Takes up 70% of width on mobile */
        background-color: #0d0d0d;
        /* Slightly lighter black for depth */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 40px;
        gap: 25px;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
    }
    /* JavaScript applies this class when the menu is active */
    .nav-links.active {
        right: 0;
        opacity: 1;
    }
    .nav-links a {
        font-size: 18px;
        width: 100%;
        color: var(--text-white);
    }
    /* Mobile CTA inside the menu */
    .mobile-cta {
        display: block;
        margin-top: auto;
        /* Push CTA to bottom of mobile menu */
        width: 100%;
    }
    .mobile-cta .nav-cta-btn {
        width: 100%;
        justify-content: center;
    }
    /* Hide Desktop Elements */
    .desktop-cta {
        display: none;
    }
    /* Show Mobile Elements */
    .menu-toggle {
        display: block;
    }
}