/* SternMed.de Tasarım Stilleri */

:root {
    /* SternMed Kurumsal Renkleri */
    --sternmed-blue: #0B72B5;        /* SternMed Mavisi - Ana renk */
    --sternmed-gray: #555659;        /* SternMed Grisi - Ana renk */
    --sternmed-green: #0098A1;       /* SternMed Yeşili - OR Solutions */
    --sternmed-yellow: #F6A800;       /* SternMed Sarısı - Hasta Bakım */
    
    /* Renk Varyasyonları */
    --sternmed-primary: var(--sternmed-blue);
    --sternmed-primary-light: #2d7bb8;
    --sternmed-accent: var(--sternmed-blue);
    --sternmed-accent-hover: #095a8f;
    --sternmed-text: var(--sternmed-gray);
    --sternmed-text-light: #7a7c7f;
    --sternmed-bg: #ffffff;
    --sternmed-bg-light: #f8f9fa;
    --sternmed-border: #e0e0e0;
    --sternmed-shadow: rgba(11, 114, 181, 0.1);
}

/* SternMed Header Styles */
.sternmed-header {
    background: var(--sternmed-bg);
    box-shadow: 0 2px 10px var(--sternmed-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sternmed-header.scrolled {
    box-shadow: 0 4px 20px var(--sternmed-shadow);
}

.sternmed-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sternmed-logo img {
    max-height: 50px;
    width: auto;
}

.sternmed-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.sternmed-menu li {
    position: relative;
}

.sternmed-menu a {
    color: var(--sternmed-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.sternmed-menu a:hover {
    color: var(--sternmed-accent);
}

.sternmed-menu .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--sternmed-bg);
    box-shadow: 0 4px 20px var(--sternmed-shadow);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    margin-top: 0.5rem;
    border-radius: 8px;
}

.sternmed-menu li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sternmed-menu .dropdown li {
    padding: 0;
}

.sternmed-menu .dropdown a {
    padding: 0.75rem 1.5rem;
    display: block;
    color: var(--sternmed-text);
}

.sternmed-menu .dropdown a:hover {
    background: var(--sternmed-bg-light);
    color: var(--sternmed-accent);
}

/* SternMed Hero Section */
.sternmed-hero {
    background: linear-gradient(135deg, var(--sternmed-blue) 0%, #095a8f 100%);
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sternmed-hero::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;
}

.sternmed-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.sternmed-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sternmed-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.sternmed-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--sternmed-accent);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sternmed-btn:hover {
    background: var(--sternmed-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 114, 181, 0.3);
}

.sternmed-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.sternmed-btn-outline:hover {
    background: white;
    color: var(--sternmed-accent);
}

/* SternMed Product Categories */
.sternmed-categories {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.sternmed-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sternmed-blue), var(--sternmed-green), var(--sternmed-blue));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.sternmed-categories-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.sternmed-categories-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--sternmed-text);
    background: linear-gradient(135deg, var(--sternmed-blue) 0%, var(--sternmed-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.sternmed-categories-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--sternmed-blue), var(--sternmed-green));
    border-radius: 2px;
}

.sternmed-categories-subtitle {
    font-size: 1.2rem;
    color: var(--sternmed-text-light);
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.sternmed-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sternmed-category-card {
    background: var(--sternmed-bg);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--sternmed-text);
    display: block;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(11, 114, 181, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sternmed-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11, 114, 181, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.sternmed-category-card:hover::before {
    left: 100%;
}

.sternmed-category-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(11, 114, 181, 0.2);
    border-color: var(--sternmed-accent);
}

.sternmed-category-card-inner {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

.sternmed-category-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.sternmed-category-icon {
    font-size: 3.5rem;
    color: var(--sternmed-accent);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    display: inline-block;
}

.sternmed-category-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(11, 114, 181, 0.1), rgba(0, 152, 161, 0.1));
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 1;
}

.sternmed-category-card:hover .sternmed-category-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--sternmed-green);
}

.sternmed-category-card:hover .sternmed-category-icon-bg {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(11, 114, 181, 0.15), rgba(0, 152, 161, 0.15));
    box-shadow: 0 8px 25px rgba(11, 114, 181, 0.2);
}

.sternmed-category-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sternmed-category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sternmed-category-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 114, 181, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sternmed-category-card:hover .sternmed-category-image {
    transform: scale(1.1);
}

.sternmed-category-card:hover .sternmed-category-image-overlay {
    opacity: 1;
}

.sternmed-category-content {
    position: relative;
    z-index: 2;
}

.sternmed-category-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--sternmed-text);
    transition: color 0.3s ease;
}

.sternmed-category-card:hover h3 {
    color: var(--sternmed-accent);
}

.sternmed-category-card p {
    color: var(--sternmed-text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.sternmed-category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--sternmed-bg-light);
    transition: all 0.3s ease;
}

.sternmed-category-card:hover .sternmed-category-footer {
    border-top-color: rgba(11, 114, 181, 0.2);
}

