/* =========================================================
   CASANOVA CAR RENTAL — HOME PAGE: RENTAL PROCESS
   Single-row attractive step cards | Dark theme
   Colors: Amber #FFBF01 | Rich Black #111111
========================================================= */

.process-section {
    position: relative;
    background-color: var(--color-rich-black);
    padding: 50px 0;
    overflow: hidden;
}

/* Soft amber glow for depth, consistent with fleet section */
.process-section::before {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -140px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 191, 1, 0.1) 0%, rgba(255, 191, 1, 0) 70%);
    pointer-events: none;
}

.process-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* -----------------------------------------
   Heading (plain eyebrow, no decorative line)
----------------------------------------- */
.process-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.process-eyebrow {
    display: inline-block;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-amber);
    margin-bottom: 16px;
}

.process-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--color-white);
    line-height: 1.2;
}

/* -----------------------------------------
   Row of step cards
----------------------------------------- */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 44px 26px 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    transition-delay: calc(var(--step-index, 0) * 0.1s);
}

.process-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    border-color: rgba(255, 191, 1, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(-6px);
}

.process-step.is-visible:hover {
    transform: translateY(-6px);
}

/* Connector arrow between cards (desktop row only) */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 72px;
    right: -32px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 191, 1, 0.5), rgba(255, 191, 1, 0.1));
    z-index: 1;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 67px;
    right: -34px;
    width: 8px;
    height: 8px;
    border-top: 2px solid rgba(255, 191, 1, 0.6);
    border-right: 2px solid rgba(255, 191, 1, 0.6);
    transform: rotate(45deg);
    z-index: 1;
}

/* -----------------------------------------
   Icon + step number
----------------------------------------- */
.process-icon-wrap {
    position: relative;
    display: inline-flex;
    margin-bottom: 24px;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-amber);
    color: var(--color-rich-black);
    box-shadow: 0 8px 24px rgba(255, 191, 1, 0.25);
}

.process-step-number {
    position: absolute;
    top: -8px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 4px;
    border-radius: 50%;
    background-color: var(--color-rich-black);
    border: 1px solid rgba(255, 191, 1, 0.5);
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-amber);
}

/* -----------------------------------------
   Content
----------------------------------------- */
.process-step-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 19px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.process-step-desc {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   RESPONSIVE — TABLET (2 columns)
========================================================= */
@media (max-width: 1024px) {
    .process-section {
        padding: 80px 0;
    }

    .process-container {
        padding: 0 24px;
    }

    .process-row {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 48px;
    }

    /* Arrows only make sense in a single row — hide on 2-col layout */
    .process-step::after,
    .process-step::before {
        display: none;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (single column)
========================================================= */
@media (max-width: 640px) {
    .process-heading {
        margin-bottom: 44px;
    }

    .process-row {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .process-step {
        padding: 36px 22px 28px;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .process-step {
        opacity: 1;
        transform: none;
        transition: none;
    }
}