* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: shimmer 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.header {
    margin-bottom: 4rem;
}

.title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: pre-line;
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    white-space: pre-line;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.learn-more-container {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.disclaimer {
    text-align: center;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #333;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

.learn-more-btn {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.learn-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, #FFA500, #FFD700);
}

.vendor-village-btn {
    background: linear-gradient(45deg, #22C55E, #16A34A);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vendor-village-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
    background: linear-gradient(45deg, #16A34A, #22C55E);
}

.dates {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 700px;
    justify-content: center;
}

.date-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 200px;
    position: relative;
    overflow: hidden;
}

.date-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.date-card:hover::before {
    transform: translateX(100%);
}

.date-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(255, 215, 0, 0.2);
}

.date-number {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1;
}

.date-month {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Sponsors Section */
.sponsors-section {
    margin: 4rem 0;
    text-align: center;
}

.sponsors-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sponsors-title {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 600;
    color: #4a90e2;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.add-sponsor-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.add-sponsor-btn:hover {
    background: linear-gradient(45deg, #218838, #1ea080);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.sponsor-item {
    background: rgba(255, 255, 255, 0.9);
    border: 3px dashed #FFB347;
    border-radius: 12px;
    padding: 2rem 1rem;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #1e3c72;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.sponsor-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
}

.sponsor-item:hover .sponsor-delete-btn {
    opacity: 1;
}

.sponsor-delete-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.95);
}

.add-business-item {
    cursor: pointer;
    background: rgba(255, 243, 224, 0.9);
    border-color: #FF8C42;
}

.add-business-item:hover {
    background: rgba(255, 243, 224, 1);
    border-color: #FF6B1A;
    transform: translateY(-5px) scale(1.02);
}

.add-business-text {
    color: #E67E00;
    font-weight: 600;
    position: relative;
}

.add-business-item::after {
    content: '📧';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.add-business-item:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 3rem;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    color: #333;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item {
    background: rgba(30, 60, 114, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}

.schedule-time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2a5298;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.schedule-event {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header {
        margin-bottom: 3rem;
    }
    
    .event-details {
        gap: 2rem;
    }
    
    .dates {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .date-card {
        max-width: none;
    }
    
    .sponsors-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .sponsor-item {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }
    
    .sponsors-title {
        font-size: 1.8rem;
    }
    
    .add-sponsor-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 2rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
}

/* Bottom Section Styles */
.more-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 2rem;
    color: #333;
}

.more-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.info-column {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.info-column h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1rem;
    white-space: pre-line;
}

.info-column p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    white-space: pre-line;
}

.pricing-info {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.pricing-info h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-info ul {
    list-style: none;
    padding: 0;
}

.pricing-info li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

.contact-info {
    margin: 1.5rem 0;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.vendor-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.vendor-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Donation Section Styles */
.donation-methods {
    margin-top: 1.5rem;
}

.venmo-section, .contact-section {
    margin-bottom: 2rem;
}

.venmo-section h4, .contact-section h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.venmo-info, .phone-info {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 1.5rem;
    border-radius: 8px;
}

.venmo-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venmo-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.venmo-icon {
    font-size: 1.2rem;
}

.payment-methods-container {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.payment-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.payment-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: inherit;
}

.payment-handle {
    margin: 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

.delete-payment-btn {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.delete-payment-btn:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.1);
}

.add-payment-methods {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.add-payment-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-payment-btn:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

@media (max-width: 600px) {
    .payment-methods-container {
        flex-direction: column;
        gap: 1rem;
    }
}

.paypal-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paypal-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.paypal-icon {
    font-size: 1.2rem;
}

.phone-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.phone-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.phone-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Profile Styles */
.profile-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.profile-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px) scale(1.1);
}

.profile-btn.logged-in {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.4);
}

.profile-btn.logged-in:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
}

.profile-icon {
    font-size: 1.02rem;
}

.profile-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    overflow: hidden;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    color: #333;
}

.welcome-item {
    color: #1e3c72;
    font-weight: 600;
    cursor: default;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.logout-item {
    color: #dc2626;
    font-weight: 600;
}

.logout-item:hover {
    background: rgba(220, 38, 38, 0.1);
}

/* Login Modal Styles */
.login-modal-content {
    max-width: 400px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #1e3c72;
}

.form-group input {
    padding: 1rem;
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #FFD700;
}

.login-submit-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-submit-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
}

