/* ============================================
   GUINCHOS CIDADE RIBEIRÃO - ESTILOS PRINCIPAIS
   ============================================ */

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

:root {
    --primary-red: #FF0000;
    --primary-green: #00CC00;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    background-color: #fff;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
}

.logo-text {
    color: var(--primary-red);
    font-size: 24px;
    line-height: 1;
}

.logo-city {
    color: var(--text-dark);
    font-size: 12px;
    margin-top: 2px;
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.phone-btn {
    background-color: var(--primary-red);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.phone-btn:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.phone-icon {
    font-size: 18px;
}

.phone-text {
    font-size: 14px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-bairro {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23333" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-green);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #00aa00;
    transform: scale(1.05);
}

.whatsapp-icon {
    font-size: 20px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-bairro {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.services-bairro h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.services-bairro > .container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 18px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   ADVANTAGES SECTION
   ============================================ */

.advantages {
    padding: 80px 20px;
    background-color: white;
}

.advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 18px;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #cc0000 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-green);
    color: white;
    padding: 18px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
}

.cta-btn-large:hover {
    background-color: #00aa00;
    transform: scale(1.05);
}

.phone-info {
    font-size: 16px;
    margin-top: 20px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* ============================================
   BAIRROS GRID
   ============================================ */

.bairros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.bairro-link {
    display: block;
    padding: 15px;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bairro-link:hover {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: space-around;
        gap: 15px;
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .phone-btn {
        order: 2;
        padding: 8px 15px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

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

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

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 0;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .cta-btn,
    .cta-btn-large {
        padding: 12px 25px;
        font-size: 14px;
    }

    .services-bairro h2,
    .advantages h2,
    .cta-section h2 {
        font-size: 24px;
    }

    .service-card,
    .advantage-card {
        padding: 20px;
    }

    .bairros-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
