/* =========================================
   ROYAL VIP CARS — SERVICES PAGE
   Mobile-first premium design
========================================= */

/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #0c0b09;
    color: #f4efe5;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   HEADER / NAVBAR
========================================= */

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    min-height: 72px;
    padding: 14px 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;

    background: rgba(12, 11, 9, 0.88);
    border-bottom: 1px solid rgba(200, 164, 93, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.logo {
    color: #c8a45d;
    font-family: "Cinzel", serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-align: center;
}

.page-header nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-header nav a {
    position: relative;
    padding: 7px 8px;

    color: rgba(244, 239, 229, 0.78);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

.page-header nav a:hover,
.page-header nav a:focus-visible {
    color: #c8a45d;
}

.page-header nav a[href="services.html"] {
    color: #c8a45d;
}

.page-header nav a[href="services.html"]::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 1px;

    height: 1px;
    background: #c8a45d;
}


/* =========================================
   SERVICES HERO
========================================= */

.services-hero {
    position: relative;
    min-height: 100svh;
    padding: 150px 22px 70px;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0.58) 55%,
            #0c0b09 100%
        ),
        url("images/services-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(200, 164, 93, 0.08),
            transparent 55%
        );
}

.services-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 700px;
    text-align: center;
}

.services-hero-content span {
    display: inline-block;
    margin-bottom: 16px;

    color: #c8a45d;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.services-hero-content h1 {
    margin-bottom: 20px;

    color: #f7f1e7;
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 11vw, 68px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -1px;
}

.services-hero-content p {
    max-width: 570px;
    margin: 0 auto;

    color: rgba(244, 239, 229, 0.75);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
}


/* =========================================
   SERVICES LIST
========================================= */

.services-list {
    position: relative;
    padding: 80px 18px;
    background:
        radial-gradient(
            circle at top,
            rgba(200, 164, 93, 0.07),
            transparent 35%
        ),
        #0c0b09;
}

.services-list > h2 {
    max-width: 700px;
    margin: 0 auto 14px;

    color: #f4efe5;
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 9vw, 50px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.services-subtitle {
    max-width: 620px;
    margin: 0 auto 42px;

    color: rgba(244, 239, 229, 0.58);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
}

.services-grid {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}


/* =========================================
   SERVICE CARDS
========================================= */

.premium-card {
    position: relative;
    overflow: hidden;

    min-height: 280px;
    padding: 34px 26px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.012)
        );

    border: 1px solid rgba(200, 164, 93, 0.19);
    border-radius: 2px;

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.23),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    transition:
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.premium-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 65px;
    height: 1px;
    background: #c8a45d;
}

.premium-card::after {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;
    border-radius: 50%;

    background: rgba(200, 164, 93, 0.055);
    filter: blur(10px);
}

.premium-card:hover {
    border-color: rgba(200, 164, 93, 0.5);
}

.featured-card {
    background:
        linear-gradient(
            145deg,
            rgba(200, 164, 93, 0.15),
            rgba(200, 164, 93, 0.025)
        );
    border-color: rgba(200, 164, 93, 0.48);
}

.card-icon {
    position: relative;
    z-index: 2;

    width: 52px;
    height: 52px;
    margin-bottom: 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #c8a45d;
    font-size: 25px;

    background: rgba(200, 164, 93, 0.08);
    border: 1px solid rgba(200, 164, 93, 0.26);
    border-radius: 50%;

    filter: sepia(1) saturate(0.65);
}

.premium-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 12px;

    color: #f4efe5;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.premium-card p {
    position: relative;
    z-index: 2;

    margin-bottom: 28px;

    color: rgba(244, 239, 229, 0.62);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
}

