/* Doruk Hastaneleri - Modern Theme with Glassmorphism */

/* Plus Jakarta Sans Font Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Root Variables */
:root {
    /* Doruk Colors */
    --doruk-primary: #0B2C54;
    --doruk-secondary: #1E4D8B;
    --doruk-accent: #FF6B35;
    --doruk-accent-light: #FF8C42;
    --doruk-text-dark: #333333;
    --doruk-text-light: #666666;
    --doruk-white: #FFFFFF;
    --doruk-gray-light: #F5F5F5;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--doruk-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

/* Header Container */
.doruk-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

/* Creative Minimal Top Bar */
.header-top-bar {
    background: #FFFFFF;
    border-bottom: none;
    padding: 8px 0;
    font-size: 12px;
    position: relative;
}

/* Creative Decorative Divider */
.header-top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            #E0E0E0 20%,
            #0B2C54 50%,
            #E0E0E0 80%,
            transparent 100%);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.top-bar-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar-center {
    flex: 1;
    justify-content: center;
}

/* Contact Items */
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.top-bar-item:hover {
    color: #0B2C54;
}

.top-bar-item i {
    color: #0B2C54;
    font-size: 13px;
}

/* Quick Links */
.top-bar-quick-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666666;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.top-bar-quick-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: #0B2C54;
    transition: width 0.3s ease;
}

.top-bar-quick-link:hover {
    color: #0B2C54;
    background: rgba(11, 44, 84, 0.04);
}

.top-bar-quick-link:hover::before {
    width: 60%;
}

.top-bar-quick-link i {
    font-size: 12px;
}

/* Social Media Section */
.top-bar-social {
    gap: 6px;
}

.social-label {
    font-size: 11px;
    color: #999999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons-minimal {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons-minimal a {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 12px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.social-icons-minimal a::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 5px;
    background: #0B2C54;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.social-icons-minimal a:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    border-radius: 50%;
}

.social-icons-minimal a:hover::after {
    opacity: 1;
    border-radius: 50%;
}

/* Main Header */
.header-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Scrolled state - Evetvar pattern */
.doruk-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.doruk-header .container {
    max-width: 1600px;
}

/* Logo Area - Far Left */
.doruk-logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
    margin-right: auto;
}

.doruk-logo img {
    width: 275px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.doruk-logo:hover img {
    transform: scale(1.05);
}

/* Navigation Menu */
.doruk-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.doruk-nav li {
    position: relative;
}

.doruk-nav a {
    color: rgb(75, 85, 99);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doruk-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--doruk-primary);
    transition: width 0.3s ease;
}

.doruk-nav a:hover {
    color: var(--doruk-primary);
}

.doruk-nav a:hover::after,
.doruk-nav a.active::after {
    width: 100%;
}

.doruk-nav a.active {
    color: var(--doruk-primary);
}

/* E-Sonuç Button - Navy Blue */
.btn-esonuc {
    background: #0B2C54;
    color: var(--doruk-white);
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(11, 44, 84, 0.3);
}

.btn-esonuc:hover {
    background: #1E4D8B;
    color: var(--doruk-white);
    border-color: #0B2C54;
    box-shadow: 0 4px 16px rgba(11, 44, 84, 0.4);
    transform: translateY(-2px);
}

.btn-esonuc i {
    font-size: 18px;
}

