:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --primary-color: #00f2ff;
    /* Cyan Neon */
    --secondary-color: #7000ff;
    /* Purple Neon */
    --accent-color: #ff0055;
    /* Pink Neon */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: black;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Changed from height to min-height to accommodate tall content */
    padding-top: 100px;
    /* Add padding to clear the fixed navbar */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Improved gradient: Solid black on the first 60% of the screen */
    background: linear-gradient(to right,
            rgba(10, 10, 10, 1) 0%,
            rgba(10, 10, 10, 1) 60%,
            rgba(10, 10, 10, 0) 100%),
        url('rentality_delivery.png');
    background-size: auto 85%;
    /* Constrain height to 85% prevents it from getting too wide */
    background-repeat: no-repeat;
    background-position: 95% center;
    /* Keep it slightly off the right edge */
    background-color: #0a0a0a;
}

.hero-content {
    max-width: 50%;
    /* Strictly half the width */
    min-width: 300px;
    margin-right: auto;
    margin-left: 0;
    position: relative;
    z-index: 2;
    /* Ensure text is above everything */
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
}

/* Features/Catalog Preview */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-speed);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: #aaa;
}

/* Footer */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: #666;
}

/* Burger Icon Base Styles */
.burger {
    display: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .h1 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: var(--bg-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* Center items vertically */
        width: 100%;
        /* Full width */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 998;
        /* Below toggle button */
        padding-top: 60px;
        /* Space for top bar */
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
        margin: 20px 0;
        /* More space between items */
    }

    .burger {
        display: block;
        cursor: pointer;
        z-index: 999;
        /* Above menu */
    }

    /* Hero Padding */
    .hero {
        padding-top: 120px;
        /* More space for fixed nav */
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Adjust specific section paddings */
    .section {
        padding: 50px 0;
    }

    /* Catalog Cards */
    .grid {
        grid-template-columns: 1fr;
        /* Force single column */
    }

    /* Hide the 'Cotizar Ahora' button in header if needed, or style it */
    .nav-content .btn-primary {
        display: none;
        /* Hide top CTA on mobile to save space */
    }
}

/* Hamburger Menu Animation classes */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}