/* CSS Variables */
:root {
    --color-primary: #EC5623;
    --color-primary-hover: #d44a1a;
    --color-dark: #333333;
    --color-light: #ffffff;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --color-beige: #d9c9a3;
    --color-dark-section: #4a4a4a;
    --font-primary: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-facebook {
    background-color: #1877f2;
    color: var(--color-light);
}

.btn-facebook:hover {
    background-color: #166fe5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: auto;
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 8px;
}

.search-toggle:hover {
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: var(--header-height);
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 40px;
    margin-top: 15%;
    margin-left: 5%;
    color: var(--color-light);
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.slide-content p {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.5;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-light);
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.services-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-text h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.services-text h2:last-of-type {
    color: var(--color-gray);
    margin-bottom: 24px;
}

.services-text p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.services-map img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Stories Section */
.stories-section {
    padding: 80px 0;
    background-color: var(--color-light-gray);
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-dark);
}

.stories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.story-card {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 4px;
}

.story-date {
    font-size: 14px;
    color: var(--color-gray);
}

.story-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 12px 0;
    color: var(--color-dark);
}

.story-card p {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
}

.read-more::before {
    content: '☰';
    margin-right: 8px;
    font-size: 12px;
}

.read-more:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--color-beige);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.cta-section p {
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--color-light);
}

.news-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-list {
    flex: 1;
}

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.news-item:first-child {
    padding-top: 0;
}

.news-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.news-item h3 a {
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.news-item h3 a:hover {
    color: var(--color-primary);
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--color-gray);
}

.news-meta .date::before {
    content: '🕐 ';
}

.news-meta .comments::before {
    content: '💬 ';
}

.news-meta .comments {
    color: var(--color-primary);
}

/* Social Widget */
.social-widget {
    flex: 0 0 300px;
}

.facebook-placeholder {
    background-color: var(--color-light-gray);
    padding: 30px;
    border-radius: 4px;
    text-align: center;
}

.fb-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
}

.fb-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.fb-followers {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--color-dark-section);
}

.gallery-section .section-title {
    color: var(--color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-more {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background-color: var(--color-light-gray);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-sponsors h3,
.footer-contact h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
}

.sponsor-logos img {
    height: 50px;
    width: auto;
}

.partners-link {
    font-size: 18px;
    color: var(--color-dark);
}

.partners-link a {
    color: var(--color-primary);
}

.partners-link a:hover {
    text-decoration: underline;
}

.footer-contact address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-gray);
}

.footer-contact address strong {
    color: var(--color-dark);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--color-gray);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .services-content {
        flex-direction: row;
        align-items: center;
    }

    .services-text {
        flex: 1;
    }

    .services-map {
        flex: 1;
    }

    .stories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .news-content {
        flex-direction: row;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-sponsors {
        flex: 2;
    }

    .footer-contact {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .slide-content h1 {
        font-size: 56px;
    }

    .slide-content p {
        font-size: 22px;
    }

    .services-text h2 {
        font-size: 38px;
    }
}

/* Mobile Nav (when active) */
@media (max-width: 767px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--color-light);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .main-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
    }

    .nav-list a {
        font-size: 18px;
        display: block;
        padding: 8px 0;
    }

    .header-actions .btn {
        display: none;
    }
}
