/* ============================================
   SERVICE PAGE STYLES
   Dr. Delgado - Dermatólogo en Cúcuta
   Plantilla para páginas de servicios individuales
   ============================================ */

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #d4af37;
    --accent-color: #2c5f8d;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================
   BREADCRUMB STYLES
   ============================================ */

.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 20px 0;
    margin-top: 0;
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.breadcrumb li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb li a:hover {
    color: var(--secondary-color);
}

.breadcrumb li.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.5);
}

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

.hero-section {
    position: relative;
    height: 55vh;
    min-height: 400px;
    max-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.90) 0%, rgba(44, 95, 141, 0.85) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.hero-content .highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    background: #e5c158;
}

.cta-button i {
    font-size: 1.3rem;
}

/* ============================================
   MAIN CONTENT SECTIONS
   ============================================ */

section {
    padding: 80px 20px;
}

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

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

.section-title h2 {
    font-size: 2.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title .subtitle {
    font-size: 1.05rem;
    color: var(--accent-color);
    font-weight: 300;
}

.section-title .divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 20px auto;
    border-radius: 2px;
}

/* ============================================
   SERVICE OVERVIEW SECTION
   ============================================ */

.service-overview {
    background: var(--bg-white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.overview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

.overview-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.overview-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.overview-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item:hover i {
    color: var(--text-light);
}

/* ============================================
   BENEFITS SECTION
   ============================================ */

.benefits-section {
    background: var(--bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--text-light);
}

.benefit-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process-section {
    background: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 30px 20px;
}

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

.process-step h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.process-step p {
    color: #666;
    line-height: 1.7;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: var(--bg-light);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

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

.faq-question h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--secondary-color);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    background: var(--bg-white);
}

.pricing-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(212, 175, 55, 0.05));
    padding: 40px;
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.pricing-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.pricing-info p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.price-range {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.pricing-note {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin-top: 15px;
}

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

.related-services-section {
    background: var(--bg-light);
}

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

.related-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

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

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.related-content {
    padding: 25px;
}

.related-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.related-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    background: #e5c158;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    border: 2px solid var(--text-light);
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        height: 45vh;
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .overview-content {
        grid-template-columns: 1fr;
    }

    .overview-image {
        height: 300px;
    }

    .overview-highlights {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .process-steps,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.9rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}