/*
Theme Name: Dr. Olcay İlhan
Theme URI: https://drolcayilhan.com
Author: Op. Dr. Olcay İlhan
Description: Jinekolojik Onkoloji Cerrahisi Uzmanı - Profesyonel Doktor Web Sitesi
Version: 2.0
Text Domain: drolcayilhan
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0d1b2a;
    --accent: #2b6cb0;
    --gold: #b7945b;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-alt: #f7fafc;
    --border: #e2e8f0;
    --success: #38a169;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.6; background: var(--bg); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Top Bar */
.top-bar { background: var(--primary-dark); color: white; padding: 10px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: white; margin-left: 20px; transition: color 0.3s; }
.top-bar a:hover { color: var(--gold); }
.top-bar i { color: var(--gold); margin-right: 6px; }

/* Header */
.header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; }
.header-main { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; }
.logo-text h1 { font-size: 20px; color: var(--primary); margin: 0; }
.logo-text span { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; display: block; }
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone i { width: 38px; height: 38px; background: var(--bg-alt); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.header-phone span { font-size: 11px; color: var(--text-muted); }
.header-phone strong { font-size: 15px; color: var(--primary); display: block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s; border: none; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,54,93,0.3); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d4a85a); color: white; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(183,148,91,0.3); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.3); }

