/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    background-image: url('images/background3.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 50%, rgba(233, 236, 239, 0.8) 100%);
    z-index: 1;
}



.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
}

.hero-names {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    animation: glow 2s ease-in-out infinite alternate;
}

.main-title {
    background: linear-gradient(45deg, #dc3545 0%, #dc3545 40%, #007bff 60%, #007bff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #dc3545;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }
    to { text-shadow: 0 0 30px rgba(220, 53, 69, 0.3), 0 0 40px rgba(0, 123, 255, 0.3); }
}

.spider-man {
    color: #007bff;
    text-shadow: 2px 2px 4px rgba(0, 123, 255, 0.3);
}

.ampersand {
    color: #343a40;
    margin: 0 1rem;
    font-weight: bold;
}

.scarlet-witch {
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.hero-date {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #343a40;
    margin-bottom: 3rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 120px;
    border: 3px solid #dc3545;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.countdown-item:hover {
    transform: translate3d(0, -5px, 0);
}

.number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.label {
    display: block;
    font-size: 0.9rem;
    color: #343a40;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #343a40;
}

.about .section-title {
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

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

.placeholder-image {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 3px solid #dc3545;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.about-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.placeholder-image i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #343a40;
    font-weight: 500;
}

/* Concept Section */
.concept {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #343a40;
}

.concept .section-title {
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.concept-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.concept-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #343a40;
    font-weight: 500;
}

.concept-icons {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.concept-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 15px;
    border: 3px solid #dc3545;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    transition: transform 0.3s ease;
}

.concept-icon:hover {
    transform: translate3d(0, -5px, 0);
}

.concept-icon i {
    font-size: 2rem;
    color: #dc3545;
}

.concept-icon span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    font-family: 'Orbitron', monospace;
}

/* Dress Code Section */
.dress-code {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.dress-code-info {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dress-code-info p {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
    line-height: 1.6;
}

.dress-code-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dress-code-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.dress-code-card:hover {
    transform: translate3d(0, -5px, 0);
}

.dress-code-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    color: #343a40;
    font-weight: 700;
}

.dress-code-card p {
    color: #343a40;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dress-code-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.dress-code-image {
    margin: 0;
}

.dress-code-image-container {
    position: relative;
    overflow: visible;
    transition: transform 0.3s ease;
    padding: 10px;
}

.dress-code-image-container:hover {
    transform: translateY(-3px);
}

.dress-code-img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.image-overlay {
    position: relative;
    padding: 0.8rem;
    text-align: center;
    margin-top: 10px;
}

.image-overlay p {
    font-size: 0.9rem;
    color: #343a40;
    margin: 0;
    font-weight: 600;
}

/* Program Section */
.program {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.time {
    background: #dc3545;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: bold;
    font-family: 'Orbitron', monospace;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border: 2px solid #dc3545;
}

.event {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    margin: 0 2rem;
    flex: 1;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.event h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
    color: #343a40;
    font-weight: 700;
}

.event p {
    color: #343a40;
    font-weight: 500;
    line-height: 1.6;
}

/* Toastmaster Section */
.toastmaster {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #343a40;
}

.toastmaster .section-title {
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.toastmaster-content {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    font-size: 1.2rem;
    color: #343a40;
    font-weight: 500;
}

.toastmaster-image {
    flex-shrink: 0;
}

.toastmaster-text {
    flex: 1;
}

.toastmaster-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #dc3545;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
    transition: transform 0.3s ease;
}

.toastmaster-img:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.4);
}

/* Facilities Section */
.facilities {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.facilities-info {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.facilities-info p {
    font-size: 1.2rem;
    color: white;
    font-weight: 500;
    line-height: 1.6;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.facility-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 3px solid #ffffff;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.facility-item:hover {
    transform: translate3d(0, -5px, 0);
}

.facility-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.facility-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #343a40;
    font-weight: 600;
}

/* Gifts Section */
.gifts {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.gift-content {
    text-align: center;
}

.gift-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: 500;
}

.gift-link {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    border: 2px solid #dc3545;
}

.gift-link:hover {
    transform: translate3d(0, -3px, 0);
}

/* FAQ Section */
.faq {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #343a40;
}

.faq .section-title {
    color: #dc3545;
    text-shadow: 2px 2px 4px rgba(220, 53, 69, 0.3);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 3px solid #dc3545;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(220, 53, 69, 0.2);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #343a40;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: #343a40;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-names {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .toastmaster-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .number {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .concept-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dress-code-content {
        grid-template-columns: 1fr;
    }
    
    .dress-code-images {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-item .time {
        order: -1;
        margin-right: 1rem;
    }
    
    .timeline-item .event {
        margin: 0;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-names {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 0.8rem;
    }
    
    .number {
        font-size: 1.5rem;
    }
    
    .language-toggle {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Optimized Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

section {
    animation: fadeInUp 0.8s ease-out;
    will-change: transform, opacity;
}

/* Optimized particle effect for hero */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 8s infinite linear;
    will-change: transform;
}

.hero-particles::before {
    left: 15%;
    animation-delay: 0s;
}

.hero-particles::after {
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
} 