/* Custom styles for Featured Events */

/* Base styles and variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --success-color: #27ae60;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --background-dark: #2c3e50;
    --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    --gradient-secondary: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 56px; /* Height of the fixed navbar */
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--background-light);
}

main {
    flex: 1;
}

/* Navigation styles */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-text {
    color: #fff;
    text-decoration: none;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: all var(--transition-speed) ease;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all var(--transition-speed) ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #fff !important;
}

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

/* Hero section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('https://wallpaper.dog/large/20452895.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: var(--spacing-lg);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        rgba(44, 62, 80, 0.85),
        rgba(52, 152, 219, 0.75)
    );
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-lg);
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    opacity: 0.95;
    text-align: center;
    width: 100%;
    max-width: 600px;
    color: #f8f9fa;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

.hero-content .btn-event {
    margin-top: var(--spacing-md);
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    transition: all 0.3s ease;
}

.hero-content .btn-event:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
}

/* Section title */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

/* Event card styles */
.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
    position: relative;
    border: none;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.event-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform var(--transition-speed) ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-card .card-body {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.event-card .card-title {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.event-card .card-text {
    color: var(--text-light);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.event-details {
    margin-bottom: var(--spacing-md);
}

.event-date,
.event-time,
.event-location {
    color: var(--text-dark);
    font-size: clamp(0.95rem, 1.9vw, 1.05rem);
    margin-bottom: var(--spacing-xs);
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.event-price {
    font-weight: bold;
    color: var(--success-color);
    font-size: clamp(1.05rem, 2.1vw, 1.15rem);
    margin-bottom: var(--spacing-sm);
    font-family: 'Inter', sans-serif;
}

.event-details strong {
    font-weight: 600; /* Make bold labels slightly heavier */
    color: var(--secondary-color);
}

/* Custom button styles */
.btn-event {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all var(--transition-speed) ease;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.btn-event:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    background: var(--gradient-secondary);
    color: white;
}

/* Contact form styles */
.contact-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-control {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    padding: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-content {
        padding: var(--spacing-md);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: var(--spacing-md);
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: clamp(1.1rem, 2.5vw, 1.6rem);
        max-width: 500px;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .event-card {
        margin-bottom: var(--spacing-lg);
    }

    .section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
        padding-top: 50px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .hero-section {
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: var(--spacing-sm);
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: var(--spacing-sm);
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.3rem);
        margin-bottom: var(--spacing-md);
        max-width: 400px;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .btn-event {
        min-width: 180px;
        padding: 10px 25px;
        font-size: 1rem;
    }

    .event-card img {
        height: 180px;
    }

    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .section-title {
        font-size: clamp(1.4rem, 3vw, 2rem);
        margin-bottom: var(--spacing-md);
    }

    .event-card .card-title {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
    }

    .event-card .card-text {
        font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    }

    .search-container .form-control {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 14px;
        padding-top: 45px;
    }

    .hero-section {
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: var(--spacing-xs);
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.6rem, 3.5vw, 2rem);
        letter-spacing: 0.3px;
        text-align: center;
        width: 100%;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
        max-width: 300px;
        line-height: 1.4;
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .btn-event {
        min-width: 160px;
        padding: 8px 20px;
        font-size: 0.95rem;
    }

    .event-card {
        margin-bottom: var(--spacing-md);
    }

    .event-card img {
        height: 160px;
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .section-title {
        font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    }

    .event-card .card-body {
        padding: var(--spacing-sm);
    }

    .event-date, .event-location {
        font-size: 0.8rem;
    }

    .event-price {
        font-size: 0.9rem;
    }

    .search-container .input-group {
        border-radius: 6px;
    }

    .search-container .input-group-text,
    .search-container .form-control {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }

    .footer-brand {
        margin-bottom: var(--spacing-md);
    }

    .footer-links,
    .footer-contact {
        margin-bottom: var(--spacing-md);
    }

    .social-links {
        margin-top: var(--spacing-sm);
    }
}

/* Add specific styles for very small devices */
@media (max-width: 360px) {
    .hero-section {
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        padding: var(--spacing-xs);
        width: 100%;
        max-width: 95%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        margin-bottom: var(--spacing-xs);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
    }

    .hero-content .btn-event {
        min-width: 140px;
        padding: 7px 18px;
        font-size: 0.9rem;
        margin-top: var(--spacing-sm);
    }

    .event-card img {
        height: 140px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px; /* Account for fixed navbar */
}

/* Search bar styles */
.search-container {
    margin-bottom: var(--spacing-lg);
}

.search-container .input-group {
    box-shadow: var(--box-shadow);
    border-radius: 12px;
    overflow: hidden;
}

.search-container .input-group-text {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1rem;
}

.search-container .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-container .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}

.search-container .form-control::placeholder {
    color: var(--secondary-color);
    opacity: 0.7;
}

/* Event card animation for filtering */
.event-card {
    transition: all 0.3s ease;
}

.event-card.hidden {
    display: none;
}

/* Footer styles */
footer {
    margin-top: auto;
    background: var(--gradient-secondary);
}

.footer-brand {
    display: flex;
    align-items: center;
    color: #fff;
}

.footer-brand i {
    font-size: 1.5rem;
    color: #3498db;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

footer p {
    color: rgba(255, 255, 255, 1);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: #3498db;
    width: 20px;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    margin-right: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #3498db;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.social-links a:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom .list-inline-item:not(:last-child) {
    margin-right: 0;
}

@media (max-width: 767.98px) {
    .footer-brand {
        justify-content: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: none;
    }
    
    .social-links {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Inter:wght@400;500;600&display=swap'); 