/* Navigation Tabs */
.nav-tabs { background: var(--bg-alt); border-bottom: 1px solid var(--border); overflow-x: auto; }
.nav-tabs .container { display: flex; }
.nav-tabs::-webkit-scrollbar { display: none; }
.nav-tab { padding: 16px 20px; font-size: 14px; font-weight: 500; color: var(--text-light); cursor: pointer; transition: all 0.3s; border-bottom: 3px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-tab:hover { color: var(--primary); background: white; }
.nav-tab.active { color: var(--primary); background: white; border-bottom-color: var(--accent); }
.nav-tab i { font-size: 15px; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); padding: 70px 0; }
.hero .container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.hero-content { color: white; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 50px; font-size: 13px; margin-bottom: 20px; }
.hero-badge i { color: var(--gold); }
.hero-title { font-size: 42px; margin-bottom: 12px; line-height: 1.2; }
.hero-subtitle { font-size: 18px; color: var(--gold); margin-bottom: 16px; font-family: 'Playfair Display', serif; }
.hero-text { font-size: 15px; opacity: 0.9; margin-bottom: 28px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-number { font-size: 36px; font-weight: 700; color: var(--gold); display: block; font-family: 'Playfair Display', serif; }
.stat-label { font-size: 12px; opacity: 0.8; }

/* Doctor Card */
.doctor-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: 20px; padding: 28px; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.doctor-photo { width: 160px; height: 160px; background: rgba(255,255,255,0.15); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; border: 3px solid rgba(255,255,255,0.2); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo i { font-size: 60px; color: rgba(255,255,255,0.5); }
.doctor-card h3 { color: white; font-size: 20px; margin-bottom: 6px; }
.doctor-card p { color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 16px; }
.credential-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.credential-badge { background: rgba(255,255,255,0.1); padding: 5px 10px; border-radius: 15px; font-size: 11px; color: white; }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 45px; }
.section-badge { display: inline-block; background: var(--bg-alt); color: var(--accent); padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.section-title { font-size: 32px; color: var(--primary); margin-bottom: 10px; }
.section-subtitle { color: var(--text-light); font-size: 15px; }

/* Category */
.category-section { margin-bottom: 45px; }
.category-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--border); }
.category-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.category-header h2 { font-size: 22px; color: var(--primary); margin: 0; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.service-card { background: white; border: 1px solid var(--border); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.3s; text-decoration: none; display: block; }
.service-card:hover { border-color: var(--accent); box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-3px); }
.service-card h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; }
.service-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.service-card .link { font-size: 13px; color: var(--accent); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.service-card:hover .link { gap: 8px; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.about-photo { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 16px; height: 400px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo i { font-size: 100px; color: rgba(255,255,255,0.3); }
.exp-badge { position: absolute; bottom: 20px; right: 20px; background: var(--gold); color: white; padding: 20px; border-radius: 14px; text-align: center; }
.exp-badge span { font-size: 36px; font-weight: 700; display: block; font-family: 'Playfair Display', serif; }
.exp-badge small { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.about-text h2 { font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 14px; font-size: 15px; line-height: 1.7; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.cred-item { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.cred-item i { color: var(--success); }
.membership-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.membership-badge { background: var(--bg-alt); padding: 6px 12px; border-radius: 6px; font-size: 12px; color: var(--text-light); border: 1px solid var(--border); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.testimonial-card { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.testimonial-stars { color: var(--gold); margin-bottom: 14px; font-size: 14px; }
.testimonial-text { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; font-size: 14px; }
.author-info strong { display: block; font-size: 14px; color: var(--text); }
.author-info span { font-size: 12px; color: var(--text-muted); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all 0.3s; text-decoration: none; display: block; }
.blog-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-image { height: 180px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-image i { font-size: 40px; color: rgba(255,255,255,0.3); }
.blog-content { padding: 20px; }
.blog-category { display: inline-block; background: var(--bg-alt); color: var(--accent); padding: 4px 10px; border-radius: 15px; font-size: 11px; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; line-height: 1.4; font-family: 'Inter', sans-serif; font-weight: 600; }
.blog-card .blog-content p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.blog-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }

/* Videos */
.video-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.video-main { background: var(--primary-dark); border-radius: 16px; height: 320px; display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; overflow: hidden; }
.video-main img { width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; width: 70px; height: 70px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 22px; transition: transform 0.3s; }
.video-main:hover .play-btn { transform: scale(1.1); }
.video-main-info { position: absolute; bottom: 20px; left: 20px; color: white; }
.video-main-info h3 { font-size: 17px; margin-bottom: 4px; }
.video-main-info span { font-size: 12px; opacity: 0.8; }
.video-list { display: flex; flex-direction: column; gap: 12px; }
.video-item { display: flex; gap: 14px; padding: 14px; background: white; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.video-item:hover { border-color: var(--accent); }
.video-thumb { width: 100px; height: 65px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb i { color: white; font-size: 16px; }
.video-info h4 { font-size: 13px; color: var(--text); margin-bottom: 3px; font-family: 'Inter', sans-serif; font-weight: 600; }
.video-info span { font-size: 11px; color: var(--text-muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info h2 { font-size: 28px; color: var(--primary); margin-bottom: 12px; }
.contact-info > p { color: var(--text-light); margin-bottom: 24px; font-size: 14px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg-alt); border-radius: 10px; transition: all 0.3s; text-decoration: none; }
.contact-method:hover { background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.06); }
.contact-method i { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.contact-method div span { font-size: 12px; color: var(--text-muted); display: block; }
.contact-method div strong { font-size: 15px; color: var(--text); display: block; }
.contact-form { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.contact-form h3 { font-size: 20px; color: var(--primary); margin-bottom: 20px; text-align: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { width: 100%; justify-content: center; }

/* Map */
.map-container { margin-top: 30px; border-radius: 12px; overflow: hidden; height: 250px; }
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; border-radius: 16px; max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; }
.modal-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; padding: 28px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; background: rgba(255,255,255,0.2); border: none; border-radius: 50%; color: white; font-size: 18px; cursor: pointer; transition: background 0.3s; }
.modal-close:hover { background: rgba(255,255,255,0.3); }
.modal-header h2 { font-size: 24px; margin-bottom: 6px; }
.modal-header p { opacity: 0.9; font-size: 14px; }
.modal-body { padding: 28px; }
.modal-body h3 { font-size: 18px; color: var(--primary); margin: 20px 0 12px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { color: var(--text-light); margin-bottom: 12px; line-height: 1.7; font-size: 14px; }
.modal-body ul { margin-left: 18px; margin-bottom: 12px; }
.modal-body li { color: var(--text-light); margin-bottom: 6px; font-size: 14px; }
.modal-cta { background: var(--bg-alt); padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.modal-cta p { color: var(--text-light); font-size: 14px; }

/* Footer */
.footer { background: var(--primary-dark); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 35px; }
.footer h3 { font-size: 18px; margin-bottom: 14px; }
.footer h4 { font-size: 14px; margin-bottom: 16px; color: var(--gold); font-family: 'Inter', sans-serif; font-weight: 600; }
.footer p { font-size: 13px; opacity: 0.8; line-height: 1.6; margin-bottom: 16px; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s; }
.social-links a:hover { background: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; opacity: 0.7; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; }
.footer-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; opacity: 0.8; margin-bottom: 10px; }
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; opacity: 0.6; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: white; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 26px; box-shadow: 0 4px 15px rgba(37,211,102,0.4); cursor: pointer; transition: all 0.3s; z-index: 999; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.1); }

/* Legal Notice */
.legal-notice { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 16px; margin-top: 35px; }
.legal-notice h4 { font-size: 13px; color: var(--text); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.legal-notice p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* WordPress Specific */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .doctor-card { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-phone { display: none; }
    .header-right .btn span { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .hero-title { font-size: 32px; }
    .hero { padding: 50px 0; }
    .section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
    .nav-tab span { display: none; }
    .nav-tab { padding: 14px 16px; }
    .cred-grid { grid-template-columns: 1fr; }
}
