﻿/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Üst Bilgi Çubuğu */
.top-bar {
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
    color:#fff;
}

.contact-info i {
    margin-right: 5px;
    color: #e9ecef;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

    .lang-btn:hover,
    .lang-btn.active {
        background: rgba(255, 255, 255, 0.2);
        color: #e9ecef;
    }

/* Ana Navigasyon */
.main-nav {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #dd0d15;
    margin: 0;
}

.brand-text p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover,
    .nav-link.active {
        color: #dd0d15;
        background: rgba(221, 13, 21, 0.1);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        width: 0;
        height: 2px;
        background: #dd0d15;
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

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

/* Navigation Styles */
.main-nav {
    flex: 1 1 auto;
    margin: 0 0px;
    min-width: 0;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    margin-bottom: 0px;
}

    .nav-menu li {
        position: relative;
    }

    /* .nav-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: color 0.3s ease;
    */

        .nav-menu a:hover,
        .nav-menu a.active {
            color: #dd0d15;
        }

/* Mega Menu Styles */
.dropdown {
    position: relative;
}

.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    width: 100vw;
    z-index: 100;
    border-top: 3px solid #dd0d15;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    display: flex;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.mega-menu-image {
    position: relative;
    width: 300px;
    height: 200px;
    margin-right: 0;
}

    .mega-menu-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

.mega-menu-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px 15px 15px;
    border-radius: 0 0 8px 8px;
}

    .mega-menu-overlay h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

.btn-more {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.9;
}

.mega-menu-links {
    display: flex;
    gap: 60px;
    flex: 1;
    justify-content: space-around;
}

.menu-column ul {
    list-style: none;
}

.menu-column li {
    width: 250px;
    float: left;
    margin: 10px 15px 8px 15px;
}

.menu-column a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .menu-column a:hover {
        color: #dd0d15;
    }


/*** Navbar ***/
 

.navbar-light .navbar-nav .nav-link {
    margin-left: 20px;
    margin-right: 10px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

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

/*mega menu*/
.navbar .megamenu {
    padding: 1rem;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }
}
/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media(max-width: 991px) {
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse {
        /*overflow-y: auto;
      max-height: 90vh;
      margin-top:10px;*/
        max-height: 450px;
        overflow: auto;
        background: #1b1b1b;
        text-align: left;
    }
}
/* ============ mobile view .end// ============ */

/*mega menu*/
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--light);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

 @media (min-width: 992px) { 
    .nav-menu .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .2s;
    }

    .nav-menu .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .2s;
        opacity: 1;
    } 
 } 
 @media (max-width: 991px) {
    .nav-menu .nav-item .dropdown-menu {
        position: relative;
        display: none;
        border: none;
        margin-top: 0;
        /*top: 150%;*/
        opacity: 0;
        visibility: hidden;
        transition: .2s;
    }

    .nav-menu .nav-item:hover .dropdown-menu {
        /*top: 100%;*/
        display: block;
        visibility: visible;
        transition: .2s;
        opacity: 1;
    } 
 } 
 

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #dd0d15;
}

/* Ana Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .slide-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.6), rgba(179, 12, 19, 0.4));
    }

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
}

    .slide-content h2 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        color:#fff!important;
    }

    .slide-content p {
        font-size: 20px;
        margin-bottom: 30px;
        max-width: 600px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

/* Butonlar */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    color: white;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #b30c13, #dd0d15);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(221, 13, 21, 0.3);
    }

/* Slider Kontrolleri */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .slider-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active,
    .dot:hover {
        background: white;
        transform: scale(1.2);
    }

/* Bölümler */
.section {
    padding: 80px 0;
}