.premium-card a {
    position: relative;
    z-index: 2;

    margin-top: auto;
    padding-bottom: 6px;

    color: #c8a45d;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(200, 164, 93, 0.5);
    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.premium-card a:hover {
    color: #f4efe5;
    border-color: #f4efe5;
}


/* =========================================
   CALL TO ACTION
========================================= */

.cta-section {
    position: relative;
    overflow: hidden;

    width: calc(100% - 36px);
    max-width: 1120px;
    margin: 0 auto 80px;
    padding: 58px 24px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(200, 164, 93, 0.16),
            rgba(16, 15, 12, 0.94)
        );

    border: 1px solid rgba(200, 164, 93, 0.34);
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: 90px;
    height: 1px;

    background: #c8a45d;
    transform: translateX(-50%);
}

.cta-section h2 {
    position: relative;
    z-index: 2;

    margin-bottom: 15px;

    color: #f5efe5;
    font-family: "Playfair Display", serif;
    font-size: clamp(31px, 8vw, 48px);
    font-weight: 600;
    line-height: 1.18;
}

.cta-section p {
    position: relative;
    z-index: 2;

    max-width: 560px;
    margin: 0 auto 28px;

    color: rgba(244, 239, 229, 0.64);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
}

.cta-section a {
    position: relative;
    z-index: 2;

    min-height: 50px;
    padding: 14px 30px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    color: #0c0b09;
    background: #c8a45d;
    border: 1px solid #c8a45d;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.cta-section a:hover {
    color: #c8a45d;
    background: transparent;
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-us {
    padding: 80px 18px;
    background:
        linear-gradient(
            180deg,
            #0c0b09 0%,
            #11100d 100%
        );
}

.why-us > h2 {
    max-width: 700px;
    margin: 0 auto 42px;

    color: #f4efe5;
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 9vw, 50px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.why-grid {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.why-item {
    position: relative;
    padding: 28px 24px 28px 28px;

    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 2px solid #c8a45d;
}

.why-item h3 {
    margin-bottom: 9px;

    color: #f4efe5;
    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;
}

.why-item p {
    color: rgba(244, 239, 229, 0.58);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.75;
}


/* =========================================
   GOLD CONTACT ICONS
   Location, phone, email kabi joylar uchun
========================================= */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 13px;

    color: rgba(244, 239, 229, 0.72);
    font-size: 13px;
}

.contact-info-item .icon {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #c8a45d;
    background: rgba(200, 164, 93, 0.08);
    border: 1px solid rgba(200, 164, 93, 0.28);
    border-radius: 50%;

    font-size: 16px;
}

.contact-info-item svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: #c8a45d;
    stroke-width: 1.8;
}


/* =========================================
   TABLET
========================================= */

@media (min-width: 600px) {

    .page-header {
        min-height: 80px;
        padding: 15px 28px;
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        font-size: 18px;
        text-align: left;
    }

    .page-header nav {
        width: auto;
        gap: 12px;
    }

    .page-header nav a {
        font-size: 12px;
        padding: 8px 10px;
    }

    .services-hero {
        padding-top: 120px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-card {
        min-height: 300px;
    }
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 992px) {

    .page-header {
        padding: 18px 60px;
    }

    .page-header nav {
        gap: 26px;
    }

    .services-hero {
        min-height: 92vh;
        padding-inline: 60px;
        background-position: center 45%;
    }

    .services-hero-content p {
        font-size: 15px;
    }

    .services-list,
    .why-us {
        padding: 110px 40px;
    }

    .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .premium-card {
        min-height: 325px;
        padding: 38px 30px;
    }

    .premium-card:nth-child(7) {
        grid-column: 2;
    }

    .why-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .why-item {
        min-height: 180px;
        padding: 32px 26px;
    }

    .cta-section {
        margin-bottom: 100px;
        padding: 80px 40px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .page-header {
        padding-inline: 10px;
    }

    .logo {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .page-header nav {
        gap: 2px;
    }

    .page-header nav a {
        padding-inline: 6px;
        font-size: 10px;
    }

    .services-hero {
        padding-inline: 17px;
    }

    .services-hero-content h1 {
        font-size: 36px;
    }

    .premium-card {
        padding: 30px 22px;
    }

    .cta-section {
        width: calc(100% - 28px);
        padding-inline: 20px;
    }
}


/* =========================================
   ACCESSIBILITY / REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}