/* custom.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    :root {
        --primary: 79 70 229;    /* #4f46e5 */
        --secondary: 99 102 241; /* #6366f1 */
        --accent: 249 115 22;    /* #f97316 */
    }

    html {
        @apply scroll-smooth;
    }

    body {
        @apply font-inter bg-gray-50 text-gray-900 antialiased;
    }
}

@layer components {


    /* Buttons */
    .btn-primary {
        @apply px-6 py-2.5 bg-indigo-600 text-white rounded-lg font-medium 
               hover:bg-indigo-700 transition-colors shadow-sm hover:shadow-md;
    }

    .btn-secondary {
        @apply px-6 py-2.5 bg-white border border-gray-200 text-gray-600 rounded-lg 
               font-medium hover:bg-gray-50 transition-colors shadow-sm hover:shadow-md;
    }

    /* Cards */
    .card {
        @apply bg-white rounded-xl shadow-sm hover:shadow-md transition-shadow p-6;
    }

    /* Featured Items */
    .featured-card {
        @apply relative overflow-hidden rounded-xl shadow-sm hover:shadow-md transition-all;
    }

    .featured-card img {
        @apply w-full h-48 object-cover transition-transform duration-300;
    }

    .featured-card:hover img {
        @apply scale-105;
    }

    /* Price Tags */
    .price-tag {
        @apply absolute top-4 right-4 bg-white px-3 py-1 rounded-full shadow-md 
               text-indigo-600 font-medium text-sm;
    }

    /* Rating Stars */
    .rating-stars {
        @apply flex items-center text-yellow-400 gap-0.5;
    }

    /* Event Date Cards */
    .event-date {
        @apply w-16 flex-shrink-0 text-center p-2 bg-indigo-50 rounded-lg;
    }

    .event-day {
        @apply text-2xl font-bold text-indigo-600 block;
    }

    .event-month {
        @apply text-sm uppercase text-gray-500;
    }

    /* Music Cards */
    .music-card {
        @apply bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all;
    }

    .music-cover {
        @apply w-full h-48 object-cover;
    }

    /* Hostel Cards */
    .hostel-card {
        @apply bg-white rounded-xl shadow-sm hover:shadow-md transition-all overflow-hidden;
    }

    .hostel-image {
        @apply w-full h-48 object-cover;
    }

    /* Product Cards */
    .product-card {
        @apply bg-white rounded-xl shadow-sm hover:shadow-md transition-all p-4;
    }

    .product-image {
        @apply w-full h-48 object-contain bg-gray-50 rounded-lg p-4;
    }
}

@layer utilities {
    /* Animations */
    .animate-float {
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }

    /* Text Gradients */
    .text-gradient {
        @apply bg-gradient-to-r from-indigo-600 to-purple-600 bg-clip-text text-transparent;
    }

    /* Scrollbar Styling */
    .scrollbar-thin {
        scrollbar-width: thin;
        scrollbar-color: theme('colors.indigo.200') theme('colors.white');
    }
}
/* Event List Styles */
.filter-chip {
    @apply px-4 py-2 rounded-full bg-gray-100 text-gray-600 text-sm font-medium transition-colors hover:bg-gray-200;
}

.filter-chip.active {
    @apply bg-indigo-600 text-white hover:bg-indigo-700;
}

.event-card {
    @apply bg-white rounded-2xl shadow-sm hover:shadow-md transition-all overflow-hidden;
}

.search-input {
    @apply w-full px-4 py-2 bg-gray-50 border border-gray-200 rounded-lg 
           focus:ring-2 focus:ring-indigo-500 focus:border-transparent;
}

/* Hover Effects */
.event-card:hover .event-title {
    @apply text-indigo-600;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}
.pagination-item {
    @apply w-10 h-10 flex items-center justify-center rounded-xl bg-gray-100 text-gray-600 hover:bg-indigo-100 hover:text-indigo-600 transition-colors;
}

.pagination-item.active {
    @apply bg-indigo-600 text-white;
}

