/* ====================================
   Mult Lock Detail Page Styles
   ==================================== */

:root {
    --primary-red: #c41e3a;
    --light-grey: #e8e8e8;
    --dark-grey: #333;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ====================================
   Red Line & Light Beam Animation
   ==================================== */

/* Kırmızı Çizgi Efekti - Section alt kısmında */
.red-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #b80211 0%, #f93f48 50%, #b80211 100%);
    box-shadow: 0 0 15px rgba(242, 39, 70, 0.8);
    z-index: 10;
    overflow: hidden;
}

/* Beyaz ışın efekti - kırmızı çizgi üzerinde */
.red-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 35%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 30%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.4) 70%,
        transparent 100%
    );
    animation: slideRedLight 6s ease-in-out infinite;
    animation-delay: 3s;
    z-index: 3;
}

@keyframes slideRedLight {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

/* ====================================
   Animated Dots Background
   ==================================== */

.animated-dots-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(
            circle at 20% 30%,
            rgba(196, 30, 58, 0.35) 3px,
            transparent 3px
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(196, 30, 58, 0.3) 2px,
            transparent 2px
        ),
        radial-gradient(
            circle at 40% 60%,
            rgba(196, 30, 58, 0.28) 2.5px,
            transparent 2.5px
        );
    background-size: 60px 60px, 100px 100px, 80px 80px;
    background-position: 0 0, 50px 50px, 25px 25px;
    animation: redDotsMove 25s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes redDotsMove {
    0% {
        background-position: 0 0, 50px 50px, 25px 25px;
    }
    100% {
        background-position: 60px 60px, 150px 150px, 105px 105px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-grey);
}

.product-detail-page {
    background-color: var(--light-grey);
}

/* ====================================
   Product Hero Section
   ==================================== */

.product-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.product-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ====================================
   Overview Section
   ==================================== */

.overview-section {
    padding: 80px 20px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.overview-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--dark-grey);
    margin-bottom: 30px;
    text-align: center;
}

.overview-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* ====================================
   Features Section
   ==================================== */

.features-section {
    padding: 80px 20px;
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(196, 30, 58, 0.08) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    width: 400px;
    height: 400px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01729 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ====================================
   Benefits Section
   ==================================== */

.benefits-section {
    padding: 80px 20px;
    background: var(--white);
}

.benefits-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-grey);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-grey);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: #ddd;
    transform: translateX(5px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit-text h4 {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 8px;
    font-weight: 700;
}

.benefit-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ====================================
   Specs Section
   ==================================== */

.specs-section {
    padding: 80px 20px;
    background: var(--light-grey);
    position: relative;
    overflow: hidden;
}

.specs-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.specs-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-grey);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.spec-item {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.15);
}

.spec-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.3rem;
    color: var(--dark-grey);
    font-weight: 700;
}

/* ====================================
   CTA Section
   ==================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a01729 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ====================================
   Product Gallery Section
   ==================================== */

.product-gallery-section {
    position: relative;
    overflow: hidden;
}

.product-gallery-section .container {
    position: relative;
    z-index: 1;
}

.product-gallery-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-gallery-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item {
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* ====================================
   CTA Section
   ==================================== */

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--light-grey);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 992px) {
    .product-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .overview-content h2,
    .features-section h2,
    .benefits-content h2,
    .specs-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 40px 15px;
    }

    .overview-section,
    .features-section,
    .benefits-section,
    .specs-section,
    .cta-section {
        padding: 60px 15px;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ====================================
   Lightbox Styles
   ==================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--primary-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10000;
}

.lightbox-close:hover {
    background: #a01729;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Clickable images cursor */
.product-gallery-section img,
.overview-section img {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}
