/* =====================================
   ABOUT PAGE STYLES
   Doctor biography, credentials, philosophy
   Two-column layout with photo and content
   ===================================== */

/* ===== PAGE HEADER ===== 
   USED: <section class="page-header"> in about.html line 46
   Enhanced gradient header with title and subtitle
*/
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d6b 50%, var(--accent-color) 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* USED: Decorative gradient background for page-header */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 164, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* USED: <h1> inside page-header - "Meet The Doctor" */
.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* USED: <p> inside page-header - subtitle */
.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* ===== RETIREMENT ANNOUNCEMENT SECTION =====
   Two-column grid with retirement letter and office photo
*/
.retirement-announcement {
    background: #f8f9fa;
    padding: 3rem 0;
}

.retirement-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.retirement-letter,
.office-photo {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.retirement-letter:hover,
.office-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.retirement-letter img,
.office-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Responsive design for retirement section */
@media (max-width: 768px) {
    .retirement-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .retirement-letter,
    .office-photo {
        padding: 1rem;
    }
}
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* ===== DOCTOR BIO SECTION ===== 
   USED: <section class="doctor-bio"> in about.html line 57
   Main biography content with photo and text
*/
.doctor-bio {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* USED: Decorative gradient background for doctor-bio section */
.doctor-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(74, 144, 164, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(10, 37, 64, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* USED: <div class="bio-grid"> - Two-column layout for photo and text */
.bio-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* ===== DOCTOR PHOTO CONTAINER ===== 
   USED: <div class="bio-image"> in about.html line 61
*/
.bio-image {
    position: relative;
    width: 100%;
    max-width: 300px;
}

/* USED: <img> inside bio-image - Doctor's photo */
.bio-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* USED: Hover effect for bio-image img */
.bio-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===== BIO CONTENT ===== 
   USED: <div class="bio-content"> in about.html line 66
*/
/* USED: <h2> inside bio-content - "Dr. Marcena Gorgaes, D.D.S." */
.bio-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* USED: <p class="doctor-title"> - "Experienced General Dentist & Educator" */
.doctor-title {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* USED: <p class="lead"> inside bio-content - emphasized intro paragraph */
.bio-content .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    background: linear-gradient(90deg, rgba(74,144,164,0.05) 0%, transparent 100%);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* USED: Regular <p> tags inside bio-content - biography paragraphs */
.bio-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== DOCTOR HIGHLIGHTS ===== 
   USED: <div class="doctor-highlights"> in about.html line 83
   Three highlight cards showing Education, Experience, Specialties
*/
.doctor-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

/* USED: <div class="highlight-item"> - Individual highlight cards (3 total) */
.highlight-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* USED: Hover effect for highlight-item */
.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.15);
    border-color: rgba(74, 144, 164, 0.2);
}

/* USED: <div class="highlight-icon"> - Icon container in each card */
.highlight-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,144,164,0.1), rgba(10,37,64,0.05));
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

/* USED: Hover effect for highlight-icon */
.highlight-item:hover .highlight-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1);
}

/* USED: <div class="highlight-content"> - Text content in each card */
/* USED: <h3> inside highlight-content - Card titles */
.highlight-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* USED: <p> inside highlight-content */
.highlight-content p {
    color: var(--text-light);
    margin: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* USED: <ul class="highlight-list"> - Formatted lists inside highlight cards */
.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* USED: <li> inside highlight-list */
.highlight-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(74, 144, 164, 0.1);
}

/* USED: Last-child styling for highlight-list li */
.highlight-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* USED: First-child styling for highlight-list li */
.highlight-list li:first-child {
    padding-top: 0.5rem;
}

/* USED: <strong> inside highlight-list - Bold labels */
.highlight-list strong {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    display: block;
}

/* USED: <span> inside highlight-list - Regular text */
.highlight-list span {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    display: block;
}