.product-card .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.form-checkbox {
    border-radius: 0.375rem;
    border-color: #e5e7eb;
}
.hover\:-translate-y-0\.5 {
    transform: translateY(-0.125rem);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Main Navigation */
.main-nav {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

.nav-primary {
    display: flex;
    gap: 5px;
}

.nav-item {
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 16px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #1DB954; /* Spotify green */
}

.nav-item.active {
    color: #1DB954;
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #1DB954;
    border-radius: 50%;
}

.nav-pulse {
    width: 6px;
    height: 6px;
    background: #ff4757;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0;
    animation: pulse 2s infinite;
}

.nav-pulse.hot {
    opacity: 1;
    background: #1DB954;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(29, 185, 84, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); }
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mega-menu.active {
    max-height: 400px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.menu-section h4 {
    color: #1DB954;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.menu-item {
    display: block;
    color: white;
    padding: 8px 0;
    transition: color 0.2s;
}

.menu-item:hover {
    color: #1DB954;
}

.menu-item.highlight {
    color: #1DB954;
    font-weight: 500;
}

.now-playing {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
}

.mini-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.track-cover {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.track-title {
    font-weight: 500;
    font-size: 14px;
}

.track-artist {
    font-size: 12px;
    opacity: 0.7;
}

.player-controls button {
    background: #1DB954;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #121212;
    z-index: 1100;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu-body {
    padding: 20px;
}

.mobile-accordion {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    cursor: pointer;
}

.accordion-header i:last-child {
    margin-left: auto;
    transition: transform 0.3s;
}

.accordion-header.active i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
}

.mobile-menu-item {
    display: block;
    color: white;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-item.highlight {
    color: #1DB954;
    font-weight: 500;
}

.mobile-menu-item.active {
    color: #1DB954;
}

.mobile-user-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}

.mobile-user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-primary {
        gap: 2px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .nav-item i {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .nav-primary, .mega-menu {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
}

/* Enhancements for the new structure */
.main-nav {
    @apply fixed top-0 left-0 right-0 z-50 bg-gray-900 bg-opacity-90 backdrop-blur-md;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 flex items-center justify-between h-16;
}

.mega-menu {
    @apply absolute top-full left-0 right-0 bg-gray-900 overflow-hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mega-menu.active {
    max-height: 400px;
    @apply border-t border-gray-800;
}

.mobile-menu {
    @apply fixed top-0 left-0 bottom-0 w-80 bg-gray-900 transform -translate-x-full z-50;
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    @apply transform translate-x-0;
}

/* News ticker enhancements */
.ticker-container {
    @apply bg-black text-white py-2;
}

.ticker-inner {
    @apply container mx-auto flex items-center;
}

.live-badge {
    @apply bg-music-primary text-black px-2 py-1 text-xs font-bold mr-3;
}

/* Footer enhancements */
.footer-grid {
    @apply grid grid-cols-1 md:grid-cols-4 gap-8;
}

.footer-links {
    @apply space-y-2;
}

.footer-links a {
    @apply text-gray-400 hover:text-white transition-colors;
}
/* Artist Cards */
.artist-card {
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-4px);
}

/* Pagination */
.pagination-item {
    @apply w-10 h-10 flex items-center justify-center rounded-full bg-gray-100 text-gray-600 hover:bg-indigo-100 hover:text-indigo-600 transition-colors;
}

.pagination-item.active {
    @apply bg-indigo-600 text-white;
}

/* Artist Detail Page */
.artist-bio {
    @apply prose max-w-none prose-sm;
}
<style>
    input[type="text"],
    input[type="file"],
    select,
    textarea {
        border: 1px solid #d1d5db; /* Tailwind's gray-300 */
        border-radius: 0.375rem;   /* rounded-md */
        padding: 0.5rem;
        width: 100%;
        margin-bottom: 1rem;
    }

    .form label {
        display: block;
        margin-bottom: 0.25rem;
        font-weight: 500;
        color: #374151; /* gray-700 */
    }

    .btn-primary {
        background-color: #2563eb; /* blue-600 */
        color: white;
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 0.375rem;
        cursor: pointer;
        margin-right: 1rem;
    }

    .btn-primary:hover {
        background-color: #1d4ed8; /* blue-700 */
    }

    .btn-secondary {
        background-color: #f87171; /* red-400 */
        color: #374151;
        padding: 0.5rem 1rem;
        border: none;
        border-radius: 0.375rem;
        cursor: pointer;
    }

    .btn-secondary:hover {
        background-color: #ef4444; /* red-500 */
    }

    .form {
        margin-top: 1rem;
    }
</style>
/* Base Styles */
.listing-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.listing-card-img {
    height: 200px;
    object-fit: cover;
}

.listing-card-body {
    padding: 1.25rem;
}

.listing-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.listing-card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.listing-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

/* Rating Styles */
.rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Gallery Styles */
.gallery-main {
    height: 400px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
}

/* Opening Hours Styles */
.opening-hours {
    list-style: none;
    padding: 0;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.opening-hours li:last-child {
    border-bottom: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
    }
    
    .listing-card-img {
        height: 150px;
    }
}
