/* ===================================
   Limousine Service Munich
   Premium Styles & Effects
   =================================== */

html { scroll-behavior: smooth; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #C9A961; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #E8D5A3; }

/* ---- Noise texture overlay ---- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ---- Scroll animations ---- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.15s; }
.animate-on-scroll.delay-2 { transition-delay: 0.3s; }
.animate-on-scroll.delay-3 { transition-delay: 0.45s; }
.animate-on-scroll.delay-4 { transition-delay: 0.6s; }
.animate-on-scroll.delay-5 { transition-delay: 0.75s; }

.animate-slide-left {
    opacity: 0; transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-slide-left.visible { opacity: 1; transform: translateX(0); }

.animate-slide-right {
    opacity: 0; transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-slide-right.visible { opacity: 1; transform: translateX(0); }

.animate-scale {
    opacity: 0; transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-scale.visible { opacity: 1; transform: scale(1); }

/* ---- Keyframes ---- */
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgeFade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(201, 169, 97, 0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 97, 0.1), inset 0 0 20px rgba(201, 169, 97, 0.02); }
    50% { box-shadow: 0 0 40px rgba(201, 169, 97, 0.2), inset 0 0 30px rgba(201, 169, 97, 0.05); }
}
@keyframes border-glow {
    0%, 100% { border-color: rgba(201, 169, 97, 0.1); }
    50% { border-color: rgba(201, 169, 97, 0.3); }
}
@keyframes placeholder-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-animate-1 { animation: heroFadeIn 1s ease-out 0.2s both; }
.hero-animate-2 { animation: heroFadeIn 1s ease-out 0.4s both; }
.hero-animate-3 { animation: heroFadeIn 1s ease-out 0.6s both; }
.hero-animate-4 { animation: heroFadeIn 1s ease-out 0.8s both; }
.hero-badge-animate { animation: heroBadgeFade 0.8s ease-out 0.1s both; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-gold { animation: pulse-gold 2s ease-in-out infinite; }
.animate-bounce-arrow { animation: bounce-arrow 2s ease-in-out infinite; }

/* ---- Gold shimmer text ---- */
.gold-shimmer {
    background: linear-gradient(90deg, #C9A961 0%, #E8D5A3 25%, #C9A961 50%, #E8D5A3 75%, #C9A961 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #C9A961, #E8D5A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Glass effect ---- */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- Card glow on hover ---- */
.card-glow {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}
.card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201,169,97,0), rgba(201,169,97,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: background 0.5s ease;
    pointer-events: none;
}
.card-glow:hover {
    box-shadow: 0 0 40px rgba(201, 169, 97, 0.15), 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}
.card-glow:hover::before {
    background: linear-gradient(135deg, rgba(201,169,97,0.4), rgba(201,169,97,0.1), rgba(201,169,97,0.4));
}

/* ---- Animated glow card ---- */
.glow-card {
    animation: glow-pulse 4s ease-in-out infinite;
}

/* ---- Gold line decorations ---- */
.gold-line::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #C9A961;
    margin-top: 16px;
}
.gold-line-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #C9A961;
    margin: 16px auto 0;
}

/* ---- Image placeholder with shimmer ---- */
.img-placeholder {
    background: #0f1218;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(201, 169, 97, 0.1);
}
.img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(201, 169, 97, 0.02) 10px,
        rgba(201, 169, 97, 0.02) 20px
    );
}
.img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.06), transparent);
    animation: placeholder-shimmer 3s ease-in-out infinite;
}
.img-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.15;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.img-placeholder span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.25;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* ---- Hamburger ---- */
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.active span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(4px, -4px); }

/* ---- Route arrow ---- */
.route-arrow {
    display: inline-flex;
    align-items: center;
    color: #C9A961;
}
.route-arrow::before {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: #C9A961;
    margin-right: 4px;
}
.route-arrow::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #C9A961;
}

/* ---- Form ---- */
.form-input:focus {
    border-color: #C9A961 !important;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15), 0 0 20px rgba(201, 169, 97, 0.05);
}

/* ---- Star rating ---- */
.star-rating { color: #fbbf24; letter-spacing: 2px; }

/* ---- FAQ accordion ---- */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.active .faq-content { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ---- Decorative dots pattern ---- */
.dots-pattern {
    background-image: radial-gradient(rgba(201, 169, 97, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ---- Section divider ---- */
.section-divider {
    position: relative;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}
.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: rgba(201, 169, 97, 0.4);
}

/* ---- Gold accent bar ---- */
.gold-accent-left {
    position: relative;
    padding-left: 20px;
}
.gold-accent-left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #C9A961;
}

/* ---- Rotating decoration ---- */
.rotating-decoration {
    animation: rotate-slow 60s linear infinite;
    opacity: 0.03;
    pointer-events: none;
}

/* ---- Selection ---- */
::selection {
    background: rgba(201, 169, 97, 0.3);
    color: #fff;
}

/* ---- Stat counter ---- */
.stat-counter { animation: counter 0.6s ease-out both; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .animate-on-scroll { transform: translateY(20px); }
    .animate-slide-left { transform: translateX(-30px); }
    .animate-slide-right { transform: translateX(30px); }
}
