/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Oswald:wght@500;700&display=swap');

:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #121212;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-accent: #004a99;
    /* Deep Blue */
    --color-accent-hover: #003366;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --spacing-container: 120px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
}

h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--color-accent);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.section-padding {
    padding: var(--spacing-container) 0;
}


/* Animated Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
}

.logo-icon {
    width: 30px;
    /* Slightly wider to show colors better */
    height: 24px;
    background: linear-gradient(110deg, #002395 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%);
    /* France Blue White Red */
    clip-path: polygon(20% 0%, 100% 0, 80% 100%, 0% 100%);
    /* Slanted rectangle */
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.logo-text span {
    color: white;
    /* ELYTES */
}

.logo-text .highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
    position: relative;
}

.logo-text .highlight::before {
    content: 'RENT';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    animation: fill-text 3s infinite alternate;
    border-right: 2px solid var(--color-accent);
}


@keyframes fill-text {

    0%,
    20% {
        width: 0;
    }

    80%,
    100% {
        width: 100%;
    }
}

.slogan {
    display: block;
    font-size: 0.7rem;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: -5px;
    margin-left: 34px;
    /* Align with text (24px icon + 0.5rem gap) */
    font-weight: 600;
    opacity: 0.8;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    /* Center text */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    /* Center the box itself */
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    margin-left: auto;
    /* Center paragraph */
    margin-right: auto;
}

/* Category Sections */
.category-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.category-section.reverse {
    direction: rtl;
}

.category-section.reverse .text-content {
    direction: ltr;
}

.image-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    /* Make non-active items unclickable */
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: var(--color-accent);
}

.image-container:hover img {
    transform: scale(1.05);
}

.text-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.highlight-option {
    color: white;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

/* Form Section */
.contact-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

input,
select,
textarea {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: white;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: var(--color-bg-secondary);
    padding: 4rem 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    .category-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-section.reverse {
        direction: ltr;
    }

    .image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        /* Optional separator */
    }

    .nav-links.active {
        transform: translateY(0);
    }

    h1 {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    form {
        grid-template-columns: 1fr;
    }
}

/* Premium Equipment Section */
.premium-section {
    background-color: var(--color-bg-secondary);
    text-align: center;
}

.premium-desc {
    margin: 0 auto 3rem auto;
    max-width: 800px;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Increased min width */
    gap: 4rem;
    /* Increased gap */
    text-align: center;
    margin-top: 4rem;
}

.premium-item .image-container {
    height: 300px;
    /* Taller images */
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

.premium-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    /* Transparency effect */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.premium-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.premium-item h3 {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.premium-item p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 90%;
    margin: 0 auto;
}