/* ========================================
   METRIZ Car Rental - Premium Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-dark: #0D2818;
    --primary: #1A4731;
    --primary-light: #2D5A45;
    --gold-light: #D4AF37;
    --gold: #C9A227;
    --gold-dark: #A88B1F;
    --dark: #0A0A0A;
    --light: #F8F9FA;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    background-color: var(--light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Navigation */
#navbar {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0) 100%);
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 162, 39, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Benefit Cards */
.benefit-card {
    position: relative;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card .glass-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover .glass-card {
    transform: translateY(-5px);
}

/* Vehicle Cards */
.vehicle-card {
    position: relative;
    transition: transform 0.4s ease;
}

.vehicle-card:hover {
    transform: translateY(-10px);
}

.vehicle-card .bg-white {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vehicle-card:hover .bg-white {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.vehicle-card img {
    transition: transform 0.5s ease;
}

.vehicle-card:hover img {
    transform: scale(1.1);
}

/* Tourism Cards */
.tourism-card {
    position: relative;
    cursor: pointer;
}

.tourism-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.tourism-card:hover::after {
    border-color: var(--gold);
}

.tourism-card .group:hover img {
    transform: scale(1.1);
}

/* Social Media Buttons */
.social-btn {
    display: inline-block;
    text-align: center;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
}

/* Calculator Select */
#vehicle-select option {
    background: var(--primary-dark);
    color: white;
    padding: 10px;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Glow */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(201, 162, 39, 0.6);
    }
}

.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Button Hover Effects */
button, .btn {
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    transform: translateY(-2px);
}

/* Input Focus Effects */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.3);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Spacing */
section {
    position: relative;
}

/* Background Patterns */
.pattern-grid {
    background-image: 
        linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.pattern-dots {
    background-image: radial-gradient(rgba(201, 162, 39, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Card Hover Lift */
.card-hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text Selection */
::selection {
    background: var(--gold);
    color: var(--dark);
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    #navbar,
    #hero,
    .floating-whatsapp,
    .social-media-fixed {
        display: none !important;
    }
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse-glow 1.5s ease-in-out infinite;
}

.loader-logo span {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.loader-text {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Parallax Effect */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Gradient Overlays */
.gradient-overlay-dark {
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.3) 0%, 
        rgba(10, 10, 10, 0.6) 50%, 
        rgba(10, 10, 10, 0.9) 100%);
}

.gradient-overlay-light {
    background: linear-gradient(180deg, 
        rgba(248, 249, 250, 0) 0%, 
        rgba(248, 249, 250, 1) 100%);
}

/* Decorative Elements */
.decoration-circle {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
}

.decoration-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--dark);
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--dark);
    color: white;
    font-size: 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Image Zoom Container */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.5s ease;
}

.img-zoom-container:hover img {
    transform: scale(1.1);
}

/* Custom Shadow */
.shadow-premium {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.shadow-premium-lg {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.shadow-gold {
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}

/* Border Gradient */
.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--gold-light), var(--gold-dark)) border-box;
}

/* Text Shadow */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-shadow-lg {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

