/**
 * Doctor Single Page Styles
 * Modern design matching HTML template
 */

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 15px 50px rgba(1, 146, 188, 0.4);
    }
    50% { 
        box-shadow: 0 15px 60px rgba(1, 146, 188, 0.6), 0 0 30px rgba(68, 243, 201, 0.3);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Doctor Hero Section */
.doctor-hero {
    padding: 100px 0;
    min-height: 550px;
    background-image: linear-gradient(135deg, rgba(1, 146, 188, 0.92) 0%, rgba(68, 243, 201, 0.85) 100%), url('../images/hero-medical-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.doctor-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 146, 188, 0.75) 0%, rgba(68, 243, 201, 0.65) 100%);
    z-index: 1;
}

.doctor-hero-container {
    position: relative;
    z-index: 2;
}

.doctor-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    color: white;
    justify-content: flex-start;
}

.doctor-photo-wrapper {
    width: 320px;
    height: 320px;
    flex-shrink: 0;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 5px solid rgba(255,255,255,0.3);
    position: relative;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    flex: 1;
}

.doctor-name {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: left;
}

.doctor-title {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    font-weight: 500;
    text-align: left;
}

.doctor-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.doctor-tag {
    padding: 8px 20px;
    background: #ffffff;
    border-radius: 25px;
    font-size: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.doctor-stats {
    display: flex;
    gap: 45px;
    margin-top: 35px;
    justify-content: flex-start;
}

.doctor-stat {
    text-align: left;
}

.doctor-stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.doctor-stat-label {
    opacity: 0.9;
    font-size: 15px;
}

/* Doctor Details Wrapper */
.doctor-details-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Main Content */
.doctor-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-block {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.section-block h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.section-block p,
.section-block ul,
.section-block ol {
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.section-block p:last-child {
    margin-bottom: 0;
}

/* Specialty List */
.section-block ul {
    list-style: none;
    padding: 0;
}

.section-block ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.section-block ul li:last-child {
    border-bottom: none;
}

.section-block ul li i {
    color: #0192BC;
    margin-right: 10px;
    font-size: 16px;
}

/* Achievement Boxes */
.achievement-content > div,
.specialty-content > div {
    padding: 20px;
    background: #f8faff;
    border-radius: 12px;
    border-left: 3px solid #0192BC;
    margin-bottom: 15px;
}

.achievement-content h4 {
    margin-bottom: 10px;
    color: #0192BC;
    font-size: 16px;
    font-weight: 600;
}

.achievement-content p {
    font-size: 14px;
    line-height: 1.8;
}

/* Sidebar */
.doctor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #0192BC 0%, #44F3C9 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(1, 146, 188, 0.4);
    position: relative;
    overflow: hidden;
    text-align: center;
    animation: glow 3s ease-in-out infinite;
}

.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
}

.cta-card::before {
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
}

.cta-card::after {
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.cta-badge i {
    color: #ffd700;
}

.cta-card h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 15px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.btn-cta {
    width: 100%;
    background: white;
    color: #0192BC;
    text-align: center;
    display: block;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    color: #0192BC;
}

.btn-cta-outline {
    width: 100%;
    border: 2px solid white;
    background: rgba(255,255,255,0.1);
    color: white;
    text-align: center;
    display: block;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: white;
}

.cta-note {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Info Card */
.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.info-card h3 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.info-item {
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.info-value {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
}

.info-price {
    color: #0192BC;
    font-size: 18px;
}

/* Appointment Form Section */
.doctor-appointment {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.doctor-appointment h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .doctor-hero {
        padding: 60px 0;
        min-height: auto;
        background-attachment: scroll;
    }

    .doctor-hero-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .doctor-photo-wrapper {
        width: 200px;
        height: 200px;
    }

    .doctor-info {
        width: 100%;
    }

    .doctor-name {
        font-size: 32px;
        text-align: center;
    }

    .doctor-title {
        font-size: 16px;
        text-align: center;
    }

    .doctor-tags {
        justify-content: center;
    }

    .doctor-tag {
        font-size: 13px;
        padding: 6px 15px;
    }

    .doctor-stats {
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .doctor-stat-value {
        font-size: 28px;
    }

    .doctor-stat-label {
        font-size: 13px;
    }

    .doctor-details-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-block {
        padding: 30px 20px;
    }

    .section-block h2 {
        font-size: 24px;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .doctor-appointment {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .doctor-photo-wrapper {
        width: 160px;
        height: 160px;
    }

    .doctor-name {
        font-size: 28px;
    }

    .doctor-title {
        font-size: 14px;
    }

    .doctor-stats {
        gap: 20px;
    }

    .doctor-stat-value {
        font-size: 24px;
    }
}
