/* ===== Custom Styles for Exhale Hookah Lounge ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #059669;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* ===== Navigation ===== */
#navbar {
    background: rgba(254, 253, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-logo-text {
    color: #064e3b;
}

/* ===== Hero Section ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.05);
    top: 25%;
    left: 45%;
    border-radius: 16px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(16, 185, 129, 0.04);
    top: 40%;
    right: 5%;
    animation: float 7s ease-in-out infinite;
}

.shape-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(16, 185, 129, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    bottom: 20%;
    right: 15%;
    border-radius: 50%;
    animation: float 5s ease-in-out infinite reverse;
}

/* Hero content animation */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-image-container {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease 0.2s forwards;
}

/* Scroll indicator */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ===== About Section ===== */
.about-img-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.about-img-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Experience Cards ===== */
.experience-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.experience-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Flavor Cards ===== */
.flavor-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.flavor-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Animations ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(45deg);
    }
    to {
        transform: rotate(405deg);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.6);
    }
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-nav-link {
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    .shape-square-1 {
        width: 40px;
        height: 40px;
    }
}

/* ===== Focus styles for accessibility ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Selection color ===== */
::selection {
    background: rgba(16, 185, 129, 0.2);
    color: #064e3b;
}
