/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */

:root {
    --color-primary: #DC3545;      /* Fire Red */
    --color-secondary: #1C1C1C;    /* Dark Gray */
    --color-accent: #FFC107;       /* Gold */
    --color-light: #F8F9FA;        /* Light Gray */
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #E0E0E0;
    
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 5px 20px rgba(220, 53, 69, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: var(--color-white);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    background-color: var(--color-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px 0;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8B0000 100%);
    color: var(--color-white);
    padding: 120px 20px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: 80px 20px;
    background-color: var(--color-light);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--color-primary);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8B0000 100%);
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========================================
   PAGE HEADER IMAGE
   ======================================== */

.page-header-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 80px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-content.reversed {
    grid-template-columns: 1fr 1fr;
}

.about-content.reversed .about-text {
    order: 2;
}

.about-content.reversed img {
    order: 1;
}

.about-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--box-shadow-hover);
}

.about-text h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.values-list {
    list-style: none;
}

.values-list li {
    padding: 0.5rem 0;
    color: var(--color-text-light);
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team {
    background-color: var(--color-light);
    padding: 80px 20px;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.team > .container > p {
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.team-member p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.team-member .bio {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery {
    padding: 80px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(220, 53, 69, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay p {
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: 80px 20px;
    background-color: var(--color-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.info-box {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.info-box h3 {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--color-text-light);
}

.info-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    text-decoration: underline;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-form h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* ========================================
   MAP SECTION
   ======================================== */

.map-section {
    padding: 80px 20px;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-secondary);
        padding: 1rem;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 20px;
        min-height: auto;
    }

    .features h2 {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-content.reversed .about-text,
    .about-content.reversed img {
        order: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .gallery-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .navbar .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .features h2,
    .cta h2 {
        font-size: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
