/* ==========================================================================
   3D RING CAROUSEL (ÇEVRESEL VİTRİN) STYLES
   ========================================================================== */

:root {
    --ring-radius: 500px; /* More space for larger cards */
    --ring-card-width: 320px;
    --ring-card-height: 320px;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

.px-ring-section {
    padding: 12rem 0;
    scroll-snap-align: center;
    background: transparent;
    position: relative;
    z-index: 10;
    overflow: hidden;
    perspective: 3000px;
}

.ring-carousel-container {
    position: relative;
    width: var(--ring-card-width);
    height: var(--ring-card-height);
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.1s linear; /* Short transition for smooth manual movement */
}

/* Individual Card Wrapper */
.ring-card-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
    transform-style: preserve-3d;
}

/* Styling the Card itself (Premium Neon Square) */
.ring-card {
    position: relative;
    width: var(--ring-card-width);
    height: var(--ring-card-height);
    background: #0d121e;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.2rem;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid rgba(255, 87, 87, 0.2); /* Neon Tint Primary Border */
    box-shadow: 0 15px 45px rgba(0,0,0,0.7), 
                inset 0 0 20px rgba(255, 87, 87, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

/* Top Header Line Detail with Neon Pulse */
.ring-card::before {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 3px;
    background: #ff5757;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 15px #ff5757;
}

/* Global Neon Outer Glow */
.ring-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 36px;
    box-shadow: 0 0 40px rgba(255, 87, 87, 0.3);
    opacity: 0.6;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.ring-card:hover {
    transform: scale(1.08);
    border-color: #ff5757;
    box-shadow: 0 0 60px rgba(255, 87, 87, 0.4);
}

.ring-card:hover::after {
    opacity: 1;
}

/* Icons and Text (Neon-Infused) */
.showcase-icon-box {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.showcase-icon-box img {
    width: 65%; height: 65%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

.showcase-subtitle {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ff5757;
    margin-bottom: 0.6rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 87, 87, 0.6); /* Neon Text Glow */
}

.showcase-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4); /* Neon Text Glow */
}

.showcase-desc {
    display: none;
}

.showcase-btn {
    width: 140px;
    height: 42px;
    background: #ff5757;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-top: 1rem;
    box-shadow: 0 0 20px rgba(255, 87, 87, 0.4); /* Neon Button Glow */
    transition: all 0.3s ease;
}

.showcase-btn:hover {
    box-shadow: 0 0 30px rgba(255, 87, 87, 0.7);
}

/* Ring Positioning (7 Cards) */
.ring-card-wrapper:nth-child(1) { transform: rotateY(0deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(2) { transform: rotateY(51.4deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(3) { transform: rotateY(102.8deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(4) { transform: rotateY(154.2deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(5) { transform: rotateY(205.6deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(6) { transform: rotateY(257deg) translateZ(var(--ring-radius)); }
.ring-card-wrapper:nth-child(7) { transform: rotateY(308.4deg) translateZ(var(--ring-radius)); }

/* Navigation Arrows (Desktop) */
.ring-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.ring-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.ring-nav-btn:hover {
    background: var(--showcase-accent, #ff5757);
    border-color: #ff5757;
    box-shadow: 0 0 30px rgba(255, 87, 87, 0.6);
}

.ring-nav-btn:hover svg {
    stroke: #fff;
    transform: scale(1.1);
}

.ring-nav-btn.prev { left: 40px; }
.ring-nav-btn.next { right: 40px; }

/* Mobil Adjustments */
@media (max-width: 1024px) {
    :root {
        --ring-radius: 400px;
    }
    .px-ring-section {
        padding: 8rem 0;
    }
    .ring-nav-btn {
        width: 50px;
        height: 50px;
    }
    .ring-nav-btn.prev { left: 15px; }
    .ring-nav-btn.next { right: 15px; }
}

@media (max-width: 768px) {
    :root {
        --ring-radius: 260px;
        --ring-card-width: 200px;
        --ring-card-height: 200px;
    }
    .px-ring-section {
        padding: 6rem 0;
    }
    .ring-nav-btn {
        display: none; /* Hide for mobile as requested (touch only) */
    }
    .ring-carousel-container {
        width: 200px; height: 200px;
    }
    .ring-card {
        width: 200px; height: 200px;
        padding: 1.2rem;
        border-radius: 28px;
    }
    .showcase-title { font-size: 0.85rem; text-shadow: 0 0 8px rgba(255, 255, 255, 0.3); }
    .showcase-btn { width: 100px; height: 32px; font-size: 0.7rem; }
    .showcase-icon-box { width: 50px; height: 50px; margin-bottom: 1rem; }
}
