/* =============================================================================
   MyMagicDetailing - Design
   ============================================================================= */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS VARIABLES */
:root {
    /* Colors - Ultra Dark with Blue Accents */
    --black: #0a0a0f;
    --black-soft: #0f1218;
    --black-card: rgba(15, 20, 30, 0.6);
    --gray-900: #1a1f2e;
    --gray-800: #232937;
    --gray-700: #3a4254;
    --gray-500: #8891a8;
    --gray-300: #b4bdd0;
    
    /* Blue Accent - Modern Tech */
    --blue: #4a9eff;
    --blue-light: #6eb3ff;
    --blue-dark: #2980d9;
    --blue-glow: rgba(74, 158, 255, 0.3);
    
    /* White */
    --white: #ffffff;
    --white-soft: #f5f7fa;
    --white-dim: rgba(255, 255, 255, 0.92);
    --white-muted: rgba(255, 255, 255, 0.7);
    --white-ghost: rgba(255, 255, 255, 0.12);
    --white-whisper: rgba(255, 255, 255, 0.05);
    
    /* Spacing */
    --container-max: 1280px;
    --container-padding: clamp(24px, 5vw, 80px);
    --section-padding: clamp(80px, 12vw, 160px);
    --gap-xs: 8px;
    --gap-sm: 16px;
    --gap-md: 24px;
    --gap-lg: 40px;
    --gap-xl: 60px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.15);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white-dim);
    background: var(--black);
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(74, 158, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(74, 158, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 50, 90, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1) translateY(-20px);
    }
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

em, .serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: var(--blue-light);
    font-weight: 400;
}

/* CONTAINER */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--white-whisper);
    transition: all 0.3s var(--ease-smooth);
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav__logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s var(--ease-smooth);
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.05);
}

.nav__menu {
    display: none;
    gap: var(--gap-lg);
}

.nav__link {
    font-size: 15px;
    font-weight: 500;
    color: var(--white-muted);
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s var(--ease-smooth);
}

.nav__link:hover {
    color: var(--white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.nav__burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.nav__burger:hover span {
    background: var(--blue);
}

@media (min-width: 768px) {
    .nav__menu {
        display: flex;
    }
    
    .nav__burger {
        display: none;
    }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
    line-height: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px var(--blue-glow);
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--blue-glow), 0 0 60px rgba(74, 158, 255, 0.25);
}

.btn--secondary {
    background: var(--white-whisper);
    color: var(--white);
    border: 1px solid var(--white-ghost);
}

.btn--secondary:hover {
    background: var(--white-ghost);
    border-color: var(--white-muted);
}

.btn--ghost {
    background: transparent;
    color: var(--white-muted);
    border: 1px solid var(--white-ghost);
}

.btn--ghost:hover {
    color: var(--white);
    border-color: var(--white-muted);
}

.btn--large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    gap: var(--gap-xl);
    align-items: center;
}

.hero__content {
    max-width: 700px;
}

.hero__badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--white-whisper);
    border-radius: 50px;
    margin-bottom: var(--gap-md);
}

.hero__title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.hero__title em {
    display: inline-block;
}

.hero__text {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    color: var(--white-muted);
    margin-bottom: var(--gap-lg);
    max-width: 600px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-xl);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--gap-md);
    padding-top: var(--gap-lg);
    border-top: 1px solid var(--white-whisper);
}

.stat {
    text-align: center;
}

.stat__value {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 14px;
    color: var(--white-muted);
}

.hero__visual {
    position: relative;
}

.hero__image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero__image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================================================
   REVIEWS SECTION
   ============================================================================= */

.reviews {
    padding: var(--section-padding) 0;
    background: var(--black-soft);
}

.reviews__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-md);
    margin-bottom: var(--gap-xl);
}

.reviews__score {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.reviews__rating {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.reviews__stars {
    font-size: 24px;
    color: var(--blue);
    line-height: 1;
}

.reviews__count {
    font-size: 14px;
    color: var(--white-muted);
    margin-top: 4px;
}

.reviews__track {
    position: relative;
    overflow: hidden;
    /* Der Fade-Effekt: Links und rechts 15% Ausblendung */
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 15%, 
        black 85%, 
        transparent 100%
    );
}

.reviews__carousel {
    display: flex;
    gap: var(--gap-md);
    animation: scroll-reviews 40s linear infinite;
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.reviews__carousel:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 350px;
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--blue-glow);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.review-card__name {
    font-weight: 600;
    color: var(--white);
}

.review-card__stars {
    color: var(--blue);
    font-size: 14px;
}

.review-card__text {
    color: var(--white-muted);
    line-height: 1.5;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Duplicate for infinite scroll */
.reviews__carousel::after {
    content: '';
    flex: 0 0 400px;
}

/* =============================================================================
   VALUE SECTION
   ============================================================================= */

.value {
    padding: var(--section-padding) 0;
}

.value__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--gap-xl);
}

