/* Custom styles for Get Nailed by Trisha */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero gradient animation */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #0a1a2e 0%,
        #102a43 25%,
        #1a3a5c 50%,
        #0f3448 75%,
        #0a1a2e 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

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

/* Scroll down animation */
@keyframes scrollDown {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-gradient {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    @keyframes scrollDown {
        0% { transform: translateY(0); }
        100% { transform: translateY(0); }
    }
}

/* Navbar styles */
.navbar-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(72, 199, 130, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #0a1a2e;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #334e68;
}

/* Selection color */
::selection {
    background: rgba(72, 199, 130, 0.3);
    color: #f0f4f8;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #48c782;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery hover effects */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Service card hover */
.service-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 40px rgba(72, 199, 130, 0.3);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #48c782 !important;
    box-shadow: 0 0 0 1px #48c782 !important;
}

/* Decorative line animation */
.deco-line {
    position: relative;
    overflow: hidden;
}

.deco-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #48c782, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Image aspect ratios */
.aspect-card {
    aspect-ratio: 4 / 5;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(72, 199, 130, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}
