/* ==================== */
/* CSS Variables & Reset */
/* ==================== */
:root {
    --primary-color: #1a4d7a;
    --secondary-color: #2d6a9f;
    --accent-color: #c8102e;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #d5d5d5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

/* ==================== */
/* Header */
/* ==================== */
.site-header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--primary-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.contact-info {
    text-align: right;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-info strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* ==================== */
/* Navigation */
/* ==================== */
.main-nav {
    background: var(--primary-color);
    box-shadow: var(--shadow);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: var(--bg-white);
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

.has-submenu:hover .submenu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-hover);
    list-style: none;
    z-index: 100;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.submenu li a:hover {
    background: var(--bg-light);
    border-left-color: var(--accent-color);
    padding-left: 25px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== */
/* Hero Section */
/* ==================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==================== */
/* Slideshow */
/* ==================== */
.slideshow {
    background: var(--text-dark);
    padding: 0;
}

.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--text-dark);
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 77, 122, 0.9);
    color: var(--bg-white);
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 77, 122, 0.8);
    color: var(--bg-white);
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(200, 16, 46, 0.9);
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.slide-indicator.active {
    background: var(--accent-color);
}

/* ==================== */
/* Content Sections */
/* ==================== */
.content-section {
    padding: 60px 20px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.column h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.feature {
    margin-bottom: 30px;
}

.feature h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ==================== */
/* Photo Gallery */
/* ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-item-caption {
    padding: 15px;
    background: var(--bg-white);
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

/* ==================== */
/* Footer */
/* ==================== */
.site-footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: var(--bg-white);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--accent-color);
}

/* ==================== */
/* Page Headers */
/* ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    padding: 40px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==================== */
/* Content Pages */
/* ==================== */
.page-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.page-content h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.page-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content ul {
    margin: 20px 0 20px 40px;
    color: var(--text-medium);
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ==================== */
/* Responsive Design */
/* ==================== */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .contact-info {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li > a {
        padding: 12px 20px;
    }

    .submenu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--secondary-color);
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .submenu li a {
        color: var(--bg-white);
        border-left: none;
        padding-left: 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .slideshow-container {
        height: 300px;
    }

    .slide-prev,
    .slide-next {
        padding: 10px 15px;
        font-size: 1.5rem;
    }

    .slide-prev {
        left: 10px;
    }

    .slide-next {
        right: 10px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .slideshow-container {
        height: 250px;
    }

    .slide-caption {
        font-size: 1rem;
        padding: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