/* USED: <span class="year"> - Year indicators in highlight lists */
.highlight-list .year {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

/* ===== PHILOSOPHY SECTION ===== 
   USED: <section class="philosophy"> in about.html line 166
   Practice values with navy background and card grid (4 cards)
*/
.philosophy {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d6b 50%, #0a2540 100%);
    position: relative;
    overflow: hidden;
}

/* USED: Decorative gradient background for philosophy section */
.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(74, 144, 164, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* USED: <h2 class="section-title"> - "Our Philosophy" */
.philosophy .section-title {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* USED: Decorative underline for section-title */
.philosophy .section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #68b3c8);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(74, 144, 164, 0.4);
}

/* USED: <div class="philosophy-grid"> - Grid container for 4 cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* USED: <div class="philosophy-card"> - 4 individual philosophy cards */
.philosophy-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

/* USED: Hover effect for philosophy-card */
.philosophy-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 50px rgba(74, 144, 164, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
    background: white;
}

/* USED: <div class="philosophy-icon"> - Icon container in each card */
.philosophy-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
}

/* USED: <svg> inside philosophy-icon */
.philosophy-icon svg {
    width: 35px;
    height: 35px;
}

/* USED: <h3> inside philosophy-card - Card titles */
.philosophy-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* USED: <p> inside philosophy-card - Card descriptions */
.philosophy-card p {
    color: var(--text-light);
    line-height: 1.7;
}

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

/* ===== TABLET (992px and below) ===== 
   USED: All styles below are responsive overrides
*/
@media (max-width: 992px) {
    /* USED: Stack bio layout vertically on tablets */
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* USED: Center and resize photo on tablets */
    .bio-image {
        max-width: 280px;
        margin: 0 auto;
    }

    /* USED: Responsive adjustments for doctor-highlights */
    .doctor-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem 0;
    }

    /* USED: Responsive font size for bio-content h2 */
    .bio-content h2 {
        font-size: 2rem;
    }
}

/* ===== MOBILE (768px and below) ===== 
   USED: All mobile responsive styles
*/
@media (max-width: 768px) {
    /* USED: Responsive adjustments for page-header */
    .page-header {
        padding: 3rem 0 2rem;
    }

    /* USED: Responsive font size for page-header h1 */
    .page-header h1 {
        font-size: 1.8rem;
    }

    /* USED: Responsive font size for page-header p */
    .page-header p {
        font-size: 1rem;
    }

    /* USED: Responsive padding for doctor-bio */
    .doctor-bio {
        padding: 3rem 0;
    }

    /* USED: Responsive font size for bio-content h2 */
    .bio-content h2 {
        font-size: 1.8rem;
    }

    /* USED: Responsive font size for doctor-title */
    .doctor-title {
        font-size: 1rem;
    }

    /* USED: Responsive font size for bio-content .lead */
    .bio-content .lead {
        font-size: 1.05rem;
        padding: 0.8rem 1rem;
    }

    /* USED: Responsive font size for bio-content p */
    .bio-content p {
        font-size: 1rem;
    }

    /* USED: Responsive adjustments for highlight-item */
    .highlight-item {
        padding: 1.5rem;
        gap: 1rem;
    }

    /* USED: Responsive sizing for highlight-icon */
    .highlight-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    /* USED: Responsive font size for highlight-content h3 */
    .highlight-content h3 {
        font-size: 1.1rem;
    }

    /* USED: Responsive font size for highlight-content p */
    .highlight-content p {
        font-size: 0.9rem;
    }

    /* USED: Responsive font size for highlight-list strong */
    .highlight-list strong {
        font-size: 0.95rem;
    }

    /* USED: Responsive font size for highlight-list span */
    .highlight-list span {
        font-size: 0.85rem;
    }

    /* USED: Responsive font size for highlight-list .year */
    .highlight-list .year {
        font-size: 0.8rem;
    }

    /* USED: Responsive padding for philosophy */
    .philosophy {
        padding: 3rem 0;
    }

    /* USED: Single column layout for philosophy-grid on mobile */
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}