/* Online Randevu Button - Full Oval/Pill Shape */
.btn-randevu {
    background: #FF6B35;
    color: var(--doruk-white);
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.btn-randevu:hover {
    background: #FF8C42;
    color: var(--doruk-white);
    border-color: #FF6B35;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

.btn-randevu i {
    font-size: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--doruk-text-dark);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-close {
    display: none !important;
}

/* Header Actions - Right Side */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.btn-language {
    background: transparent;
    color: #0B2C54;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #0B2C54;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: none;
}

.btn-language:hover {
    background: #0B2C54;
    color: #FFFFFF;
    border-color: #0B2C54;
    box-shadow: 0 4px 16px rgba(11, 44, 84, 0.3);
    transform: translateY(-2px);
}

.btn-language i.bi-globe {
    font-size: 18px;
}

.lang-text {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.active .lang-arrow {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: fixed;
    top: 150px;
    right: 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.language-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 30px;
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    transform: rotate(45deg);
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.lang-option::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(11, 44, 84, 0.08) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.lang-option:hover {
    background: transparent;
    border-left-color: #0B2C54;
    color: #0B2C54;
}

.lang-option:hover::after {
    width: 100%;
}

.lang-option.active {
    background: rgba(11, 44, 84, 0.04);
    border-left-color: #FF6B35;
    color: #0B2C54;
    font-weight: 600;
}

.lang-option.active .flag-icon {
    transform: scale(1.1);
}

.flag-icon {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lang-option span:last-child {
    flex: 1;
}



/* Responsive Design */
@media (max-width: 991px) {

    /* Hide top bar on mobile */
    .header-top-bar {
        display: none;
    }

    .doruk-logo img {
        height: 60px;
        max-width: 150px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .doruk-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 1rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }

    .doruk-nav.active {
        right: 0;
    }

    .doruk-nav a {
        width: 100%;
        padding: 12px 0;
        font-size: 18px;
    }

    .btn-randevu {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 32px;
        color: var(--doruk-text-dark);
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .doruk-logo img {
        height: 50px;
        max-width: 120px;
    }

    .doruk-nav {
        width: 100%;
        right: -100%;
    }
}

/* Utility Classes */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Footer Styles */
.doruk-footer {
    background: #1A1A2E;
    color: var(--doruk-white);
    margin-top: 80px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--doruk-white);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--doruk-white);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--doruk-primary);
    transform: translateY(-3px);
    color: var(--doruk-white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--doruk-primary-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact i {
    font-size: 18px;
    color: var(--doruk-primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--doruk-primary-light);
}

.footer-newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 15px;
}

.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--doruk-white);
    padding: 10px 15px;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--doruk-primary-light);
    color: var(--doruk-white);
    box-shadow: none;
}

.footer-newsletter .btn {
    background: var(--doruk-primary);
    border: none;
    padding: 10px 20px;
}

.footer-newsletter .btn:hover {
    background: var(--doruk-primary-light);
}

.footer-certifications .badge {
    font-size: 12px;
    padding: 6px 12px;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0F0F1E;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--doruk-primary-light);
}

@media (max-width: 768px) {
    .footer-bottom .col-md-6 {
        margin-bottom: 10px;
    }

    .footer-bottom .col-md-6:last-child {
        margin-bottom: 0;
    }
}

/* ===================================
   CREATIVE HEADER BUTTONS
   =================================== */
.btn-header-creative {
    position: relative;
    padding: 10px 28px;
    border-radius: 50px;
    background: #FFFFFF;
    color: #0B2C54;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(11, 44, 84, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    height: 42px;
}

.btn-header-creative i {
    margin-right: 8px;
    font-size: 16px;
    color: #FF6B35;
    transition: transform 0.3s ease;
}

.btn-header-creative:hover {
    border-color: #FF6B35;
    background: #FFFFFF;
    color: #FF6B35;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.btn-header-creative:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* Subtle gradient border effect on hover */
.btn-header-creative::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(45deg, #FF6B35, #FF8F66);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-header-creative:hover::before {
    opacity: 1;
}


/* ===================================
   HEADER ACTION BUTTONS
   =================================== */
.btn-header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-header-action i {
    font-size: 16px;
    margin-right: 8px;
}

/* Blue Style (Kart Girişi & E-Sonuç) */
.btn-header-blue {
    background-color: rgba(11, 44, 84, 0.08);
    /* Light blue bg */
    color: #0B2C54;
    border-color: rgba(11, 44, 84, 0.1);
}

.btn-header-blue:hover {
    background-color: #0B2C54;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Orange Style (Randevu) */
.btn-header-orange {
    background-color: #FF6B35;
    color: #FFFFFF;
    border-color: #FF6B35;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.btn-header-orange:hover {
    background-color: #E85A2A;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}