/* 
  Sashmi Lanka Travels - Dark Neon Theme
  Created by Student Dev
  Theme: Dark Mode + Neon Glow + Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0f0f13;
    --glass-bg: rgba(20, 20, 25, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-gold: #ffd700;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-main: linear-gradient(135deg, #00f3ff 0%, #bc13fe 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Background Animation Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 50%, rgba(188, 19, 254, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 243, 255, 0.15), transparent 25%);
    z-index: -1;
    animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 19, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--neon-blue);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-login {
    padding: 8px 25px;
    border: 1px solid var(--neon-blue);
    border-radius: 50px;
    color: var(--neon-blue) !important;
    font-weight: 600;
}

.btn-login:hover {
    background: var(--neon-blue);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

/* Common Components */
.container {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gradient-btn {
    background: var(--gradient-main);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(188, 19, 254, 0.4);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background:
        linear-gradient(to bottom, rgba(15, 15, 19, 0.3), var(--bg-dark)),
        url('C:\Users\Administrator\Desktop\bus-booking-system-devops\src\images\hero_bus.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Search Widget */
.search-widget {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    margin-left: 5px;
}

.input-group input,
.input-group select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    width: 200px;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Destination Cards */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.destination-card {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: 0.4s;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.destination-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.destination-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, black, transparent);
    z-index: 2;
}

.card-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card-overlay p {
    color: var(--neon-gold);
    font-weight: 600;
}

/* Footer */
footer {
    background: rgba(10, 10, 12, 0.95);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Feature Box in Home */
.feature-box {
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .search-form {
        flex-direction: column;
        width: 100%;
    }

    .input-group input {
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile handling */
}