/* Custom styles for New York Style Gyro */

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

/* Clip path for hero diagonal */
.clip-diagonal {
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile menu open state */
.mobile-menu-open {
    transform: translateX(0) !important;
}

/* Menu lines animation */
.menu-open .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.4rem;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #5fc4ad;
}

/* Selection color */
::selection {
    background: rgba(125, 211, 192, 0.3);
    color: #7dd3c0;
}

/* Image aspect ratio fallbacks */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #7dd3c0;
    outline-offset: 2px;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #7dd3c0, #5fc4ad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effect */
.glow-mint {
    box-shadow: 0 0 40px rgba(125, 211, 192, 0.15);
}

/* Parallax-like slow scroll for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-slow {
    animation: float 6s ease-in-out infinite;
}

.float-medium {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .clip-diagonal {
        clip-path: polygon(0% 0, 100% 0, 100% 100%, 0% 100%);
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h1 span.text-3xl {
        font-size: 1.25rem !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .clip-diagonal {
        clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    }
}
