/* Shared styling for Prof. Dr. Evrim Metcalfe site */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f7f9;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Navigation Styles */
.navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.nav-brand h1 {
    margin: 0;
    color: #2d3a4a;
    font-size: 1.4rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #3e4e63;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2d9a8c;
}

.nav-links .contact-btn {
    background: #2d9a8c;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.nav-links .contact-btn:hover {
    background: #236b5e;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #2d3a4a;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f5 100%);
    padding: 20px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #2d3a4a;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image {
    flex: 0 0 400px;
    text-align: center;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 160px;
}

/* Hero Social Links */
.hero-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    background: #e8f8f5;
    color: #2d9a8c;
    border: 1px solid #2d9a8c;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 80px;
}

.social-btn img {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    background: #2d9a8c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(45, 154, 140, 0.3);
}

.cta-button.primary {
    background: #2d9a8c;
    color: white;
    box-shadow: 0 4px 12px rgba(45, 154, 140, 0.3);
}

.cta-button.primary:hover {
    background: #236b5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 154, 140, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: #2d9a8c;
    border: 2px solid #2d9a8c;
}

.cta-button.secondary:hover {
    background: #2d9a8c;
    color: white;
    transform: translateY(-2px);
}

/* Legacy CTA button support */
.cta-button:not(.primary):not(.secondary) {
    background: #2d9a8c;
    color: white;
}

.cta-button:not(.primary):not(.secondary):hover {
    background: #236b5e;
}
.header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.header-col-text { flex: 1 1 60%; }
.header-col-img { flex: 0 0 180px; display: flex; justify-content: flex-end; }
/* Profile Image Styling */
.profile-img { 
    width: 350px; 
    height: 350px; 
    object-fit: cover; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Styling */
section {
    padding: 20px 0;
    scroll-margin-top: 80px; /* Offset for sticky navbar */
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d3a4a;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Services Section */
.services {
    background: #fff;
}

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

.service-card {
    background: #f8fffe;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #2d9a8c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: #2d3a4a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Experience and Education Section */
.experience {
    background: #f7f7f9;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

.experience-timeline h3,
.education-qualifications h3 {
    color: #2d3a4a;
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: left;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    flex: 0 0 120px;
    font-weight: 600;
    color: #2d9a8c;
    font-size: 0.9rem;
    padding-top: 5px;
}

.timeline-content {
    flex: 1;
    padding-left: 20px;
}

.timeline-content h4 {
    color: #2d3a4a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.education-item h4 {
    color: #2d3a4a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.education-item p {
    color: #666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.education-item .year {
    color: #2d9a8c;
    font-weight: 600;
    font-size: 0.9rem;
}

.certifications {
    margin-top: 30px;
    padding: 20px;
    background: #f8fffe;
    border-radius: 8px;
    border-left: 4px solid #2d9a8c;
}

.certifications h4 {
    color: #2d3a4a;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.certifications ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certifications li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 20px;
}

.certifications li:last-child {
    border-bottom: none;
}

.certifications li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2d9a8c;
    font-weight: bold;
}

/* Recent Treatments Section */
.treatments {
    background: #fff;
}

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

.treatment-card {
    background: #f8fffe;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #2d9a8c;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.treatment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.treatment-header h3 {
    color: #2d3a4a;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
    flex: 1;
}

.treatment-date {
    background: #2d9a8c;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.treatment-details p {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.treatment-details strong {
    color: #2d3a4a;
}

.treatment-outcome {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.treatment-outcome h4 {
    color: #2d3a4a;
    margin-bottom: 10px;
    font-size: 1rem;
}

.treatment-outcome p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
}

.treatments-note {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background: #f7f7f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.treatments-note p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Schedule Section */
.schedule {
    background: #f7f7f9;
}

.schedule-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

.schedule-info h3,
.schedule-form h3 {
    color: #2d3a4a;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.schedule-info ul {
    list-style: none;
    padding: 0;
}

.schedule-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3a4a;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d9a8c;
}

.submit-btn {
    background: #2d9a8c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #236b5e;
}
/* Reviews Section */
.reviews {
    background: #fff;
}

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

.review-card {
    background: #f8fffe;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-card p {
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-card cite {
    color: #2d3a4a;
    font-weight: 600;
    font-style: normal;
}

/* FAQ Section */
.faq {
    background: #f7f7f9;
}

.faq-list {
    max-width: 800px;
    margin: 10px auto 0;
}

.faq-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #2d3a4a;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 10px;
}

.contact-info h3,
.contact-form h3 {
    color: #2d3a4a;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-details p {
    margin-bottom: 10px;
    color: #555;
}

.contact-details strong {
    color: #2d3a4a;
    display: inline-block;
    width: 120px;
}

/* Social Links */
.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #2d9a8c;
    padding: 12px 20px;
    border-radius: 6px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.social-links a:hover {
    background: #236b5e;
}

/* Footer */
.footer {
    background: #2d3a4a;
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin: 5px 0;
    opacity: 0.8;
}

/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-switch a {
    font-size: 0.9em;
    color: #3e4e63;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switch a:hover {
    text-decoration: underline;
}

/* Flag styling for language switch */
.lang-switch .flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
}

/* Utility class for screen-reader only text */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        min-height: 60px;
    }
    
    .nav-brand {
        margin-bottom: 0;
    }
    
    .nav-brand h1 {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        text-align: center;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links .contact-btn {
        margin-top: 10px;
        align-self: center;
        width: fit-content;
    }
    
    .lang-switch {
        position: absolute;
        top: 15px;
        right: 70px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .hero-social-links {
        justify-content: center;
        gap: 10px;
    }
    
    .social-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
        min-width: 70px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-image {
        flex: none;
    }
    
    .profile-img {
        width: 280px;
        height: 280px;
    }
    
    .services-grid,
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .treatment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .treatment-header h3 {
        font-size: 1.1rem;
    }
    
    .experience-content,
    .schedule-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-content {
        padding-left: 0;
    }
    
    .experience-timeline h3,
    .education-qualifications h3 {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 30px 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-top: 8px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .profile-img {
        width: 220px;
        height: 220px;
    }
    
    .service-card,
    .review-card,
    .faq-item {
        padding: 20px;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-top: 6px;
        margin-bottom: 30px;
    }
    
    section {
        padding: 20px 0;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links .contact-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}