.login-disclaimer {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.login-error {
    color: #ff4444;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

/* Editable Elements */
.editable {
    cursor: pointer;
    position: relative;
    border: 2px dashed transparent;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: pre-line;
}

.editable:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background-color: rgba(255, 215, 0, 0.1);
}

.editable:after {
    content: '✏️';
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FFD700;
    color: #1e3c72;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.editable:hover:after {
    opacity: 1;
}

/* Edit Modal Styles */
#editModal {
    z-index: 2000;
}

.edit-modal-content {
    max-width: 500px;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.edit-form textarea {
    padding: 1rem;
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.edit-form textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.edit-buttons {
    display: flex;
    gap: 1rem;
}

.edit-save-btn, .edit-reset-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-save-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.edit-save-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
}

.edit-reset-btn {
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
}

.edit-reset-btn:hover {
    background: linear-gradient(45deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
}

.edit-error {
    color: #ff4444;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

.placeholder-content {
    margin-top: 1.5rem;
}

.placeholder-box {
    background: rgba(30, 60, 114, 0.1);
    border: 2px dashed rgba(30, 60, 114, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: #1e3c72;
    font-weight: 600;
}

/* Contact Us Section */
.contact-us-section {
    margin-bottom: 4rem;
    text-align: center;
}

.contact-us-section h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.contact-person, .location-info {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-person h4, .location-info h4 {
    color: #1e3c72;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-person p, .location-info p {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-email {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    word-break: break-all;
}

.contact-email:hover {
    color: #FFD700;
    text-decoration: underline;
}

.directions-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.directions-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
}

.map-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.map-section iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 12px;
}

/* Gallery Section */
.gallery-section {
    text-align: center;
}

.gallery-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-section h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0;
}

.add-image-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-image-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.gallery-container {
    margin: 0 auto;
    max-width: 800px;
}

.gallery-grid {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 35px;
}

.gallery-slideshow {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    will-change: transform;
}

.gallery-item {
    position: relative;
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlide 0.5s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item img {
    width: 100%;
    height: 80%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    display: block;
}

.gallery-item-info {
    height: 20%;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.gallery-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.gallery-item-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.gallery-item:hover .gallery-item-actions {
    opacity: 1;
}

.gallery-delete-btn {
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.gallery-delete-btn:hover {
    background: rgba(220, 38, 38, 1);
    transform: scale(1.1);
}

/* Slideshow Navigation */
.gallery-navigation {
    display: none;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 60, 114, 0.4);
}

.gallery-dot.active {
    background: #FFD700;
    border-color: #1e3c72;
    transform: scale(1.3);
}

.gallery-dot:hover {
    background: rgba(255, 215, 0, 0.8);
    transform: scale(1.2);
}

/* Slideshow Arrows */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #1e3c72;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.gallery-container:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: #FFD700;
    color: #1e3c72;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow.prev {
    left: 10px;
}

.gallery-arrow.next {
    right: 10px;
}

/* Slideshow Progress Bar */
.gallery-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #FFD700;
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
    border-radius: 0 0 12px 12px;
}

/* Play/Pause Button */
.gallery-play-pause {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3c72;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.gallery-container:hover .gallery-play-pause {
    opacity: 1;
}

.gallery-play-pause:hover {
    background: #FFD700;
    transform: scale(1.1);
}

.gallery-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Single image styling */
.gallery-slideshow.single-image {
    justify-content: center;
    align-items: center;
}

.gallery-slideshow.single-image .gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-slideshow.single-image .gallery-item img {
    max-height: 85%;
    width: auto;
    height: auto;
}

.gallery-slideshow.single-image .gallery-item-info {
    height: 15%;
    min-height: 60px;
}

@media (max-width: 768px) {
    .info-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    

    
    .more-info {
        padding: 3rem 1rem;
    }
    
    .vendor-buttons {
        flex-direction: column;
    }
    
    .vendor-btn {
        min-width: auto;
    }
    
    .phone-buttons {
        flex-direction: column;
    }
    
    .phone-btn {
        min-width: auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Upload Modal Styles */
.upload-modal-content {
    max-width: 500px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.upload-form input[type="file"] {
    padding: 0.8rem;
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.upload-form input[type="file"]:focus {
    outline: none;
    border-color: #FFD700;
}

.file-info {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.upload-buttons {
    display: flex;
    gap: 1rem;
}

.upload-save-btn, .upload-cancel-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-save-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.upload-save-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
}

.upload-cancel-btn {
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: white;
}

.upload-cancel-btn:hover {
    background: linear-gradient(45deg, #4b5563, #6b7280);
    transform: translateY(-2px);
}

.upload-error {
    color: #ff4444;
    font-size: 0.9rem;
    text-align: center;
    display: none;
}

/* Crop Modal Styles */
.crop-modal-content {
    max-width: 900px;
    width: 90vw;
}

.crop-instructions {
    background: rgba(30, 60, 114, 0.1);
    border-left: 4px solid #1e3c72;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
}

.crop-container {
    margin: 1.5rem 0;
    max-height: 450px;
    overflow: hidden;
    border-radius: 8px;
    background: #f8f9fa;
    border: 2px solid rgba(30, 60, 114, 0.2);
}

.crop-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.crop-control-btn {
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.crop-control-btn:hover {
    background: linear-gradient(45deg, #4b5563, #6b7280);
    transform: translateY(-1px);
}

.crop-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.crop-save-btn, .crop-cancel-btn, .upload-without-crop-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crop-save-btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.crop-save-btn:hover {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #1e3c72;
    transform: translateY(-2px);
}

.crop-cancel-btn {
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: white;
}

.crop-cancel-btn:hover {
    background: linear-gradient(45deg, #b91c1c, #dc2626);
    transform: translateY(-2px);
}

.upload-without-crop-btn {
    background: linear-gradient(45deg, #059669, #10b981);
    color: white;
}

.upload-without-crop-btn:hover {
    background: linear-gradient(45deg, #047857, #059669);
    transform: translateY(-2px);
}

.crop-error {
    color: #ff4444;
    font-size: 0.9rem;
    text-align: center;
    display: none;
    margin-top: 1rem;
}

@media (max-width: 480px) {
    .date-card {
        padding: 1.5rem 1rem;
    }
    
    .date-number {
        font-size: 2.5rem;
    }
    
    .gallery-header {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-container {
        padding: 1rem;
    }
    
    .gallery-grid {
        max-width: 100%;
        aspect-ratio: 16 / 11;
    }
    

    
    .gallery-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .gallery-arrow.prev {
        left: 8px;
    }
    
    .gallery-arrow.next {
        right: 8px;
    }
    
    .gallery-play-pause {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        top: 8px;
        left: 8px;
    }
    
    .gallery-delete-btn {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
    
    .gallery-item-actions {
        top: 8px;
        right: 8px;
    }
    
    .gallery-navigation {
        bottom: 8px;
        gap: 0.3rem;
    }
    
    .gallery-dot {
        width: 6px;
        height: 6px;
    }
    
    .crop-modal-content {
        width: 95vw;
        max-width: none;
    }
    
    .crop-container {
        max-height: 250px;
    }
    
    .crop-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .crop-control-btn {
        min-width: 80%;
    }
    
    .crop-instructions {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
    
    .crop-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .crop-save-btn, .crop-cancel-btn, .upload-without-crop-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Vendor Village Modal Styles */
.vendor-modal-content {
    max-width: 600px;
    text-align: center;
    max-height: calc(80vh);
    overflow-y: auto;
    overflow-x: hidden;
}

.vendor-modal-content::-webkit-scrollbar {
    width: 6px;
}

.vendor-modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
    margin: 10px 0;
}

.vendor-modal-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
    transition: background 0.3s ease;
    min-height: 20px;
}

.vendor-modal-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.vendor-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
    white-space: pre-line;
}

.vendor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.vendor-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid rgba(34, 197, 94, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vendor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.vendor-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: pre-line;
}

.vendor-name::before {
    content: "";
    font-size: 1.1rem;
}

.vendor-description-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-line;
}

.vendor-item.editable {
    border-color: rgba(255, 215, 0, 0.4);
    cursor: pointer;
}

.vendor-item.editable:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.vendor-delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #ef4444;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.vendor-delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.vendor-admin-controls {
    border-top: 2px solid rgba(34, 197, 94, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

.add-vendor-container {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.vendor-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(34, 197, 94, 0.2);
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.vendor-input:focus {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.add-vendor-btn {
    background: linear-gradient(45deg, #22C55E, #16A34A);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-vendor-btn:hover {
    background: linear-gradient(45deg, #16A34A, #22C55E);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

@media (max-width: 768px) {
    .learn-more-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .vendor-village-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .vendor-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .add-vendor-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .vendor-input {
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
}

.footer-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-link:hover {
    color: #FFA500;
    border-bottom-color: #FFA500;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.5);
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}