/* Custom CSS for Dr. Sezai Ertürk Website */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #20c997;
    --dark-color: #212529;
    --light-bg: #f8f9fa;
}

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

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

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.brand-text.bi {
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Language Switcher */
.language-switcher {
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid transparent;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.lang-btn:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.2);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: rgba(13, 110, 253, 0.1);
    border-color: var(--primary-color);
}

.flag-icon {
    width: 24px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: block;
}

.lang-btn:hover .flag-icon {
    transform: scale(1.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.lang-btn.active .flag-icon {
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .language-switcher {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.about-intro-hero {
    background: white;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-intro-hero h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-intro-hero p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
    text-align: justify;
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-image-placeholder i {
    font-size: 150px;
    color: var(--primary-color);
    opacity: 0.3;
}

.hero-image-placeholder p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Doctor Image */
.doctor-image {
    text-align: center;
}

.doctor-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    cursor: pointer;
}

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

/* Service card link styling */
a:has(.service-card) {
    color: inherit;
}

a:has(.service-card):hover .service-card h3 {
    color: #6BB5BC;
}

.service-icon {
    width: 80px;
    height: 80px;
    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;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-icon-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.7;
}

/* Services List */
.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    border-bottom: 1px solid #e9ecef;
}

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

/* Service Categories */
.service-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.services-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list-detailed li {
    padding: 15px 0;
    font-size: 1.05rem;
    color: #444;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.services-list-detailed li:last-child {
    border-bottom: none;
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

/* About Section - Minimal LinkedIn Style */
#about {
    padding: 60px 0 !important;
}

/* Featured Services Section */
.featured-service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e5e7eb;
}

.featured-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.featured-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-service-card:hover .featured-service-image img {
    transform: scale(1.05);
}

.featured-service-content {
    padding: 20px;
    text-align: center;
}

.featured-service-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.4;
}

.about-intro {
    background: white;
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-intro p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #374151;
    margin: 0;
    text-align: justify;
}

.minimal-timeline {
    background: white;
    border-radius: 12px;
    padding: 32px 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.minimal-timeline-item {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 24px;
}

.minimal-timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 28px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.minimal-timeline-item:first-child {
    padding-top: 0;
}

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

.timeline-position h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.timeline-company {
    font-size: 0.95rem;
    color: #374151;
    margin: 0 0 6px 0;
    line-height: 1.5;
    font-weight: 500;
}

.timeline-period {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 4px 0;
    line-height: 1.4;
}

.timeline-location {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .minimal-timeline {
        padding: 24px 20px;
    }

    .minimal-timeline-item {
        padding-left: 20px;
    }

    .minimal-timeline-item::before {
        width: 6px;
        height: 6px;
        top: 24px;
    }
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 110, 253, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: white;
}

/* Info Cards */
.info-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 2.5rem;
    color: white;
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.info-card p {
    color: var(--secondary-color);
    margin: 0;
}

/* Contact Section */
#contact {
    background-color: #6BB5BC !important;
}

.contact-info p {
    font-size: 1.2rem;
}

.social-links .btn {
    min-width: 150px;
    margin: 5px;
}

/* Footer */
footer {
    background-color: #212529;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image-placeholder {
        margin-top: 40px;
        padding: 40px;
    }

    .hero-image-placeholder i {
        font-size: 100px;
    }

    .service-card,
    .info-card {
        margin-bottom: 20px;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

    .about-content {
        padding: 25px;
    }

    .about-content p {
        text-align: left;
        font-size: 1rem;
    }

    .philosophy-box {
        padding: 20px;
    }

    .gallery-item img {
        height: 250px;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 0;
        width: 40px;
        height: 40px;
    }

    .timeline-marker i {
        font-size: 1rem;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h5 {
        font-size: 1.1rem;
    }

    .timeline-date {
        font-size: 0.8rem;
    }
}

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

.service-card,
.info-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

/* Image Modal Styling */
#imageModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    background: transparent;
    border: none;
}

#imageModal .modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0 12px 0 8px;
}

#imageModal .btn-close {
    padding: 0.5rem;
}

#imageModal .modal-body {
    padding: 0;
    background: transparent;
}

#imageModal .modal-body img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: 85vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Gallery Collage */
.gallery-collage-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-collage {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-collage:hover {
    transform: translateY(-5px);
}

.collage-row {
    display: flex;
    gap: 15px;
}

.collage-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.collage-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collage-item.large {
    flex: 2;
    height: 400px;
}

.collage-item.small {
    height: 192.5px;
}

.collage-item.medium {
    flex: 1;
    height: 250px;
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 181, 188, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.gallery-collage:hover .collage-overlay {
    opacity: 1;
}

.collage-overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.collage-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .collage-row {
        flex-direction: column;
    }

    .collage-item.large,
    .collage-item.small,
    .collage-item.medium {
        height: 250px;
    }
}

/* Topics Page Styles */
.topics-sidebar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.topics-sidebar h5 {
    color: var(--dark-color);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.topic-item {
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 0 8px 8px 0;
}

.topic-item:hover {
    background-color: #f8f9fa;
    border-left-color: #6BB5BC;
    transform: translateX(5px);
}

.topic-item.active {
    background-color: #6BB5BC;
    color: white;
    border-left-color: #5a9da3;
}

.topic-item.active:hover {
    background-color: #5a9da3;
}

.topic-item i {
    font-size: 1.1rem;
}

.topic-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.topic-detail {
    display: none;
}

.topic-detail.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

.topic-header {
    border-bottom: 3px solid #6BB5BC;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.topic-header h2 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 2rem;
}

.topic-body {
    line-height: 1.8;
    color: #495057;
}

.topic-body h3 {
    color: var(--dark-color);
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.topic-body h4 {
    color: #495057;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
}

.topic-body ul {
    margin-left: 20px;
}

.topic-body ul li {
    margin-bottom: 10px;
}

.topic-body .alert {
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .topics-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .topic-content {
        padding: 20px;
    }

    .topic-header h2 {
        font-size: 1.5rem;
    }
}

/* Service List Styles */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

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

.service-list li i {
    color: #6BB5BC;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Service Item Styles */
.service-item {
    background: #f8f9fa;
    border-left: 4px solid #6BB5BC;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.service-item h4 {
    color: #6BB5BC;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.service-definition {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 10px 0;
    font-style: italic;
}

.service-details {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 6px 0;
}

.service-details strong {
    color: #495057;
    font-weight: 600;
}