.sternmed-category-count {
    color: var(--sternmed-accent);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sternmed-category-card:hover .sternmed-category-count {
    color: var(--sternmed-green);
    transform: translateX(5px);
}

.sternmed-category-arrow {
    color: var(--sternmed-accent);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.sternmed-category-card:hover .sternmed-category-arrow {
    transform: translateX(8px);
    color: var(--sternmed-green);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sternmed-categories {
        padding: 4rem 1.5rem;
    }
    
    .sternmed-categories-title {
        font-size: 2rem;
    }
    
    .sternmed-categories-subtitle {
        font-size: 1rem;
    }
    
    .sternmed-categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sternmed-category-card-inner {
        padding: 2rem;
    }
}

/* SternMed Products Grid */
.sternmed-products {
    padding: 5rem 2rem;
}

.sternmed-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sternmed-product-card {
    background: var(--sternmed-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--sternmed-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--sternmed-text);
    display: block;
}

.sternmed-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--sternmed-shadow);
}

.sternmed-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--sternmed-bg-light);
}

.sternmed-product-content {
    padding: 1.5rem;
}

.sternmed-product-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sternmed-text);
}

.sternmed-product-card p {
    color: var(--sternmed-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* SternMed Slider Styles */
.sternmed-slider-section {
    margin-top: 0;
    position: relative;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.sternmed-slider-section .carousel {
    position: relative;
    width: 100%;
}

.sternmed-slider-section .carousel-item {
    transition: transform 0.6s ease-in-out;
    min-height: 600px;
    height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.sternmed-slider-section .carousel-item.active {
    display: block !important;
}

.sternmed-slider-section .carousel-inner {
    width: 100%;
    position: relative;
    min-height: 600px;
    height: auto;
}

.sternmed-slider-section .carousel-inner .carousel-item {
    min-height: 600px;
    height: 600px;
}

.sternmed-slider-section .slider-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

.sternmed-slider-section .slider-background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    min-width: 100% !important;
    min-height: 100% !important;
}

.sternmed-slider-section .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.sternmed-slider-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
}

.sternmed-slider-section .carousel-indicators button.active {
    background-color: var(--sternmed-accent);
    border-color: var(--sternmed-accent);
}

.sternmed-slider-section .carousel-control-prev,
.sternmed-slider-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sternmed-slider-section .carousel-control-prev:hover,
.sternmed-slider-section .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.sternmed-slider-section .carousel-control-prev {
    left: 30px;
}

.sternmed-slider-section .carousel-control-next {
    right: 30px;
}

.sternmed-slider-section .slider-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .sternmed-slider-section .slider-title {
        font-size: 2rem !important;
    }
    
    .sternmed-slider-section .slider-subtitle {
        font-size: 1.2rem !important;
    }
    
    .sternmed-slider-section .slider-description {
        font-size: 1rem !important;
    }
    
    .sternmed-slider-section .carousel-control-prev,
    .sternmed-slider-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .sternmed-slider-section .carousel-control-prev {
        left: 15px;
    }
    
    .sternmed-slider-section .carousel-control-next {
        right: 15px;
    }
}

/* SternMed Footer */
.sternmed-footer {
    background: linear-gradient(135deg, var(--sternmed-blue) 0%, #095a8f 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.sternmed-footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-contact-item {
    padding: 0;
}

.footer-contact-item h4 {
    font-size: 1rem !important;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-contact-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    width: 16px;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.sternmed-footer-logo {
    display: flex;
    flex-direction: column;
}

.sternmed-footer-logo p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo-img {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 0.8;
}

.sternmed-footer-logo a:hover {
    text-decoration: none;
}

.sternmed-footer-section a[href^="tel:"],
.sternmed-footer-section a[href^="mailto:"] {
    transition: color 0.3s ease;
}

.sternmed-footer-section a[href^="tel:"]:hover,
.sternmed-footer-section a[href^="mailto:"]:hover {
    color: white !important;
}

.sternmed-footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.sternmed-footer-contact h4 {
    font-size: 1rem !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.sternmed-footer-section p,
.sternmed-footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.sternmed-footer-section a:hover {
    color: white;
}

.sternmed-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.sternmed-footer-bottom a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.sternmed-footer-bottom a:hover {
    opacity: 0.8;
    color: white !important;
}

/* Page Banner Section */
.page-banner-section {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-top: 0;
}

.page-banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .sternmed-hero h1 {
        font-size: 2rem;
    }
    
    .sternmed-hero p {
        font-size: 1rem;
    }
    
    .sternmed-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sternmed-menu {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .sternmed-menu .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
    }
    
    .page-banner-section {
        height: 300px;
    }
}

/* Contact Form Styles */
.about-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-form-section {
    margin-top: 0;
}

.contact-form-card {
    background: var(--sternmed-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card .form-control:focus {
    border-color: var(--sternmed-accent);
    box-shadow: 0 0 0 0.2rem rgba(11, 114, 181, 0.25);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--sternmed-text);
    margin-bottom: 0.25rem;
    display: block;
    font-size: 0.9rem;
}

.contact-form-card .form-control {
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--sternmed-border);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-form-card .form-control:hover {
    border-color: var(--sternmed-accent);
}

@media (max-width: 768px) {
    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .sternmed-footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sternmed-footer-logo {
        text-align: center;
    }
    
    .sternmed-footer-logo img {
        margin: 0 auto;
    }
}