.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.section-text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: var(--white-muted);
}

.value__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-md);
    margin-top: var(--gap-xl);
}

.value-card {
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    transition: all 0.3s var(--ease-smooth);
}

.value-card:hover {
    border-color: var(--blue);
    transform: translateY(-8px);
    box-shadow: 0 8px 32px var(--blue-glow);
}

.value-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-whisper);
    border-radius: var(--radius-md);
    color: var(--blue);
    margin-bottom: var(--gap-md);
}

.value-card__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-sm);
}

.value-card__text {
    color: var(--white-muted);
    line-height: 1.6;
}

/* =============================================================================
   SERVICES SECTION
   ============================================================================= */

.services {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--black-soft);
}

.services__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--gap-xl);
}

.services__grid {
    display: grid;
    gap: var(--gap-lg);
}

.service-card {
    display: grid;
    gap: var(--gap-md);
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.service-card:hover {
    border-color: var(--blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card__image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}

.service-card:hover .service-card__image img {
    transform: scale(1.05);
}

.service-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
    background: var(--blue);
    border-radius: 50px;
}

.service-card__content {
    padding: 0 var(--gap-lg) var(--gap-lg);
}

.service-card__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-sm);
}

.service-card__text {
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: var(--gap-md);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    transition: gap 0.3s var(--ease-smooth);
}

.service-card__link:hover {
    gap: 12px;
}

@media (min-width: 768px) {
    .service-card {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .service-card:nth-child(even) .service-card__image {
        order: 2;
    }
}

/* =============================================================================
   PARTNER SECTION
   ============================================================================= */

.partner {
    padding: var(--section-padding) 0;
}

.partner__card {
    display: grid;
    gap: var(--gap-xl);
    background: linear-gradient(135deg, var(--black-card) 0%, var(--black-soft) 100%);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-xl);
    padding: var(--gap-xl);
    align-items: center;
}

.partner__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: var(--gap-md);
}

.partner__text {
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: var(--gap-md);
}

.partner__visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.partner__visual img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

@media (min-width: 1024px) {
    .partner__card {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================================================
   CONTACT SECTION
   ============================================================================= */

.contact {
    padding: var(--section-padding) 0;
    background: var(--black-soft);
}

.contact__grid {
    display: grid;
    gap: var(--gap-xl);
}

.contact__left {
    max-width: 600px;
}

.contact__actions {
    display: grid;
    gap: var(--gap-sm);
    margin-top: var(--gap-lg);
    margin-bottom: var(--gap-lg);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-md);
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-smooth);
}

.contact-link:hover {
    border-color: var(--blue);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.contact-link--highlight {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.contact-link__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-whisper);
    border-radius: var(--radius-sm);
    color: var(--blue);
}

.contact-link__content {
    flex: 1;
}

.contact-link__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-muted);
    margin-bottom: 4px;
}

.contact-link__value {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.contact-link__arrow {
    color: var(--blue);
    transition: transform 0.3s var(--ease-smooth);
}

.contact-link:hover .contact-link__arrow {
    transform: translateX(4px);
}

.contact__info {
    display: grid;
    gap: var(--gap-sm);
    padding-top: var(--gap-md);
    border-top: 1px solid var(--white-whisper);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-info__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-muted);
}

.contact-info__value {
    font-size: 16px;
    color: var(--white);
}

.contact-info__value:hover {
    color: var(--blue);
}

.map-card {
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-card__frame {
    width: 100%;
    height: 400px;
    filter: grayscale(100%) invert(95%) contrast(90%);
}

.map-card__frame iframe {
    width: 100%;
    height: 100%;
}

.map-card__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-md);
    padding: var(--gap-md);
}

.map-card__address {
    font-size: 14px;
    line-height: 1.6;
    color: var(--white-muted);
}

.map-card__address strong {
    display: block;
    color: var(--white);
    margin-bottom: 4px;
}

@media (min-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
    background: var(--black);
    border-top: 1px solid var(--white-whisper);
    padding: var(--gap-xl) 0 var(--gap-md);
}

.footer__grid {
    display: grid;
    gap: var(--gap-xl);
    padding-bottom: var(--gap-xl);
    border-bottom: 1px solid var(--white-whisper);
}

.footer__brand {
    max-width: 400px;
}

.footer__logo img {
    height: 40px;
    width: auto;
    margin-bottom: var(--gap-md);
}

.footer__tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--white-muted);
    margin-bottom: var(--gap-md);
}

.footer__social {
    display: flex;
    gap: var(--gap-sm);
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-whisper);
    border-radius: var(--radius-sm);
    color: var(--white-muted);
    transition: all 0.3s var(--ease-smooth);
}

