/* Variables CSS */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff7700;
    --text-color: #333333;
    --light-gray: #f8f8f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-buttons {
    display: flex;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #0055b3;
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/img/cellphone-repair-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 160px 0 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: var(--light-gray);
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.breadcrumbs a {
    color: var(--dark-gray);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--dark-gray);
    margin: 0 10px;
}

.breadcrumbs .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* Common Section Styles */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--light-gray);
}

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

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

.section-title h2 {
    font-size: 36px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Phone Repair Services */
.repair-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.repair-service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.repair-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.repair-service-icon {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 40px;
}

.repair-service-content {
    padding: 20px;
}

.repair-service-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.repair-service-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.repair-service-content ul {
    list-style-position: inside;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.repair-service-content ul li {
    margin-bottom: 5px;
}

.repair-service-content .price {
    font-weight: 700;
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Brands */
.brands-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.brand-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.brand-logo img {
    max-width: 80%;
    max-height: 80%;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    max-width: 250px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    margin-bottom: 15px;
}

.process-step p {
    color: var(--dark-gray);
}

/* FAQ - Estilo original que funcionaba bien */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--white);
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background-color 0.3s;
    margin: 0;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
}

/* Location Search */
.location-search {
    text-align: center;
    margin-top: 40px;
}

.location-search p {
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-container input {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    flex: 1;
}

.search-container button {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-container button:hover {
    background-color: #e66900;
}

.popular-locations {
    margin-top: 40px;
}

.city-link {
    display: block;
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
    text-decoration: none;
    background-color: var(--white);
    border-radius: 8px;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.city-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* CTA */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    color: var(--white);
    text-align: center;
}

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

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

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

.cta .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    font-size: 18px;
    padding: 15px 30px;
}

/* Related Pages */
.related-pages {
    background-color: var(--light-gray);
    padding: 80px 0;
}

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

.related-page-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.related-page-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-page-content {
    padding: 20px;
}

.related-page-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.related-page-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #222;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-col p {
    color: #bbb;
    margin-bottom: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid #444;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .repair-services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .search-container input {
        width: 100%;
    }
    
    .cta h2 {
        font-size: 28px;
    }
}