/* Site-1: Hasta Yatağı - Profesyonel Mavi Tema */
:root {
    --primary-color: #2563eb; /* Profesyonel mavi */
    --secondary-color: #3b82f6; /* Açık mavi */
    --accent-color: #f59e0b; /* Altın sarı */
    --background-color: #f0f4f8; /* Açık mavi-gri */
    --card-bg: #ffffff;
    --text-color: #1e293b;
    --muted-text: #64748b;
    --border-color: #cbd5e1;
    --success-color: #10b981;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

.navbar {
    background: var(--card-bg) !important;
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
    border-bottom: 2px solid var(--primary-color);
}

.navbar-brand img {
    max-height: 48px;
}

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

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    margin: 0 0.3rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

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

.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.25);
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        background: var(--card-bg);
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(37,99,235,0.1);
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 0.3rem 0;
        display: block;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
}

.hero-section {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    color: #fff;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.hero-section .btn-primary {
    background: var(--accent-color);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 20px rgba(245,158,11,0.3);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.hero-section .btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245,158,11,0.4);
}

.hero-section .btn-success {
    background: var(--success-color);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.hero-section .btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(16,185,129,0.4);
}

.product-card, .card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(37,99,235,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.product-card:hover, .card:hover {
    box-shadow: 0 12px 40px rgba(37,99,235,0.15);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.product-card .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    display: block;
    margin: 0 auto;
    padding: 15px 0;
    transition: transform 0.3s;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.product-card .card-title {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

.product-card .card-text {
    color: var(--muted-text);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-success {
    background: var(--success-color);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(16,185,129,0.2);
    transition: all 0.3s;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16,185,129,0.3);
}

h2, .section-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2::after, .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.whatsapp-button {
    background: var(--success-color);
    color: #fff;
    border-radius: 50px;
    padding: 14px 16px;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(16,185,129,0.3);
    left: 24px;
    bottom: 24px;
    z-index: 1000;
    position: fixed;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-button:hover {
    background: #059669;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}

.custom-footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 0;
    margin-top: 0;
}

.footer-contact {
    color: rgba(255,255,255,0.9);
}

.footer-menu-link {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

.footer-menu-link:hover {
    color: var(--accent-color);
    text-decoration: none;
    transform: translateX(5px);
}

.footer-social a {
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

.footer-divider {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.product-image-frame {
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e0e7ff 100%);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover .product-image-frame {
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px rgba(245,158,11,0.2);
}

/* Footer Stilleri */
.footer-main {
    width: 80%;
    padding: 48px 0 0 0;
}

.footer-logo {
    max-height: 70px;
}

.footer-contact {
    font-size: 1.1rem;
    margin-top: 18px;
}

.footer-center {
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-divider {
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 5px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 8px;
    margin-left: -30px;
    display: none;
}

@media (min-width: 768px) {
    .footer-divider {
        display: block;
    }
}

.footer-menu {
    margin-left: 30px;
}

.footer-menu-group {
    margin-bottom: 0.2rem;
}

.footer-doctor-img {
    max-height: 320px;
    width: auto;
    object-fit: cover;
    object-position: top center;
    margin-top: -40px;
    margin-bottom: -8px;
}

.footer-bottom-bar {
    background: #f1f2f4;
    color: var(--text-color);
    font-size: 1.1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 12px;
}

.footer-copyright-text {
    margin-top: 12px;
    margin-bottom: 0;
}

.footer-bircan {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 992px) {
    .footer-main .row {
        flex-direction: column;
        text-align: center;
    }
    .footer-center {
        margin: 32px 0;
    }
    .footer-divider {
        display: none !important;
    }
    .footer-menu {
        margin-left: 0;
    }
    .footer-doctor-img {
        max-height: 180px;
        margin-top: 0;
    }
}

/* Product Detail Page Styles */
.product-gallery {
    margin-bottom: 2rem;
}

.product-gallery .main-image img {
    border-radius: 15px;
    transition: transform 0.3s;
}

.product-gallery .main-image:hover img {
    transform: scale(1.02);
}

.product-gallery .thumbnail-images img {
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.product-gallery .thumbnail-images img:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.product-features ul {
    list-style: none;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.product-specs table {
    margin-top: 1rem;
}

.product-specs table th {
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    padding: 0.75rem;
    width: 40%;
}

.product-specs table td {
    padding: 0.75rem;
    background: var(--card-bg);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--muted-text);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    h2, .section-title {
        font-size: 1.8rem;
    }
    .product-gallery .thumbnail-images {
        flex-wrap: wrap;
    }
    .product-specs table {
        font-size: 0.9rem;
    }
}