.footer__social a:hover {
    background: var(--blue);
    color: var(--black);
    transform: translateY(-2px);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--gap-lg);
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.footer__heading {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
}

.footer__column a {
    font-size: 14px;
    color: var(--white-muted);
}

.footer__column a:hover {
    color: var(--blue);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--gap-md);
}

.footer__bottom p {
    font-size: 14px;
    color: var(--white-muted);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* =============================================================================
   FLOATING ACTION BUTTON
   ============================================================================= */

.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    border-radius: 50%;
    box-shadow: 0 8px 32px var(--blue-glow);
    z-index: 999;
    transition: all 0.3s var(--ease-smooth);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.4);
}

.fab svg {
    color: var(--black);
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

.reveal-line,
.reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-line.visible,
.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-line:nth-child(2) { transition-delay: 0.1s; }
.reveal-fade:nth-child(2) { transition-delay: 0.15s; }
.reveal-fade:nth-child(3) { transition-delay: 0.2s; }

.stat:nth-child(1) { transition-delay: 0.1s; }
.stat:nth-child(2) { transition-delay: 0.2s; }
.stat:nth-child(3) { transition-delay: 0.3s; }

.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }

.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 767px) {
    .hero__cta {
        flex-direction: column;
    }
    
    .btn--large {
        width: 100%;
    }
    
    .reviews__carousel {
        animation-duration: 30s;
    }
    
    .review-card {
        flex: 0 0 320px;
    }
}

/* =============================================================================
   PAGE HEADER (for subpages)
   ============================================================================= */

.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.page-header__title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.page-header__text {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: var(--white-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* =============================================================================
   SERVICE DETAIL SECTIONS
   ============================================================================= */

.service-detail {
    padding: var(--section-padding) 0;
}

.service-detail--alt {
    background: var(--black-soft);
}

.service-detail__grid {
    display: grid;
    gap: var(--gap-xl);
    align-items: start;
}

.service-detail__badge {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
    background: var(--blue);
    border-radius: 50px;
    margin-bottom: var(--gap-md);
}

.service-detail__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--gap-md);
    letter-spacing: -0.02em;
}

.service-detail__text {
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: var(--gap-lg);
}

.service-detail__text p {
    margin-bottom: var(--gap-sm);
}

.service-detail__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail__visual img {
    width: 100%;
    max-height: 500px; 
    object-fit: cover; 
    border-radius: var(--radius-lg);
    display: block;
}

@media (max-width: 768px) {
    .service-detail__visual img {
        max-height: 300px;
    }
}

@media (min-width: 1024px) {
    .service-detail__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-xl);
    }
    
    .service-detail--alt .service-detail__visual {
        order: -1;
    }
}

/* =============================================================================
   SERVICE FEATURES
   ============================================================================= */

.service-features {
    margin-bottom: var(--gap-xl);
    padding: var(--gap-md);
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
}

.service-features__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-sm);
}

.service-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--gap-xs);
}

.service-features__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--white-muted);
    line-height: 1.6;
}

.service-features__list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--blue);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* =============================================================================
   SERVICE PACKAGES
   ============================================================================= */

.service-packages {
    margin-bottom: var(--gap-xl);
}

.service-packages__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-md);
}

.package-card {
    position: relative;
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    padding: var(--gap-md);
    margin-bottom: var(--gap-sm);
    transition: all 0.3s var(--ease-smooth);
}

.package-card:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.package-card--highlight {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.package-card__badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
    background: var(--blue);
    border-radius: 50px;
}

.package-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-sm);
}

.package-card__name {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
}

.package-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    white-space: nowrap;
}

.package-card__desc {
    color: var(--white-muted);
    line-height: 1.6;
    margin: 0;
}

/* =============================================================================
   CONTACT OPTIONS
   ============================================================================= */

.contact-options {
    padding: var(--section-padding) 0;
}

.contact-options__grid {
    display: grid;
    gap: var(--gap-md);
}

.contact-option {
    display: flex;
    flex-direction: column;
    padding: var(--gap-lg);
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-smooth);
    text-align: center;
}

.contact-option:hover {
    border-color: var(--blue);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-option--highlight {
    border-color: var(--blue);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.contact-option__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-whisper);
    border-radius: var(--radius-md);
    color: var(--blue);
    margin: 0 auto var(--gap-md);
}

.contact-option__icon--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--white);
}

.contact-option__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-sm);
}

.contact-option__text {
    color: var(--white-muted);
    line-height: 1.7;
    margin-bottom: var(--gap-md);
}

.contact-option__cta {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    margin-top: auto;
}

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

/* =============================================================================
   LOCATION SECTION
   ============================================================================= */

.location-section {
    padding: var(--section-padding) 0;
    background: var(--black-soft);
}

