/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
}

body {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Product Detail Hero Section */
.product-detail-hero {
    position: relative;
    width: 1872px;
    max-width: calc(100% - 48px);
    height: 450px;
    margin: 13px auto 24px auto;
    background: url('../images/urundetay.png') center/cover no-repeat;
    border-radius: 48px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.product-detail-hero:hover {
    transform: translateY(-2px);
    box-shadow:
        0 35px 60px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 58, 140, 0.85);
    z-index: 1;
}

/* Hero Content */
.product-detail-hero-content {
    position: absolute;
    bottom: 110px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.product-detail-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 3D Embed */
.product-3d-embed {
    width: 100%;
    max-width: 600px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #f8f9fa;
}

.product-3d-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.product-3d-embed .sketchfab-embed-wrapper {
    width: 100%;
    height: 100%;
}

.product-3d-embed p {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 12px;
}

/* Product Detail Section */
.product-detail-section {
    padding: 60px 0 80px;
    background: linear-gradient(135deg,
            #fafafa 0%,
            #f5f7fa 25%,
            #f8fafc 50%,
            #f1f5f9 75%,
            #fafafa 100%);
    position: relative;
}

.product-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(45, 58, 140, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(237, 50, 55, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.product-detail-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Product Main Area */
.product-main-area {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
}

/* Product Gallery */
.product-gallery {
    width: 660px;
    height: 400px;
    flex-shrink: 0;
    position: relative;
    background:
        linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 20px 40px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.product-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(45, 58, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(237, 50, 55, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.product-gallery:hover {
    transform: translateY(-3px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.main-image.active {
    opacity: 1;
}

/* Gallery Navigation */
.gallery-navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.gallery-nav {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 24px;
    border: 1px solid #6B7280;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.3s;
    color: #6B7280;
}

.gallery-nav:hover {
    background: #302F81;
    color: white;
    border-color: #302F81;
}

.image-counter {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Product Info */
.product-info {
    flex: 1;
}

.product-title {
    font-family: 'Sora', sans-serif;
    font-size: 49px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    color: var(--Koyu-Metin-Rengi, #2D2D3A);
    margin-bottom: 40px;
    text-align: left;
    align-self: stretch;
}

/* Action Buttons */
.product-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.action-button {
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: #ffffff;
    border: 2px solid #2d3a8c;
    color: #333;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 15px rgba(45, 58, 140, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.action-button:hover {
    background: #2d3a8c;
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 25px rgba(45, 58, 140, 0.3),
        0 3px 10px rgba(45, 58, 140, 0.15);
}

.action-button:hover::before {
    left: 100%;
}

.action-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Technical Specs Text */
.technical-specs-text {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(248, 250, 252, 0.8) 50%,
            rgba(241, 245, 249, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.technical-specs-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(45, 58, 140, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(237, 50, 55, 0.05) 0%, transparent 50%);
    border-radius: 20px;
    z-index: 1;
}

.technical-specs-text:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.technical-specs-text h3 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #2d3a8c;
    margin-bottom: 15px;
    text-align: left;
    align-self: stretch;
    position: relative;
    z-index: 2;
}

.technical-specs-text p {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.15px;
    color: #4A5568;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

/* Product Full Description */
.product-full-description {
    max-width: 100%;
    padding: 60px 0;
    background: transparent;
}

.description-section {
    margin-bottom: 40px;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 30px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.description-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(45, 58, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(237, 50, 55, 0.03) 0%, transparent 50%);
    border-radius: 25px;
    z-index: 1;
}

.description-section:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.description-section:last-child {
    margin-bottom: 0;
}

.description-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #2d3a8c;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.description-section ul {
    list-style: none;
    padding: 0;
}

.description-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.15px;
    color: #4A5568;
    z-index: 2;
}

.description-section div,
.description-section p {
    position: relative;
    z-index: 2;
    color: #4A5568;
    line-height: 1.6;
}

.description-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #302F81;
    font-weight: bold;
    font-size: 20px;
}

/* Technical Drawing */
.technical-drawing {
    margin-top: 60px;
    text-align: center;
}

.technical-drawing img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Footer */
.footer-section {
    background: linear-gradient(270deg, #20274F 0%, #302F81 100%);
    border-radius: 30px 30px 0 0;
    padding: 80px 0 30px;
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-detail-hero {
        height: 400px;
    }

    .product-detail-hero-title {
        font-size: 40px;
    }

    .product-main-area {
        flex-direction: column;
        gap: 40px;
    }

    .product-gallery {
        width: 100%;
        max-width: 660px;
        margin: 0 auto;
    }

    .product-info {
        max-width: 660px;
        margin: 0 auto;
    }

    .product-full-description {
        padding: 40px;
    }
}

@media (max-width: 1024px) {
    .product-detail-hero {
        margin-top: 80px;
    }
}

@media (max-width: 768px) {
    .product-detail-hero {
        height: 350px;
        width: calc(100% - 30px);
    }

    .product-detail-hero-title {
        font-size: 32px;
    }

    .breadcrumb-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .breadcrumb {
        max-width: calc(100vw - 60px);
        overflow: hidden;
        flex-wrap: wrap;
        justify-content: center;
        min-height: 30px;
        height: auto;
        padding: 8px 12px;
    }

    .breadcrumb-item {
        font-size: 12px;
        white-space: nowrap;
    }

    .breadcrumb-current {
        font-size: 12px;
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .breadcrumb-separator {
        font-size: 12px;
        margin: 0 3px;
    }

    .product-detail-section {
        padding: 40px 0 60px;
    }

    .product-detail-container {
        padding: 0 20px;
    }

    .product-gallery {
        height: 300px;
        border-radius: 20px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .product-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .product-actions {
        gap: 12px;
        margin-bottom: 30px;
    }

    .action-button {
        height: 45px;
        font-size: 13px;
    }

    .technical-specs {
        padding: 20px;
        border-radius: 15px;
    }

    .technical-specs h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .spec-table td {
        font-size: 12px;
        padding: 8px 10px 8px 0;
    }

    .product-full-description {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .description-section h2 {
        font-size: 20px;
    }

    .description-section li {
        font-size: 14px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .product-detail-hero {
        height: 300px;
        margin-top: 70px;
        border-radius: 30px;
    }

    .product-detail-hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .breadcrumb-wrapper {
        padding: 0 15px;
    }

    .breadcrumb {
        max-width: calc(100vw - 50px);
        padding: 6px 8px;
        font-size: 11px;
    }

    .breadcrumb-item {
        font-size: 11px;
    }

    .breadcrumb-current {
        font-size: 11px;
        max-width: 150px;
    }

    .breadcrumb-separator {
        font-size: 11px;
        margin: 0 2px;
    }

    .share-wrapper {
        padding: 4px 10px;
        font-size: 12px;
    }

    .product-detail-section {
        padding: 30px 0 40px;
    }

    .product-detail-container {
        padding: 0 15px;
    }

    .product-gallery {
        height: 250px;
    }

    .gallery-navigation {
        bottom: 15px;
        gap: 15px;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .image-counter {
        font-size: 12px;
        padding: 6px 12px;
    }

    .product-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .action-button {
        height: 42px;
        font-size: 12px;
        border-radius: 12px;
    }

    .technical-specs {
        padding: 15px;
    }

    .spec-table td {
        font-size: 11px;
        padding: 6px 8px 6px 0;
    }

    .product-full-description {
        padding: 20px 15px;
    }

    .description-section h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .description-section li {
        padding-left: 20px;
        font-size: 13px;
    }

    /* Related Products Mobile */
    .related-products-section {
        padding: 40px 0 60px;
    }

    .related-products-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .related-products-container .product-grid {
        gap: 20px;
    }

    .related-products-container .product-item {
        background: #f8f9fa;
        border-radius: 20px;
        padding: 20px;
    }

    .related-products-container .product-image-wrapper {
        height: 180px;
        margin-bottom: 15px;
    }

    .related-products-container .product-name {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .related-products-container .product-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* =======================================
   BENZERI ÜRÜNLER BÖLÜMÜ TASARIMI
======================================= */

.related-products-section {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #f8f9ff 100%);
    position: relative;
}

.related-products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #20274F 50%, transparent 100%);
}

.related-products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.related-products-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #20274F;
    margin-bottom: 60px;
    position: relative;
    letter-spacing: 2px;
}

.related-products-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #20274F 0%, #4A90E2 100%);
    border-radius: 2px;
}

.related-products-container .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.related-products-container .product-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(32, 39, 79, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.related-products-container .product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #20274F 0%, #4A90E2 50%, #20274F 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.related-products-container .product-item:hover::before {
    transform: translateX(0);
}

.related-products-container .product-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(32, 39, 79, 0.15);
}

.related-products-container .product-image-wrapper {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    background: #f8f9fa;
    position: relative;
    transition: all 0.4s ease;
}

.related-products-container .product-item:hover .product-image-wrapper {
    transform: scale(1.02);
}

.related-products-container .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.related-products-container .product-item:hover .product-img {
    transform: scale(1.05);
}

.related-products-container .product-info {
    text-align: center;
}

.related-products-container .product-name {
    font-size: 20px;
    font-weight: 600;
    color: #20274F;
    margin-bottom: 20px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-products-container .product-item:hover .product-name {
    color: #4A90E2;
}

.related-products-container .product-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #20274F 0%, #4A90E2 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 50px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.related-products-container .product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A90E2 0%, #20274F 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.related-products-container .product-btn:hover::before {
    left: 0;
}

.related-products-container .product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(32, 39, 79, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .related-products-container .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .related-products-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .related-products-section {
        padding: 60px 0 80px;
    }

    .related-products-container {
        padding: 0 20px;
    }

    .related-products-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .related-products-container .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-products-container .product-item {
        padding: 25px;
        border-radius: 20px;
    }

    .related-products-container .product-image-wrapper {
        height: 200px;
        margin-bottom: 20px;
    }

    .related-products-container .product-name {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .related-products-container .product-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}