/* Hide the entire div on screens smaller than 768px */
@media (max-width: 767px) {
    .category-container {
        display: none !important;
    }
}

/* Default underline effect */
.category-link {
    position: relative;
    text-decoration: none; /* Remove default underline */
}

    /* Underline effect */
.category-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -24px; /* Adjust space below */
    width: 100%;
    height: 2px; /* Line thickness */
    background-color: white; /* Line color */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.category-link:hover::after {
    transform: scaleX(1);
}


.card-img-top {
    width: 100%; /* Ensures the image takes up the full width */
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.form-mix-icon-input {
    position: relative; /* Ensures dropdown opens below the input */
}

.form-select {
    z-index: 1050; /* Ensures dropdown is above other content */
    max-height: 300px; /* Adjust height as necessary */
    overflow-y: auto; /* Adds vertical scrolling */
}

.form-mix-icon-input .position-absolute {
    z-index: 1; /* Keeps icons above the input but behind the dropdown */
}
/* Floating Map Button */
.map-view-btn {
    position: fixed;
    bottom: 77px; /* Adjusted for bottom right */
    right: 20px; /* Adjusted for bottom right */
    background-color: #fff; /* White background */
    color: #333; /* Dark text color */
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    overflow: hidden;
    border-color: transparent;
}

/* Inner container for the icon */
.map-icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #34adf7; /* Booksy-style red */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* Map icon */
.map-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

#getLocationBtn3 {
    cursor: pointer;
    z-index: 1000;
}

.map-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
}


.typed-text {
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    min-height: 2.3rem;
}

    .typed-text::after {
        content: "!";
        display: inline-block;
        animation: blink 3s infinite;
    }

@keyframes blink {
    50% {
        opacity: 0.1;
    }
}





/* Subtle pulsing effect for attention */
.pulsing-text {
    font-weight: bold;
    color: #0cbc87;
    position: relative;
    animation: textPulse 1.5s infinite ease-in-out;
}

@keyframes textPulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
    }
}

/* Overlay style */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Popup content */
.popup-content {
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    /* Loading text */
    .popup-content p {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: #333;
    }

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #007BFF; /* Bootstrap blue for professional look */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Extra small screen adjustments */
@media (max-width: 600px) {
    .popup-content {
        width: 250px; /* Reduce the popup size on small screens */
        padding: 20px;
    }

    .spinner {
        width: 50px; /* Smaller spinner for smaller screens */
        height: 50px;
    }

    .popup-content p {
        font-size: 16px; /* Adjust text size for smaller screens */
    }
}
/* like shake */

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.5s ease;
}

/* Optional: make the red login icon stand out */
.login-red {
    color: #dc3545 !important; /* Bootstrap danger red */
}




/* Green color and subtle animation */
.logged-in {
    color: #28a745 !important; /* Bootstrap success green */
    animation: pulseGlow 2s infinite;
    position: relative;
}

/* Glow pulse animation */
@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 0 rgba(40,167,69,0);
    }

    50% {
        text-shadow: 0 0 8px rgba(40,167,69,0.6);
    }

    100% {
        text-shadow: 0 0 0 rgba(40,167,69,0);
    }
}








/* Modern Dark Background */
.modern-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1d29 0%, #2d3748 50%, #1a202c 100%);
}

/* Subtle Gradient Overlay - Instead of Heavy Waves */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(79, 172, 254, 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(99, 102, 234, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 50%);
    animation: gradientShift 60s ease-in-out infinite;
}



/* Very Subtle Wave (Optional - Much Smaller) */
.subtle-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(79, 172, 254, 0.03) 0%, transparent 20%, rgba(236, 72, 153, 0.02) 60%, transparent 100%);
    border-radius: 60% 40% 50% 50% / 30% 70% 70% 30%;
    animation: subtleWaveFlow 40s ease-in-out infinite;
    opacity: 0.5;
}


/* Hexagonal Pattern - Keep Lines Visible */
.hex-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.05) 0px, transparent 1px, transparent 50px, rgba(148, 163, 184, 0.05) 51px), repeating-linear-gradient(60deg, rgba(148, 163, 184, 0.05) 0px, transparent 1px, transparent 50px, rgba(148, 163, 184, 0.05) 51px), repeating-linear-gradient(-60deg, rgba(148, 163, 184, 0.05) 0px, transparent 1px, transparent 50px, rgba(148, 163, 184, 0.05) 51px);
    animation: hexDrift 60s linear infinite;
    opacity: 1;
}


/* Floating Orbs - Clean Alternative to Waves */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.08) 0%, transparent 70%);
    animation: orbFloat 25s ease-in-out infinite;
    filter: blur(20px);
}

.orb-1 {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.orb-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 20%;
    animation-delay: -12s;
    background: radial-gradient(circle, rgba(99, 102, 234, 0.06) 0%, transparent 70%);
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 60%;
    animation-delay: -8s;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
}



/* Particle Trail Mouse Effect */
.particle-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #60a5fa, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    animation: particleFade 1.5s ease-out forwards;
}


/* Magnetic Mouse Effect */
.magnetic-field {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.12) 0%, rgba(99, 102, 234, 0.08) 40%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    filter: blur(40px);
}

/* Spotlight Effect */
.spotlight {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 30%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.6);
}

.cursor-ring {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(96, 165, 250, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 12px;
    height: 12px;
    background: #f59e0b;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
}

.cursor-ring.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(245, 158, 11, 0.6);
}

/* Content Area */
.content {
    position: relative;
    z-index: 1;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.booking-card {
    background: rgba(30, 35, 48, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 80px rgba(79, 172, 254, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .booking-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(79, 172, 254, 0.5), rgba(99, 102, 234, 0.5), transparent);
    }

    .booking-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 100px rgba(79, 172, 254, 0.15);
    }

.header {
    text-align: center;
    margin-bottom: 30px;
}

    .header h1 {
        font-size: 2.2rem;
        font-weight: 600;
        background: linear-gradient(135deg, #e2e8f0, #60a5fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 10px;
    }

    .header p {
        color: #94a3b8;
        font-size: 1rem;
    }

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #cbd5e1;
        font-weight: 500;
    }

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: black;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: rgba(79, 172, 254, 0.5);
        box-shadow: 0 0 25px rgba(79, 172, 254, 0.2);
        background: rgba(51, 65, 85, 0.8);
    }

    .form-control::placeholder {
        color: #64748b;
    }

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    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.6s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(79, 70, 229, 0.4);
    }

/* Mobile Optimization */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-ring,
    .magnetic-field,
    .spotlight {
        display: none;
    }

    .booking-card {
        margin: 20px;
        padding: 30px 20px;
    }

    .subtle-wave,
    .floating-orb {
        opacity: 0.3;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .subtle-wave,
    .hex-pattern,
    .floating-orb,
    .gradient-overlay {
        animation: none;
    }

    .magnetic-field,
    .spotlight {
        transition: none;
    }
}

/* Option to completely remove waves */
.no-waves .subtle-wave {
    display: none;
}