.contact-me {
    background: linear-gradient(135deg, #dd0d15, #b30c13);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 36px;
        font-weight: 700;
        color: #333333;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 18px;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
    }

/* Steril Sefalosporin Bölümü */
.sefalosporin-section {
    background: #f8f9fa;
}

.sefalosporin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text h3 {
    font-size: 28px;
    color: #dd0d15;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

    .feature-list li {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        font-size: 16px;
        color: #333;
    }

    .feature-list i {
        color: #28a745;
        margin-right: 15px;
        font-size: 18px;
    }

.content-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image Stack Efektleri */
.image-stack {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    --animation-offset: 0px;
    overflow: visible;
}

.stack-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-out;
    will-change: transform;
    display: block;
}

    .stack-image.back {
        z-index: 1;
        transform: translateX(-25px) translateY(15px) rotate(-3deg);
        opacity: 0.8;
    }

    .stack-image.front {
        z-index: 2;
        transform: translateX(15px) translateY(-8px) rotate(2deg);
        opacity: 1;
    }

/* Animation states - Class based */
.image-stack.scroll-up .stack-image.back {
    transform: translateX(-17px) translateY(23px) rotate(-1.8deg);
}

.image-stack.scroll-up .stack-image.front {
    transform: translateX(7px) translateY(-16px) rotate(3.2deg);
}

.image-stack.scroll-down .stack-image.back {
    transform: translateX(-33px) translateY(7px) rotate(-4.2deg);
}

.image-stack.scroll-down .stack-image.front {
    transform: translateX(23px) translateY(0px) rotate(0.8deg);
}

.image-stack.scroll-center .stack-image.back {
    transform: translateX(-25px) translateY(15px) rotate(-3deg);
}

.image-stack.scroll-center .stack-image.front {
    transform: translateX(15px) translateY(-8px) rotate(2deg);
}

/* Üretim Kapasitesi Bölümü */
.capacity-section {
    position: relative;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    color: white;
    overflow: hidden;
    padding: 100px 0;
}

.capacity-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/cleanroom-pharma.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.capacity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 13, 21, 0.6), rgba(179, 12, 19, 0.4));
    z-index: 2;
}

.capacity-section .container {
    position: relative;
    z-index: 3;
}

.capacity-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 50px 0;
    align-items: center;
}

.capacity-visual {
    text-align: center;
}

.capacity-icon {
    font-size: 80px;
    color: #e9ecef;
    margin-bottom: 20px;
}

.capacity-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

    .capacity-number .number {
        font-size: 78px;
        font-weight: 700;
        color: #e9ecef;
        line-height: 1;
    }

    .capacity-number .unit {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.8);
        margin-top: 10px;
    }

.capacity-text h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: white;
}

.capacity-text p {
    font-size: 18px;
    margin-bottom: 50px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.capacity-features {
    display: flex;
    gap: 30px;
}

    .capacity-features .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .capacity-features .feature-item i {
            font-size: 24px;
            color: #e9ecef;
            margin-bottom: 10px;
        }

        .capacity-features .feature-item span {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.8);
        }

/* GMP Bölümü */
.gmp-section {
    background: white;
}

.gmp-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gmp-text h3 {
    font-size: 28px;
    color: #dd0d15;
    margin-bottom: 20px;
}

.gmp-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.gmp-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gmp-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dd0d15;
}

    .gmp-feature i {
        font-size: 24px;
        color: #dd0d15;
    }

    .gmp-feature h4 {
        font-size: 18px;
        color: #dd0d15;
        margin-bottom: 5px;
    }

    .gmp-feature p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }

.gmp-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    height: 210px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
}

    .gallery-item img {
        width: 110%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

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

    .gallery-item:nth-child(3) {
        grid-column: 1 / -1;
    }

    .gallery-item:nth-child(3) {
        height: 290px;
    }

        .gallery-item:nth-child(3) img {
            height: 300px;
        }

/* Değerler Bölümü */
.values-section {
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px);
    }

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

    .value-icon i {
        font-size: 32px;
        color: white;
    }

.value-card h3 {
    font-size: 24px;
    color: #111111;
    margin-bottom: 20px;
}

.value-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* İletişim Bölümü */
.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

    .contact-item i {
        font-size: 24px;
        color: #fff;
        margin-top: 5px;
    }

    .contact-item h4 {
        font-size: 18px;
        color: #dd0d15;
        margin-bottom: 10px;
    }

    .contact-item p {
        font-size: 16px;
        color: #666;
        line-height: 1.6;
    }

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s ease;
        font-family: inherit;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #dd0d15;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

/* Footer */
.footer {
    background: #111111;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #e9ecef;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
   
    }

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

            .footer-section ul li a:hover {
                color: #e9ecef;
            }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        width: 180px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #e9ecef;
            color: #dd0d15;
            transform: translateY(-3px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 14px;
    }

