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

:root {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --accent-gradient: linear-gradient(135deg, #f43f5e 0%, #fb923c 100%);
    
    --bg-main: #020617;
    --bg-card: rgba(255, 255, 255, 0.02);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    background-image: radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent 70%);
}

/* Glassmorphism */
.glass {
    background: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Buttons */
.btn-primary-custom {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary-custom {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link {
    color: #94a3b8 !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(to right, #fff, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-hindi {
    font-family: 'Yatra One', cursive;
    font-weight: normal;
}

.brand-logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.05), transparent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cards */
.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: #6366f1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

/* Category Sections */
.category-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
}

.product-img-wrapper {
    height: 200px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: #020617;
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Dark Glass overrides for Bootstrap components */
.card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.bg-light {
    background-color: transparent !important;
}
.text-dark {
    color: var(--text-main) !important;
}
.text-muted {
    color: var(--text-muted) !important;
}
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: #6366f1 !important;
    color: #fff !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2) !important;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}
.modal-content {
    background-color: #0f172a !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    box-shadow: var(--shadow-xl) !important;
}
.modal-header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
}
a {
    color: #818cf8;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #a5b4fc;
}
.navbar-toggler {
    filter: invert(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}
