/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    /* Prevent elements from overflowing their parent width */
}

/* Specific elements need to override max-width */
html,
body {
    max-width: none;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
    display: block;
    /* Removes bottom space */
}

:root {
    --primary-red: #d32f2f;
    --primary-dark-red: #b71c1c;
    --primary-light-red: #ff6659;
    --secondary-blue: #1976d2;
    --secondary-dark-blue: #0d47a1;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --background-light: #f8f9fa;
    --background-white: #ffffff;
    --border-light: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-dark-red);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 3px solid var(--primary-red);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
    border-color: var(--primary-red);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-emergency {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    border: 2px solid transparent;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
    background: linear-gradient(135deg, #ff5555, #dd0000);
}

.btn-emergency:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 68, 68, 0.3);
}

.emergency-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.emergency-text {
    font-weight: 700;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark-red) 100%);
    color: var(--text-white);
    padding: 100px 0 50px;
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.placeholder-image {
    width: 400px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px rgba(255, 255, 255, 0.3);
}

.placeholder-image span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    border-radius: 8px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-stats {
    display: grid;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--background-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Activities Section */
.activities {
    padding: 100px 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: var(--background-white);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.activity-card h3 {
    color: var(--primary-dark-red);
    margin-bottom: 1rem;
}

.activity-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Equipment Section */
.equipment {
    padding: 100px 0;
    background-color: var(--background-light);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-item {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-blue);
}

.equipment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.equipment-item h3 {
    color: var(--secondary-dark-blue);
    margin-bottom: 1rem;
}

.equipment-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-dark-red);
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form h3 {
    color: var(--primary-dark-red);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--background-white);
        flex-direction: column;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 80px 0 2rem 0;
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu a:hover {
        background-color: var(--background-light);
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        padding: 120px 0 50px;
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .placeholder-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about,
    .activities,
    .equipment,
    .contact {
        padding: 60px 0;
    }

    .activity-card,
    .equipment-item {
        padding: 1.5rem 1rem;
    }

    .activity-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .activities-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }
}

/* History Section Styles */
.history {
    padding: 100px 0;
    background-color: var(--background-light);
}

.timeline {
    position: relative;
    margin: 50px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-red), var(--secondary-blue));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--primary-red);
    color: var(--text-white);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--background-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 40%;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--background-white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--background-white);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-year {
        margin-bottom: 20px;
        align-self: flex-start;
    }

    .timeline-content {
        width: calc(100% - 20px);
        margin-left: 20px;
    }

    .timeline-content::before {
        display: none;
    }
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 50px;
}

.highlight-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--secondary-blue);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card h4 {
    color: var(--primary-dark-red);
    margin-bottom: 1rem;
}

/* Image Popup Styles */
.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.image-popup.active {
    display: flex;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.popup-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-red);
}

.popup-title {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

.vehicle-image {
    cursor: pointer;
    transition: transform 0.3s;
}

.vehicle-image:hover {
    transform: scale(1.02);
}

.vehicle-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Social Icon */
.social-icon {
    display: inline-block;
    vertical-align: middle;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--primary-light-red);
}

/* Emergency Notice Section */
.emergency-notice {
    background-color: #fff3f3;
    /* Light red background to signal importance */
    border: 1px solid #ffcdd2;
    border-left: 8px solid var(--primary-red);
    padding: 40px 0;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.15);
    border-radius: 8px;
}

.emergency-notice-content {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.emergency-notice-icon {
    width: 64px;
    height: 64px;
    stroke: var(--primary-red);
    stroke-width: 2;
    flex-shrink: 0;
    animation: noticePulse 2s infinite ease-in-out;
    background: white;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.emergency-notice-text {
    flex: 1;
}

.emergency-notice-text h2 {
    color: var(--primary-dark-red);
    margin-bottom: 10px;
    font-size: 2rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.emergency-notice-text p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 500;
}

@keyframes noticePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

@media (max-width: 768px) {
    .emergency-notice-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .emergency-notice-text h2 {
        text-align: center;
        font-size: 1.6rem;
    }

    .emergency-notice-text p {
        font-size: 1.1rem;
    }
}