:root {
    --navy: #101820;
    --white: #FFFFFF;
    --light-gray: #F4F6F8;
    --orange: #F58220;
    --dark-red: #A61B1B;
    --gray-text: #4a5568;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-gray);
    color: var(--navy);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.site-header {
    background-color: var(--navy);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--orange);
}

.logo span {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.8;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--orange);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s;
}

.btn-warning {
    background-color: var(--orange);
    color: var(--white);
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* Hero */
.hero {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Sections */
.section-padding {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--navy);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.content-block {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.content-block h3 {
    color: var(--navy);
    margin-bottom: 15px;
    border-right: 5px solid var(--orange);
    padding-right: 15px;
}

.content-block p {
    margin-bottom: 15px;
}

/* Alerts */
.alert-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 600;
}

.alert-box.warning {
    background-color: rgba(245, 130, 32, 0.1);
    border: 1px solid var(--orange);
    color: var(--orange);
}

.alert-box.danger {
    background-color: rgba(166, 27, 27, 0.1);
    border: 1px solid var(--dark-red);
    color: var(--dark-red);
}

.alert-box.success {
    background-color: #e6fffa;
    border: 1px solid #38b2ac;
    color: #2c7a7b;
}

/* Info Cards */
.info-card {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.info-item {
    padding: 8px 0;
    border-bottom: 1px dashed #cbd5e0;
}
.info-item:last-child {
    border-bottom: none;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Math Box */
.math-box {
    background: #fffaf0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-right: 4px solid var(--orange);
}

.math-box p {
    margin-bottom: 10px;
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding-right: 30px;
    margin: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--navy);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-date {
    font-weight: 700;
    color: var(--orange);
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -34px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--navy);
    border-radius: 50%;
}

/* Gallery */
.gallery {
    text-align: center;
}

.main-image img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    cursor: pointer;
}

.main-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray-text);
    font-style: italic;
}

.thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.thumbnails img.active, .thumbnails img:hover {
    opacity: 1;
    border: 2px solid var(--orange);
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

.lightbox-close { top: 20px; left: 20px; }
.lightbox-prev { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { left: 20px; top: 50%; transform: translateY(-50%); }

/* Message to Party */
.message-to-party {
    border: 2px solid var(--orange);
    background-color: #fffcf7;
}

/* Forms */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e0;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
}

.form-check {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.results-box {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.results-box ul {
    list-style: none;
}

.results-box li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Checklist */
.checklist-container {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.checklist input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    accent-color: var(--orange);
    cursor: pointer;
}

.checklist label {
    cursor: pointer;
    flex: 1;
    font-size: 1.1rem;
}

/* Privacy Pledge */
.privacy-pledge {
    background: #e6fffa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #b2f5ea;
}

.privacy-pledge h3 {
    margin-bottom: 15px;
    color: #2c7a7b;
}

.privacy-pledge ul {
    list-style: disc;
    padding-right: 20px;
}

.reply-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Footer */
.site-footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--orange);
    text-decoration: none;
}

.disclaimer {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .btn-warning {
        display: none;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .lightbox-prev, .lightbox-next {
        font-size: 1.5rem;
    }
}