@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #e31e24;
    --primary-dark: #c1171c;
    --secondary-color: #1a1a1a;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Topbar */
.topbar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 20px;
}

.topbar-info a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-social {
    display: flex;
    gap: 15px;
}

.topbar-social a svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
    transition: var(--transition);
}

.topbar-social a:hover svg {
    fill: var(--primary-color);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Footer - Professional Redesign */
.footer {
    background-color: #0f0f0f;
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-contact-text h4 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-contact-text p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #666;
}

.developer-info {
    font-weight: 500;
}

.developer-info span {
    color: var(--primary-color);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive */
/* Hero Slider */
.hero {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.slider {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Features Section - Professional Update */
.features-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.features-image {
    flex: 1;
    position: relative;
}

.features-image img {
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.features-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.features-content {
    flex: 1.2;
}

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

.feature-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Districts Section - Professional Update */
.districts-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/tr_gallery_2_1767639493834.png');
    background-size: cover;
    background-attachment: fixed;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.district-item {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(227, 30, 36, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.district-item::before {
    content: '📍';
    font-size: 1.2rem;
}

.district-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.2);
    border-color: var(--primary-color);
}

@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
    }

    .features-image {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Call to Action */
.call-to-action {
    background-color: var(--secondary-color);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* Gallery */
.gallery-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

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

/* Page Header */
.page-header {
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    text-transform: uppercase;
}

/* About Section */
.about-flex {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-cta {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.about-cta p {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .topbar {
        display: none;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo span {
        display: block;
        font-size: 0.8rem;
        line-height: 1;
    }

    .navbar .btn-primary {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--secondary-color);
        padding: 40px;
        transition: var(--transition);
        z-index: 2000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        color: var(--white);
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .hamburger {
        display: block;
        z-index: 2100;
    }

    .hamburger span {
        background-color: var(--secondary-color);
    }

    .hamburger.toggle span {
        background-color: var(--white);
    }

    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

/* Services Page - Professional Update */
.services-page-section {
    background-color: var(--bg-light);
}

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

.service-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(227, 30, 36, 0.1);
    border-color: var(--primary-color);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 30px;
    position: relative;
}

.service-icon-box {
    position: absolute;
    top: -30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.3);
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-link:hover {
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.contact-icon {
    font-size: 2rem;
    background-color: var(--bg-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.contact-item p {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
}