/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    .product-tabs-container {
        width: calc(100% - 60px);
        margin: 0 30px;
    }
}

body {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Product Hero Section */
.product-hero {
    position: relative;
    width: 1872px;
    max-width: calc(100% - 48px);
    height: 450px;
    margin: 13px auto 24px auto;
    background: url('../images/productslider.png') center/cover no-repeat;
    border-radius: 48px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(32, 39, 79, 0.8) 50%,
            rgba(32, 39, 79, 0.3) 40%,
            rgba(32, 39, 79, 0.2) 30%,
            rgba(32, 39, 79, 0.3) 40%,
            rgba(32, 39, 79, 0.8) 50%);
    z-index: 1;
}

/* Hero Content */
.product-hero-content {
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.product-hero-title {
    color: #FFF;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 49px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 30px;
}

/* Breadcrumb and Share */
.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.breadcrumb {
    display: flex;
    height: 30px;
    padding: 6px 12px;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.10);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.breadcrumb-item:hover {
    color: #ed3237;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.breadcrumb-current {
    color: white;
    font-size: 14px;
}

.share-wrapper {
    display: flex;
    height: 30px;
    padding: 6px 12px;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.10);
}

.share-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #ed3237;
}

/* Product Tabs Section */
.product-tabs-section {
    padding: 80px 0;
    background: #ffffff;
}

.product-container {
    width: 100%;
    max-width: 1872px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tab Navigation */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.product-tab {
    width: 240px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 25px;
    border-radius: 15px;
    border: 1px solid #FFF;
    background: linear-gradient(0deg, #F4F4F4 0%, #F4F4F4 100%);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.product-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

/* Her kategori için farklı arka plan */
.product-tab:nth-child(1)::before {
    background-image: url('../images/category1.jpg');
}

.product-tab:nth-child(2)::before {
    background-image: url('../images/category2.jpg');
}

.product-tab:nth-child(3)::before {
    background-image: url('../images/category3.jpg');
}

.product-tab:nth-child(4)::before {
    background-image: url('../images/category4.jpg');
}

.product-tab.active {
    border-color: transparent;
}

.product-tab.active::before {
    opacity: 1;
}

.tab-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.tab-icon img {
    width: 100%;
    height: 100%;
}

.tab-icon .icon-hover {
    display: none;
}

.product-tab.active .tab-icon .icon-normal {
    display: none;
}

.product-tab.active .tab-icon .icon-hover {
    display: block;
}

.tab-text {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.product-tab.active .tab-text {
    color: white;
}

.product-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Product Content */
.product-content-wrapper {
    width: 100%;
}

.product-content {
    display: none;
}

.product-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 520px);
    gap: 40px;
    justify-content: center;
}

.product-item {
    width: 520px;
    height: 240px;
    flex-shrink: 0;
    border-radius: 30px;
    background: #F4F4F4;
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 30px;
    transition: all 0.3s;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.product-image-wrapper {
    width: 204px;
    height: 192px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

.product-item:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.product-name {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.product-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 25px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Sora', sans-serif;
    align-self: flex-start;
}

.product-item:hover .product-btn {
    background-color: red;
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(48, 47, 129, 0.3);
}

/* Footer */
.footer-section {
    background: linear-gradient(270deg, #20274F 0%, #302F81 100%);
    border-radius: 30px 30px 0 0;
    padding: 80px 0 30px;
    margin-top: 100px;
    color: white;
}

.footer-container {
    width: calc(100% - 280px);
    margin: 0 140px;
}

/* Responsive Design */
@media (max-width: 1920px) {
    .product-hero {
        width: calc(100% - 48px);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1600px;
        margin: 0 auto;
    }

    .product-item {
        width: 100%;
    }
}

@media (max-width: 1600px) {
    .product-grid {
        grid-template-columns: repeat(2, 520px);
    }
}

@media (max-width: 1200px) {
    .product-hero {
        height: 400px;
    }

    .product-hero-title {
        font-size: 40px;
    }

    .product-tabs {
        flex-wrap: wrap;
        gap: 20px;
    }

    .product-tab {
        width: calc(50% - 10px);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .product-item {
        width: 100%;
        height: auto;
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        height: 350px;
        width: calc(100% - 30px);
    }

    .product-hero-title {
        font-size: 32px;
    }

    .breadcrumb-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .product-tabs {
        padding: 0 15px;
    }

    .product-tab {
        width: 100%;
        height: 70px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-item {
        flex-direction: column;
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .product-info {
        align-items: center;
    }

    .product-btn {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .product-hero {
        height: 300px;
        margin-top: 70px;
        border-radius: 30px;
    }

    .product-hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .breadcrumb,
    .share-wrapper {
        padding: 4px 10px;
        font-size: 12px;
    }

    .product-container {
        padding: 0 15px;
    }

    .product-tab {
        height: 60px;
        padding: 0 15px;
        gap: 10px;
    }

    .tab-icon {
        width: 30px;
        height: 30px;
    }

    .tab-text {
        font-size: 11px;
    }

    .product-item {
        border-radius: 20px;
    }

    .product-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-btn {
        padding: 10px 25px;
        font-size: 13px;
    }
}