﻿/* ===== Global Styles ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

    a:hover {
        color: var(--secondary-color);
    }

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn:hover {
        background: #c0392b;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

    .btn-outline:hover {
        background: var(--secondary-color);
        color: white;
    }

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-color);
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--secondary-color);
    }

.text-center {
    text-align: center;
}

/* ===== Header & Navigation ===== */
header {
    background-color: #edeae5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:80px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

    .logo span {
        color: var(--secondary-color);
    }

.nav-links {
    display: flex;
}

    .nav-links li {
        margin-left: 30px;
    }

    .nav-links a {
        color: var(--primary-color);
        font-weight: 600;
        transition: color 0.3s ease;
        position: relative;
    }

        .nav-links a.active,
        .nav-links a:hover {
            color: var(--secondary-color);
        }

            .nav-links a.active::after {
                content: '';
                position: absolute;
                bottom: -5px;
                left: 0;
                width: 100%;
                height: 2px;
                background: var(--secondary-color);
            }

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* ===== Hero Sections ===== */
.hero,
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-hero {
    height: 40vh;
}

    .hero-content,
    .page-hero .container {
        max-width: 800px;
        margin: 0 auto;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .hero p,
    .page-hero p {
        font-size: 20px;
        margin-bottom: 30px;
    }

/* ===== Home Page Styles ===== */
.services {
    padding: 100px 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
    }

.service-img {
    height: 200px;
    overflow: hidden;
}

    .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

    .service-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .service-content p {
        color: var(--text-light);
        margin-bottom: 20px;
    }

/* ===== About Page Styles ===== */
.about-page {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background: var(--secondary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.values-section {
    margin-top: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px);
    }

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--secondary-color);
}

.team-section {
    margin-top: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .team-card img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .team-card h3 {
        margin: 20px 0 5px;
        font-size: 22px;
    }

/* ===== Services Page Styles ===== */
.services-page {
    padding: 80px 0;
}

.service-category {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

    .service-category:nth-child(even) .category-content {
        order: -1;
    }

.category-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.category-content p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.service-features {
    margin: 25px 0;
}

    .service-features li {
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
    }

    .service-features i {
        color: var(--secondary-color);
        margin-right: 10px;
        margin-top: 3px;
    }

.category-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .category-img img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .category-img:hover img {
        transform: scale(1.05);
    }

.service-cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 80px;
}

    .service-cta h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

/* ===== Process Page Styles ===== */
.process-page {
    padding: 80px 0;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-details {
    margin-left: 20px;
}

    .step-details li {
        margin-bottom: 10px;
        display: flex;
        align-items: flex-start;
    }

    .step-details i {
        color: var(--secondary-color);
        margin-right: 10px;
        margin-top: 3px;
    }

.process-cta {
    background: var(--light-color);
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    margin-top: 80px;
}

/* ===== Branches Page Styles ===== */
.branches-page {
    padding: 80px 0;
}

#branchesMap {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    margin: 50px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.branch-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.branch-header {
    padding: 20px;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-status {
    text-align: right;
}

.status-open {
    background: #2ecc71;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 5px;
}

.branch-body {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.branch-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.branch-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.branch-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.city-tag {
    display: inline-block;
    background: var(--light-color);
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 14px;
}

/* ===== Gallery Page Styles ===== */
.gallery-page {
    padding: 80px 0;
}

.gallery-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
}

    .filter-btn.active {
        background: var(--secondary-color);
        color: white;
    }

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ===== Contact Page Styles ===== */
.contact-page {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-method {
    display: flex;
    margin-bottom: 30px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    flex-shrink: 0;
}

.method-details h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
    }

    .form-group textarea {
        height: 150px;
        resize: vertical;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .faq-question::after {
        content: '+';
        font-size: 24px;
    }

    .faq-question.active::after {
        content: '-';
    }

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question.active + .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ===== Footer Styles ===== */
footer {
    background: var(--primary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    color: white;
}

    .footer-col h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 50px;
        height: 2px;
        background: var(--secondary-color);
    }

.footer-col p {
    margin-bottom: 20px;
    color: #bdc3c7;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

    .footer-links a:hover {
        color: var(--secondary-color);
    }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: var(--secondary-color);
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
    font-size: 14px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
    .about-content,
    .service-category {
        grid-template-columns: 1fr;
    }

        .service-category:nth-child(even) .category-content {
            order: 0;
        }

    .about-img {
        order: -1;
    }

    .branch-body {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

        .nav-links.active {
            left: 0;
        }

        .nav-links li {
            margin: 15px 0;
        }

    .hamburger {
        display: block;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero p,
    .page-hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1,
    .page-hero h1 {
        font-size: 28px;
    }

    .btn {
        padding: 10px 20px;
    }

    .process-step {
        flex-direction: column;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
