/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-navy, #1a2332);
    line-height: 1.6;
    background-color: var(--bg-warm-white, #FFF9F5);
}

a {
    color: var(--primary-orange, #FF6B35);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-coral, #FF6B4A);
    text-decoration: underline;
}

/* Header Styles */
.navbar {
    padding: 0.5rem 1rem;
    background: white !important;
    border-bottom: 3px solid var(--primary-orange, #FF6B35);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-orange, #FF6B35) !important;
}

.navbar-dark .navbar-nav .nav-link,
.navbar .nav-link {
    color: var(--text-navy, #1a2332) !important;
    transition: color 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar .nav-link:hover {
    color: var(--primary-orange, #FF6B35) !important;
    background-color: var(--bg-warm-white, #FFF9F5);
}

/* Hero Section */
.hero-section {
    background-image: url('../images/Have-Fun-FunList.ai-home.jpeg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 20px;
}

/* Hero overlay removed for clearer image display */

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Events */
.featured-events-section {
    padding: 3rem 0;
    background: var(--bg-peach-tint, #FFE8DC) !important;
}

.event-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    background-color: white;
    border: 2px solid transparent;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.15);
    border-color: var(--primary-orange, #FF6B35);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-details {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.event-date, .event-location, .event-category {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.event-fun-rating {
    font-size: 1rem;
    color: var(--primary-orange, #FF6B35);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Feature Boxes */
.feature-box {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* Fun Assistant Section */
.fun-assistant-section {
    padding: 4rem 0;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange, #FF6B35);
    font-weight: bold;
}

.chat-demo {
    border-radius: 8px;
}

.chat-message {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.chat-message.user {
    background-color: var(--secondary-cream, #F5E6D3);
    border-left: 3px solid var(--primary-orange, #FF6B35);
}

.chat-message.assistant {
    background-color: var(--bg-warm-white, #FFF9F5);
    border-left: 3px solid var(--orange-light, #FF8A5B);
}

/* Rating System */
.rating-scale {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 800px;
}

.rating-item {
    text-align: center;
    padding: 0 10px;
}

.stars {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Sponsors Section */
.sponsors-section {
    padding: 3rem 0;
}

.sponsor-card {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.sponsor-content img {
    max-height: 80px;
    max-width: 100%;
}

/* Footer Forms */
#footerEmailForm {
    max-width: 500px;
    margin: 0 auto;
}


/* Map Styles */
#map {
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-controls {
    margin-bottom: 1rem;
}

/* Event Popup */
.event-popup {
    text-align: center;
}

/* Button Hover Effects */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(2, 117, 216, 0.2);
}

/* Note: Floating button styles moved to base.html inline styles for consistency */

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .rating-scale {
        flex-direction: column;
    }

    .rating-item {
        margin-bottom: 1rem;
    }
}

/* Form Styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* For the post-registration wizard */
.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

/* Profile page styles */
.profile-header {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    color: #6c757d;
}

.profile-actions {
    margin-bottom: 2rem;
}

.badge-premium {
    background-color: #ffc107;
    color: #212529;
}

/* Make the entire container fill the width on large screens */
.container {
    max-width: 1200px;
}

main.container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    max-width: 100%;
}

@media (min-width: 1200px) {
    main.container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .content-section .container,
    .featured-events-section .container,
    .fun-assistant-section .container,
    .rating-system-section .container,
    .sponsors-section .container,
    #never-miss.container {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }
}