/* ===== Custom Styles for Essar Bar & Lounge ===== */

/* Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -100px;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 107, 107, 0.08);
    top: 40%;
    right: 5%;
    transform: rotate(45deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 107, 107, 0.04);
    top: 60%;
    left: 3%;
    transform: rotate(-15deg);
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 107, 107, 0.15) 1px, transparent 1px);
    background-size: 16px 16px;
    top: 30%;
    left: 8%;
    opacity: 0.6;
}

/* ===== Floating Cards ===== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 107, 107, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ===== Navbar ===== */
.navbar-scrolled {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
}

.nav-line {
    transition: all 0.3s ease;
}

#menuBtn.active .nav-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .nav-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .nav-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-link {
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #FF8787;
}

/* ===== Reveal Animations (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Button Hover Effects ===== */
a {
    text-decoration: none;
}

/* ===== Image hover transitions ===== */
img {
    display: block;
    max-width: 100%;
}

/* ===== Selection Color ===== */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: #ffffff;
}

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

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

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

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

/* ===== Mobile responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 300px;
        height: 300px;
    }
    
    .shape-circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .shape-rect-1 {
        width: 100px;
        height: 100px;
    }
    
    .floating-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin: 12px 0;
    }
}