/* Responsive Tasarım */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

        .nav-menu.active {
            display: inline-block;
 
        }

    .nav-brand {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .brand-text h1 {
        font-size: 20px;
    }
     .page-header-content p{margin-bottom:0px;}
    .slide-content .container{padding:0 80px;}
    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
      margin-bottom:0px;
        font-size: 16px;
padding:
    }

    .sefalosporin-content,
    .capacity-content,
    .gmp-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .capacity-features {
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: center; 
    }

    .gmp-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(3) {
        grid-column: auto;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .section {
        padding: 60px 0;
    }

    .image-stack {
        height: 300px;
    }

    .stack-image.back {
        transform: translateX(-20px) translateY(10px) rotate(-2deg);
    }

    .stack-image.front {
        transform: translateX(10px) translateY(-5px) rotate(1deg);
    }

    .image-stack.scroll-up .stack-image.back {
        transform: translateX(-15px) translateY(18px) rotate(-1deg);
    }

    .image-stack.scroll-up .stack-image.front {
        transform: translateX(5px) translateY(-12px) rotate(2deg);
    }

    .image-stack.scroll-down .stack-image.back {
        transform: translateX(-25px) translateY(2px) rotate(-3deg);
    }

    .image-stack.scroll-down .stack-image.front {
        transform: translateX(15px) translateY(2px) rotate(0deg);
    }

    .section-header h2 {
        font-size: 28px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-info span {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .slide-content h2 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .capacity-number .number {
        font-size: 48px;
    }

    .value-card {
        padding: 30px 20px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Yeni Sayfalar İçin CSS */
/* Page Header */
.page-header {
    /*background: linear-gradient(135deg, #dd0d15, #b30c13);
    background: linear-gradient(135deg, #f3f3f3, #c4c4c4);
    color: #000;*/
    background-image: url(/images/page-header-bg.jpg);
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: 80px 0;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-header-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

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

        .breadcrumb a:hover {
            color: white;
        }

    .breadcrumb span {
        color: rgba(255, 255, 255, 0.6);
    }

/* Content Sections */
.content-text h2 {
    font-size: 36px;
    color: #dd0d15;
    margin-bottom: 25px;
    font-weight: 600;
}

.content-text h3 {
    font-size: 28px;
    color: #dd0d15;
    margin-bottom: 20px;
    font-weight: 600;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Achievements */
.achievements {
    margin-top: 40px;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dd0d15;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.achievement-content h4 {
    font-size: 20px;
    color: #dd0d15;
    margin-bottom: 8px;
    font-weight: 600;
}

.achievement-content p {
    color: #666;
    margin: 0;
}

/* Facility Cards */
.facility-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.facility-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.facility-content {
    padding: 30px;
}

    .facility-content h3 {
        font-size: 24px;
        color: #dd0d15;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .facility-content p {
        color: #666;
        margin-bottom: 20px;
        line-height: 1.7;
    }

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

    .facility-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        color: #666;
    }

    .facility-features i {
        color: #dd0d15;
        width: 16px;
    }

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

.team-image {
    position: relative;
    overflow: hidden;
}

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

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

.team-content {
    padding: 25px;
}

    .team-content h4 {
        font-size: 20px;
        color: #dd0d15;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .team-content p {
        color: #666;
        margin-bottom: 15px;
    }

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .team-social a {
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .team-social a:hover {
            background: #dd0d15;
            color: white;
            transform: translateY(-2px);
        }

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .cert-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .cert-item img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .cert-item h4 {
        font-size: 20px;
        color: #dd0d15;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .cert-item p {
        color: #666;
        margin: 0;
    }

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

    .contact-form-section h2 {
        font-size: 32px;
        color: #dd0d15;
        margin-bottom: 15px;
        font-weight: 600;
    }

    .contact-form-section p {
        color: #666;
        margin-bottom: 30px;
        font-size: 16px;
        line-height: 1.7;
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: #333;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid #e9ecef;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #dd0d15;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

    .checkbox-label input[type="checkbox"] {
        width: auto;
        margin: 0;
    }

    .checkbox-label a {
        color: #dd0d15;
        text-decoration: none;
    }

        .checkbox-label a:hover {
            text-decoration: underline;
        }

/* Contact Info Section */
.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

    .contact-info-section h3 {
        font-size: 28px;
        color: #dd0d15;
        margin-bottom: 30px;
        font-weight: 600;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #dd0d15;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    color: #dd0d15;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Social Contact */
.social-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

    .social-contact h4 {
        font-size: 20px;
        color: #dd0d15;
        margin-bottom: 20px;
        font-weight: 600;
    }

.social-links {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.social-link span {
    display: block;
    color: #222;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
}

    .social-link:hover {
        background: #dd0d15;
        color: white;
        transform: translateX(5px);
    }

    .social-link i {
        width: 20px;
        text-align: center;
        color: #222;
    }

/* Map Section */
.map-section {
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 400px;
}

    .map-container iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

/* Department Cards */
.department-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

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

.department-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.department-card h4 {
    font-size: 22px;
    color: #dd0d15;
    margin-bottom: 15px;
    font-weight: 600;
}

.department-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.department-contact p {
    font-size: 14px;
    color: #888;
    margin: 5px 0;
}

.department-contact strong {
    color: #dd0d15;
}

/* FAQ */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

    .faq-question:hover {
        background-color: #f8f9fa;
    }

    .faq-question h4 {
        font-size: 18px;
        color: #dd0d15;
        margin: 0;
        font-weight: 600;
    }

    .faq-question i {
        color: #dd0d15;
        transition: transform 0.3s ease;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .faq-answer p {
        padding: 0 25px 25px;
        margin: 0;
        color: #666;
        line-height: 1.7;
    }

/* Product Categories */
.product-categories {
    margin-bottom: 50px;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background: #dd0d15;
        border-color: #dd0d15;
        color: white;
    }

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

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

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

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

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-content {
    padding: 25px;
}

.product-category {
    display: inline-block;
    background: #f8f9fa;
    color: #dd0d15;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
}

    .spec-item i {
        color: #dd0d15;
    }

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-outline {
    background: transparent;
    border: 2px solid #dd0d15;
    color: #dd0d15;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-outline:hover {
        background: #dd0d15;
        color: white;
    }

/* Feature Cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.feature-card h4 {
    font-size: 20px;
    color: #dd0d15;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-content {
    padding: 60px 0;
}

    .cta-content h2 {
        font-size: 36px;
        color: white;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .cta-content p {
        font-size: 18px;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-light {
    background: white;
    color: #dd0d15;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-light:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

    .btn-outline-light:hover {
        background: white;
        color: #dd0d15;
        transform: translateY(-2px);
    }

/* Product Detail Page */
.product-image-gallery {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

    .thumbnail.active,
    .thumbnail:hover {
        border-color: #dd0d15;
    }

.product-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stars {
    color: #ffd700;
}

.rating-text {
    color: #666;
    font-size: 14px;
}

.product-specifications {
    margin: 30px 0;
}

    .product-specifications h4 {
        font-size: 20px;
        color: #dd0d15;
        margin-bottom: 20px;
        font-weight: 600;
    }

.spec-grid {
    display: grid;
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-label {
    font-weight: 500;
    color: #666;
    text-indent: 10px;
}

.spec-value {
    font-weight: 600;
    color: #333;
}

.product-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
}

    .feature-item i {
        color: #fff;
        font-size: 18px;
    }

/* Product Tabs */
.product-tabs {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

    .tab-btn.active,
    .tab-btn:hover {
        color: #dd0d15;
        background: white;
        border-bottom-color: #dd0d15;
    }

.tab-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

    .tab-pane.active {
        display: block;
    }

    .tab-pane h3 {
        font-size: 24px;
        color: #dd0d15;
        margin-bottom: 20px;
        font-weight: 600;
    }

    .tab-pane h4 {
        font-size: 20px;
        color: #333;
        margin: 25px 0 15px;
        font-weight: 600;
    }

    .tab-pane ul {
        margin: 15px 0;
        padding-left: 20px;
    }

    .tab-pane li {
        margin-bottom: 10px;
        color: #666;
        line-height: 1.6;
    }

.dosage-table {
    overflow-x: auto;
    margin: 20px 0;
}

    .dosage-table table {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .dosage-table th,
    .dosage-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }

    .dosage-table th {
        background: #f8f9fa;
        font-weight: 600;
        color: #dd0d15;
    }

.interaction-list {
    margin: 20px 0;
}

.interaction-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #dd0d15;
}

    .interaction-item strong {
        color: #dd0d15;
        font-weight: 600;
    }

    .interaction-item p {
        margin: 10px 0 0;
        color: #666;
        line-height: 1.6;
    }

/* Responsive Design for New Pages */
@media (max-width: 768px) {
    .page-header {
background-size: auto 200px;
      padding:20px;
    }
    .page-header-content h1 {
        font-size: 26px;
    }

    .page-header-content p {
        font-size: 14px;
    }

    .breadcrumb {
        font-size: 14px;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
    }

    .achievement-icon {
        align-self: center;
    }

    .team-social {
        flex-direction: column;
        align-items: center;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 25px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        align-self: center;
    }

    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .department-card {
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 20px;
    }

    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .main-image img {
        height: 300px;
    }

    .thumbnail-images {
        justify-content: center;
    }

    .tab-navigation {
        flex-direction: column;
    }

    .tab-content {
        padding: 25px;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 20px 0;
    background-size: auto 200px;
background-position:left top;
    }

    .page-header-content h1 {
        font-size: 28px;
    }

    .page-header-content p {
        font-size: 16px;
    }

    .achievement-item,
    .contact-item {
        padding: 20px;
    }

    .facility-content,
    .team-content {
        padding: 20px;
    }

    .cert-item {
        padding: 20px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 20px;
    }

    .department-card,
    .feature-card {
        padding: 20px;
    }

    .faq-question {
        padding: 15px;
    }

        .faq-question h4 {
            font-size: 16px;
        }

    .product-content {
        padding: 20px;
    }

    .product-info {
        padding: 20px;
    }

    .main-image img {
        height: 250px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .tab-content {
        padding: 20px;
    }

    .tab-pane h3 {
        font-size: 20px;
    }

    .dosage-table th,
    .dosage-table td {
        padding: 10px;
        font-size: 14px;
    }
}

/* Scroll davranışı */
html {
    scroll-behavior: smooth;
}

/* Yükleniyor animasyonu */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #dd0d15;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Categories Grid Styles */
.categories-hero {
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .categories-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.categories-hero-content {
    position: relative;
    z-index: 2;
}

.categories-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.categories-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

    .categories-grid .container {
        max-width: 1200px;
    }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: #dd0d15;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .section-title p {
        font-size: 1.1rem;
        color: #666;
        max-width: 600px;
        margin: 0 auto;
    }

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .category-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    }

.category-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(221, 13, 21, 0.8), rgba(179, 12, 19, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #dd0d15;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1);
}

.category-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-header {
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.category-subtitle {
    font-size: 1rem;
    color: #dd0d15;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.category-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dd0d15;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-actions {
    margin-top: auto;
}

.btn-view-products {
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-view-products:hover {
        background: linear-gradient(135deg, #b30c13, #8a0a0f);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(221, 13, 21, 0.3);
        color: white;
        text-decoration: none;
    }

    .btn-view-products i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }

    .btn-view-products:hover i {
        transform: translateX(5px);
    }

/* Featured Categories Section */
.featured-categories {
    padding: 80px 0;
    background: white;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.featured-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

    .featured-card:hover {
        border-color: #dd0d15;
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(221, 13, 21, 0.1);
    }

.featured-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dd0d15, #b30c13);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.featured-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-hero h1 {
        font-size: 2.5rem;
    }

    .categories-hero p {
        font-size: 1.1rem;
    }

    .categories-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .category-card {
        margin: 0 15px;
    }

    .category-content {
        padding: 25px;
    }

    .category-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .categories-hero {
        padding: 60px 0;
    }

        .categories-hero h1 {
            font-size: 2rem;
        }

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

    .categories-container {
        gap: 25px;
    }
}

/* Loading Animation */
.category-card {
    animation: fadeInUp 0.6s ease-out;
}

    .category-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .category-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .category-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .category-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .category-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .category-card:nth-child(6) {
        animation-delay: 0.6s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}