* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc143c;
    text-shadow: 0 1px 3px rgba(0,0,128,0.3);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #dc143c;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Welcome Section */
.welcome-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #000080 0%, #4169e1 30%, #ffffff 50%, #dc143c 80%, #b22222 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.1) 20px,
        transparent 20px,
        transparent 40px
    );
    animation: lighthouse 4s linear infinite;
}

@keyframes lighthouse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.welcome-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #dc143c;
    color: white;
    border: 3px solid #000080;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #000080;
    border-color: #dc143c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220,20,60,0.4);
}

.cta-button::before {
    content: '⚓';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.3s ease;
}

.cta-button:hover::before {
    left: 10px;
}

.section-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
}

.about-image .section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.events-image .section-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.placeholder-image {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.mission, .why {
    margin-bottom: 2rem;
}

.mission h3, .why h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.about-image .placeholder-image {
    background: #e9ecef;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

/* Events Section */
.events-section {
    padding: 4rem 0;
}

.events-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.events-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.events-list h3, .participation h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.events-list ul, .contribution-options ul {
    list-style: none;
    padding-left: 0;
}

.events-list li, .contribution-options li {
    padding: 0.6rem 1rem;
    border-left: 6px solid #dc143c;
    border-right: 2px solid #000080;
    background: rgba(220,20,60,0.05);
    margin-bottom: 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.events-list li:hover, .contribution-options li:hover {
    background: rgba(0,0,128,0.1);
    border-left-color: #000080;
    border-right-color: #dc143c;
    transform: translateX(5px);
}

.events-list li::after, .contribution-options li::after {
    content: '🔵';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.events-list li:hover::after, .contribution-options li:hover::after {
    opacity: 1;
}

.contribution-options {
    margin-top: 1.5rem;
}

.contribution-options h4 {
    color: #34495e;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000080 0%, #4169e1 50%, #dc143c 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
    border-top: 8px solid white;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.email-large {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #3498db;
    margin-top: 1rem;
}

.back-to-top {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    background: #3498db;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #333;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-nav a {
    color: #333;
    text-decoration: none;
    padding: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: #f8f9fa;
}

/* Contact Form */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

#contactForm input, #contactForm textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

#contactForm textarea {
    min-height: 120px;
    resize: vertical;
}

#contactForm button {
    background: #667eea;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#contactForm button:hover {
    background: #5a6fd8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .welcome-text h2 {
        font-size: 1.8rem;
    }
    
    .welcome-section {
        padding: 2rem 0;
    }
    
    .about-section,
    .events-section {
        padding: 3rem 0;
    }
}

/* Updated theme colors */
body {
    font-family: 'Nunito', sans-serif;
}

.logo {
    color: #bf360c;
    text-shadow: 0 1px 2px #03dac633;
}

.menu-toggle {
    color: #bf360c;
}

.welcome-section {
    background: linear-gradient(135deg, #bf360c 0%, #ff5722 50%, #03dac6 100%);
}

.welcome-section::before {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%2303dac6" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%2303dac6" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%2303dac6" opacity="0.4"/></svg>');
}

.cta-button {
    background: linear-gradient(45deg, #03dac6, #03dac680);
    color: #bf360c;
    border: 2px solid #bf360c;
}

.cta-button:hover {
    background: linear-gradient(45deg, #bf360c, #ff5722);
    color: #03dac6;
    box-shadow: 0 8px 25px #bf360c66;
    border-color: #03dac6;
}