* {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #000000;
}

/* Hero section full height fix */
.hero-section {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.hero-carousel {
    height: 100vh !important;
    min-height: 100vh !important;
}

.hero-carousel .carousel-slide {
    height: 100vh !important;
    min-height: 100vh !important;
}

.hero-carousel .carousel-slide img {
    height: 100vh !important;
    min-height: 100vh !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Mobile viewport height fix */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 100vh !important;
        height: 100dvh !important; /* Dynamic viewport height for mobile */
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .hero-carousel {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .hero-carousel .carousel-slide {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .hero-carousel .carousel-slide img {
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #eab308;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #facc15;
}

/* Smooth transitions for all elements */
* {
    transition: all 0.3s ease;
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Carousel animations */
.carousel-slide {
    transition: opacity 1s ease-in-out;
}

.carousel-dot {
    cursor: pointer;
}

.carousel-dot:hover {
    transform: scale(1.2);
}

/* Gallery hover effects */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.3);
}

/* Service cards animations */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(234, 179, 8, 0.2);
}

/* Review cards animations */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(234, 179, 8, 0.1);
}

/* Button hover effects */
.btn-primary {
    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%;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease;
    transform: translateY(-10px);
    opacity: 0;
}

#mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

/* Lightbox animations */
#lightbox {
    transition: all 0.3s ease;
}

#lightbox.show {
    opacity: 1;
    visibility: visible;
}

#lightbox-image {
    transition: all 0.3s ease;
    transform: scale(0.9);
}

#lightbox.show #lightbox-image {
    transform: scale(1);
}

/* Text gradient animations */
.text-gradient {
    background: linear-gradient(45deg, #eab308, #facc15, #fbbf24);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Pulse animation for logo */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .review-card:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #eab308;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-300 {
        color: #ffffff !important;
    }
    
    .text-gray-400 {
        color: #e5e5e5 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}