/* O&E Car Rentals - Production Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.car-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Red theme colors */
.bg-red-50 { background-color: #fef2f2; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-600 { background-color: #dc2626; }
.bg-red-700 { background-color: #b91c1c; }
.bg-red-800 { background-color: #991b1b; }

.text-red-100 { color: #fee2e2; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }

.border-red-200 { border-color: #fecaca; }
.border-red-600 { border-color: #dc2626; }

.hover\:bg-red-700:hover { background-color: #b91c1c; }
.focus\:border-red-600:focus { border-color: #dc2626; }
/* En
hanced Aesthetic Improvements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceSlow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-bounce-slow {
    animation: bounceSlow 3s infinite;
}

/* Enhanced card hover effects */
.car-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced button styles */
button {
    transition: all 0.2s ease-in-out;
}

button:hover {
    transform: translateY(-1px);
}

/* Enhanced modal */
.modal {
    backdrop-filter: blur(8px);
}

.modal .bg-white {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced header */
header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Price highlight animation */
@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(220, 38, 38, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
    }
}

.price-highlight {
    animation: priceGlow 2s ease-in-out infinite;
}/
* Photo Gallery Enhancements */
#photoGalleryModal .modal {
    backdrop-filter: blur(12px);
}

#photoGalleryModal .bg-white {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gallery grid animations */
#photoGalleryContent > div {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

#photoGalleryContent > div:nth-child(1) { animation-delay: 0.1s; }
#photoGalleryContent > div:nth-child(2) { animation-delay: 0.2s; }
#photoGalleryContent > div:nth-child(3) { animation-delay: 0.3s; }
#photoGalleryContent > div:nth-child(4) { animation-delay: 0.4s; }
#photoGalleryContent > div:nth-child(5) { animation-delay: 0.5s; }
#photoGalleryContent > div:nth-child(6) { animation-delay: 0.6s; }

/* Photo gallery button pulse effect */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.photo-gallery-btn {
    animation: pulse 2s infinite;
}

/* Enhanced image hover effects */
#photoGalleryContent img {
    transition: transform 0.3s ease;
}

#photoGalleryContent .bg-gray-50:hover img {
    transform: scale(1.05);
}

/* Close button enhancement */
#photoGalleryModal button[onclick="closePhotoGallery()"] {
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#photoGalleryModal button[onclick="closePhotoGallery()"]:hover {
    background-color: #f3f4f6;
    transform: rotate(90deg);
}/* Enhanc
ed Mobile & Tablet Modal Styles */
.modal {
    padding: 1rem;
}

@media (max-width: 640px) {
    .modal {
        padding: 0.5rem;
    }
    
    .modal .bg-white {
        border-radius: 1rem;
        max-height: 95vh;
    }
    
    /* Better touch targets on mobile */
    .modal button {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Improved date inputs on mobile */
    .modal input[type="date"] {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        -moz-appearance: textfield;
    }
    
    /* Better spacing on mobile */
    .modal .space-y-4 > * + * {
        margin-top: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet specific styles */
    .modal .bg-white {
        max-width: 32rem;
    }
}

/* Enhanced button animations for touch devices */
@media (hover: none) {
    .modal button:hover {
        transform: none;
    }
    
    .modal button:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
}

/* Better focus states for accessibility */
.modal input:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Smooth modal animations */
.modal.active {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Enhanced date input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23dc2626" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>');
    cursor: pointer;
}

/* Improved button gradients for mobile */
.modal .bg-red-600 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.modal .bg-green-600 {
    background: linear-gradient(135deg, #16a34a, #15803d);
}/* Fl
oating Contact Buttons */
.fixed.bottom-6.right-6 {
    z-index: 1000;
}

/* Mobile adjustments for floating buttons */
@media (max-width: 640px) {
    .fixed.bottom-6.right-6 {
        bottom: 1rem;
        right: 1rem;
    }
    
    .fixed.bottom-6.right-6 a {
        padding: 0.75rem;
    }
    
    .fixed.bottom-6.right-6 span {
        font-size: 1.25rem;
    }
}

/* Enhanced shadow for floating buttons */
.shadow-3xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Pulse animation for floating buttons */
@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
    }
    40%, 50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

.fixed.bottom-6.right-6 a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
    opacity: 0.3;
}

.fixed.bottom-6.right-6 a:nth-child(1)::before {
    background-color: #2563eb;
}

.fixed.bottom-6.right-6 a:nth-child(2)::before {
    background-color: #16a34a;
}

/* Hero contact buttons enhancement */
.hero-contact-btn {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}/
* Enhanced Gmail Integration for Mobile & Tablet */

/* Mobile-specific Gmail button optimizations */
@media (max-width: 640px) {
    /* Hero section email buttons */
    .hero-contact-btn {
        min-height: 48px;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Floating contact buttons - better positioning on mobile */
    .fixed.bottom-6.right-6 {
        bottom: 4rem; /* Higher to avoid mobile browser UI */
        right: 1rem;
    }
    
    /* Footer email links - larger touch targets */
    .footer-email-link {
        min-height: 44px;
        padding: 0.75rem;
    }
    
    /* Gmail compose optimization for mobile */
    .gmail-btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Tablet-specific optimizations */
@media (min-width: 641px) and (max-width: 1024px) {
    /* Floating buttons - optimal size for tablets */
    .fixed.bottom-6.right-6 a {
        padding: 1rem;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero buttons - better spacing on tablets */
    .hero-contact-buttons {
        gap: 1rem;
    }
}

/* Enhanced touch feedback for all devices */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .gmail-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Remove hover effects on touch devices */
    .gmail-btn:hover {
        transform: none;
    }
}

/* Gmail app detection and fallback */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific optimizations */
    .gmail-btn {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
    }
}

/* Android Gmail app optimization */
@media screen and (max-width: 640px) {
    .gmail-compose-link {
        /* Ensure Gmail opens in app on Android if available */
        text-decoration: none;
    }
}

/* Accessibility improvements for mobile */
.gmail-btn {
    position: relative;
}

.gmail-btn::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    /* Larger touch target for better accessibility */
}

/* Loading state for Gmail opening */
.gmail-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Better visual feedback on mobile */
@media (max-width: 640px) {
    .gmail-btn:active {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Responsive text sizing for email buttons */
@media (max-width: 480px) {
    .email-btn-text {
        font-size: 0.875rem;
    }
    
    .email-btn-icon {
        font-size: 1.25rem;
    }
}

/* Tablet landscape optimizations */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .fixed.bottom-6.right-6 {
        bottom: 2rem;
        right: 2rem;
    }
}