.location__grid {
    display: grid;
    gap: var(--gap-xl);
    align-items: start;
}

.info-cards {
    display: grid;
    gap: var(--gap-md);
    margin: var(--gap-lg) 0;
}

.info-card {
    display: flex;
    gap: var(--gap-md);
    padding: var(--gap-md);
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-md);
}

.info-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-whisper);
    border-radius: var(--radius-sm);
    color: var(--blue);
}

.info-card__title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white-muted);
    margin-bottom: 4px;
}

.info-card__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    margin: 0;
}

.location__map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-embed {
    width: 100%;
    height: 600px;
    filter: grayscale(100%) invert(95%) contrast(90%);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px) {
    .location__grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* =============================================================================
   CTA SECTION
   ============================================================================= */

.cta-section {
    padding: var(--section-padding) 0;
    background: var(--black);
}

.cta-card {
    text-align: center;
    padding: var(--gap-xl);
    background: linear-gradient(135deg, var(--black-card) 0%, var(--black-soft) 100%);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-xl);
    max-width: 900px;
    margin: 0 auto;
}

.cta-card__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--white);
    margin-bottom: var(--gap-md);
}

.cta-card__text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--white-muted);
    margin-bottom: var(--gap-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap-sm);
}

@media (max-width: 640px) {
    .cta-card__actions {
        flex-direction: column;
    }
    
    .cta-card__actions .btn {
        width: 100%;
    }
}

/* =============================================================================
   UTILITIES
   ============================================================================= */

.text-center { text-align: center; }
.text-gold { color: var(--blue); }
.text-muted { color: var(--white-muted); }

/* =============================================================================
   LEGAL PAGES
   ============================================================================= */

.legal-section {
    padding: var(--section-padding) 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-nav {
    display: flex;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-xl);
    padding-bottom: var(--gap-md);
    border-bottom: 1px solid var(--white-whisper);
    flex-wrap: wrap;
}

.legal-nav__link {
    padding: 10px 20px;
    background: var(--black-card);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--white-muted);
    transition: all 0.3s var(--ease-smooth);
}

.legal-nav__link:hover {
    border-color: var(--blue);
    color: var(--white);
}

.legal-block {
    margin-bottom: var(--gap-xl);
    padding-bottom: var(--gap-xl);
    border-bottom: 1px solid var(--white-whisper);
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-lg);
}

.legal-block h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-top: var(--gap-lg);
    margin-bottom: var(--gap-sm);
}

.legal-block h4 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white-muted);
    margin-top: var(--gap-md);
    margin-bottom: var(--gap-sm);
}

.legal-block p {
    color: var(--white-muted);
    line-height: 1.8;
    margin-bottom: var(--gap-sm);
}

/* =============================================================================
   CONTACT FORM
   ============================================================================= */

.contact-form {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-lg);
    padding: var(--gap-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-form__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--gap-xs);
}

.contact-form__subtitle {
    font-size: 14px;
    color: var(--white-muted);
    margin-bottom: var(--gap-lg);
}

.form-group {
    margin-bottom: var(--gap-md);
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--white-dim);
    margin-bottom: var(--gap-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 15, 25, 0.5);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s var(--ease-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: rgba(10, 15, 25, 0.8);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.form-message {
    margin-top: var(--gap-md);
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(74, 255, 158, 0.1);
    border: 1px solid rgba(74, 255, 158, 0.3);
    color: #4aff9e;
}

.form-message.error {
    display: block;
    background: rgba(255, 74, 74, 0.1);
    border: 1px solid rgba(255, 74, 74, 0.3);
    color: #ff4a4a;
}

/* =============================================================================
   ADMIN LOGIN BUTTON
   ============================================================================= */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    position: relative;
}

.login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(74, 158, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(74, 158, 255, 0.08) 0%, transparent 50%);
    animation: gradient-shift 15s ease infinite;
}

.login-box {
    width: 100%;
    max-width: 420px;
    padding: var(--gap-xl);
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--white-whisper);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.login-box__logo {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.login-box__logo img {
    height: 50px;
    margin: 0 auto;
}

.login-box__title {
    font-size: 28px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: var(--gap-sm);
}

.login-box__subtitle {
    font-size: 14px;
    color: var(--white-muted);
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.login-form .form-group {
    margin-bottom: var(--gap-md);
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--blue-glow);
}

.login-btn:hover::before {
    left: 100%;
}

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

/* =============================================================================
   ENHANCED GLASSMORPHISM FOR CARDS
   ============================================================================= */

.value-card,
.service-card,
.review-card,
.package-card {
    background: rgba(15, 20, 30, 0.5);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
}

.glassCard,
.contact-link,
.info-card {
    background: rgba(15, 20, 30, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}
