/* Global Styles */
:root {
    --primary-color: #e21e25;
    --primary-dark: #b9181e;
    --secondary-color: #222222;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --whatsapp: #25D366;
    --whatsapp-dark: #20BD5A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    font-weight: bold;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top a:hover {
    opacity: 0.9;
}

.header-main {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text h1 {
    color: var(--secondary-color);
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.logo-text p {
    color: var(--text-light);
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.header-phone-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-hero h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 800;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: #f1f1f1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--white);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: #fff0f0;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.feature-card h3,
.feature-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Services */
.services,
.section {
    padding: 80px 0;
}

.section-gray {
    background: #f4f4f4;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2,
.section-header h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-overlay {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 700;
}

.service-card-content {
    padding: 20px;
}

/* About Page Specifics */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: #fff0f0;
    color: var(--primary-color);
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
}

/* Contact Page Specifics */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.contact-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
}

/* Fixed Buttons */
.fixed-contacts {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.fixed-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.fixed-btn-whatsapp {
    background: #25D366;
}

.fixed-btn-phone {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-top {
        display: none;
        /* Simplify mobile header */
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        display: none;
        /* Would need a mobile menu script, hiding for now or keeping simple */
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .about-content,
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 500px;
        padding: 60px 0;
    }


    .grid-3,
    .grid-5,
    .services-grid,
    .features-grid,
    .gallery-grid,
    .contact-cards,
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Page Specific Styles - Added */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-item::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service/Location Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.location-card,
.region-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.location-card:hover,
.region-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-header {
    display: flex;
    gap: 15px;
}

.location-icon,
.region-icon {
    width: 40px;
    height: 40px;
    background: #fff0f0;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.region-card {
    text-align: center;
    padding: 24px;
}

.region-icon {
    margin: 0 auto 15px;
    border-radius: 50%;
}

.region-card h4,
.location-card h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.region-card p,
.location-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Contact Page Additional */
.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.region-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
}

.region-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.info-box {
    margin-top: 20px;
    padding: 15px;
    background: #fff0f0;
    border: 1px solid #fadbd8;
    border-radius: 8px;
    display: flex;
    gap: 15px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h5 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.service-image {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
}