/* ============================================
   Exellent Rent A Car — Coming Soon
   ============================================ */

:root {
    --color-red: #D42A2A;
    --color-red-light: #E53535;
    --color-red-dark: #B01E1E;
    --color-black: #0A0A0A;
    --color-bg: #000000;
    --color-white: #FFFFFF;
    --color-text-secondary: #B0B0B0;
    --color-text-muted: #666666;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-white);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
}

.preloader__gauge {
    opacity: 0;
    animation: preloaderFadeIn 0.5s ease 0.2s forwards;
}

.preloader__gauge-fill {
    stroke-dasharray: 170;
    stroke-dashoffset: 170;
    animation: gaugeFill 1.8s ease-out 0.4s forwards;
}

.preloader__needle {
    transform-origin: 40px 40px;
    animation: needleSweep 1.8s ease-out 0.4s forwards;
    transform: rotate(-120deg);
}

.preloader__text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-text-muted);
    margin-top: 1.2rem;
    opacity: 0;
    animation: preloaderFadeIn 0.5s ease 0.5s forwards;
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}

@keyframes gaugeFill {
    to { stroke-dashoffset: 30; }
}

@keyframes needleSweep {
    0% { transform: rotate(-120deg); }
    100% { transform: rotate(100deg); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: -10%;
    background-image: url('../images/ExellentBG.webp');
    background-size: cover;
    background-position: center center;
    will-change: transform;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.1s linear;
}

@media (max-width: 768px) {
    .hero__bg {
        background-image: url('../images/ExellentRentACar02.jpg');
        background-position: center center;
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 60%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 4rem;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    opacity: 0;
    animation: heroContentIn 1s ease 2.2s forwards;
}

.hero__title {
    font-family: var(--font-sans);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin-bottom: 0.1em;
}

.hero__title-e {
    color: var(--color-white);
}

.hero__title-x {
    color: var(--color-red);
    font-style: italic;
    font-weight: 900;
}

.hero__title-rest {
    color: var(--color-white);
}

.hero__subtitle {
    font-family: var(--font-sans);
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--color-black);
    background: var(--color-white);
    display: inline-block;
    padding: 0.3em 0.8em;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.hero__divider {
    width: 50px;
    height: 2px;
    background: var(--color-red);
    margin: 0 auto 1.5rem;
}

.hero__tagline {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 200;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 80px rgba(0, 0, 0, 0.5);
}

.hero__sub {
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 300;
    color: var(--color-text-secondary);
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.hero__location {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
}

/* Social Icons */
.hero__social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero__social-link {
    color: var(--color-text-secondary);
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
}

.hero__social-link:hover {
    color: var(--color-red);
    transform: translateY(-2px);
}

/* Bottom bar (social + copyright) */
.hero__bottom {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    opacity: 0;
    animation: heroContentIn 1s ease 2.5s forwards;
}

.hero__copyright {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.75rem;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info {
    position: relative;
    background: var(--color-bg);
    padding: 5rem 1.5rem;
    text-align: center;
    z-index: 3;
    overflow: hidden;
}

.info__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.info::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(212, 42, 42, 0.2) 0%, rgba(212, 42, 42, 0.08) 40%, transparent 70%);
    z-index: 0;
    filter: blur(80px);
    pointer-events: none;
}

@media (min-width: 700px) {
    .info__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info__card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem 1.5rem 2rem;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.info__card:hover {
    border-color: rgba(212, 42, 42, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.info__card.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.info__card:nth-child(2).visible {
    animation-delay: 0.15s;
}

.info__card:nth-child(3).visible {
    animation-delay: 0.3s;
}

.info__card-bg-icon {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 150px;
    height: 150px;
    color: var(--color-red);
    opacity: 0.08;
    pointer-events: none;
}

.info__heading {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.info__text {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.info__cta-section {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: 0 auto;
}

.info__cta-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.info__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.info__cta-btn:hover {
    background: var(--color-red-light);
    transform: translateY(-2px);
}

.info__cta-btn:active {
    transform: translateY(0);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Selection --- */
::selection {
    background: var(--color-red);
    color: var(--color-white);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}
