/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER - ArkSigner Style
═══════════════════════════════════════════════════════════════ */

.hero-slider {
    position: relative;
    min-height: 80vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-slider__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider__aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(9, 118, 212, 0.15) 0%,
        rgba(9, 118, 212, 0.08) 30%,
        rgba(9, 118, 212, 0.03) 50%,
        transparent 70%);
    animation: auraGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-slider__aura::before {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid rgba(9, 118, 212, 0.2);
    animation: auraRing 15s linear infinite;
}

.hero-slider__aura::after {
    content: '';
    position: absolute;
    inset: 25%;
    border-radius: 50%;
    border: 1px solid rgba(9, 118, 212, 0.15);
    animation: auraRing 20s linear infinite reverse;
}

@keyframes auraGlow {
    0%, 100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes auraRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════════════
   SLIDES CONTAINER
═══════════════════════════════════════════════════════════════ */

.hero-slider__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height, 72px) + 16px) 24px 40px;
}

.hero-slider__slides {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide__inner {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE IMAGES (Left & Right Mockups)
═══════════════════════════════════════════════════════════════ */

.hero-slide__image {
    position: relative;
}

.hero-slide__image--left {
    transform: perspective(1000px) rotateY(5deg);
    animation: floatLeft 6s ease-in-out infinite;
}

.hero-slide__image--left img,
.hero-slide__image--right img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.hero-slide__image--right {
    transform: perspective(1000px) rotateY(-5deg);
    animation: floatRight 6s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: perspective(1000px) rotateY(5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(5deg) translateY(-15px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-15px);
    }
}

.hero-slide__mockup {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(9, 118, 212, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-slide__mockup:hover {
    transform: scale(1.02);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(9, 118, 212, 0.3);
}

/* Mockup Glow Effect */
.hero-slide__image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, 
        rgba(9, 118, 212, 0.2) 0%,
        transparent 70%);
    z-index: -1;
    filter: blur(30px);
    opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE CENTER CONTENT
═══════════════════════════════════════════════════════════════ */

.hero-slide__center {
    text-align: center;
    padding: 0 20px;
}

.hero-slide__logo {
    margin-bottom: 32px;
}

.hero-slide__logo img {
    max-height: 80px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(9, 118, 212, 0.3));
}

.hero-slide__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero-slide__title span {
    background: linear-gradient(135deg, #0976d4 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slide__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-slide__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(9, 118, 212, 0.2);
}

.hero-slide__btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.hero-slide__btn:hover svg {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════
   TAB NAVIGATION
═══════════════════════════════════════════════════════════════ */

.hero-slider__nav {
    position: relative;
    z-index: 10;
    padding: 0 24px 40px;
}

.hero-slider__tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0;
    overflow: hidden;
}

.hero-slider__tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.hero-slider__tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-slider__tab:first-child::before {
    display: none;
}

.hero-slider__tab:hover {
    background: rgba(255, 255, 255, 0.03);
}

.hero-slider__tab.active {
    background: rgba(9, 118, 212, 0.05);
}

.hero-slider__tab-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.hero-slider__tab-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.hero-slider__tab.active .hero-slider__tab-icon,
.hero-slider__tab:hover .hero-slider__tab-icon {
    color: #0976d4;
}

.hero-slider__tab-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.hero-slider__tab.active .hero-slider__tab-label,
.hero-slider__tab:hover .hero-slider__tab-label {
    color: #ffffff;
}

/* Progress Bar */
.hero-slider__tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hero-slider__tab-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0976d4 0%, #06b6d4 100%);
    transition: width 0.1s linear;
}

.hero-slider__tab.active .hero-slider__tab-progress-bar {
    animation: progressFill 5s linear forwards;
}

@keyframes progressFill {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PLACEHOLDER STYLES (for mockups without images)
═══════════════════════════════════════════════════════════════ */

.hero-slide__placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, 
        rgba(9, 118, 212, 0.1) 0%,
        rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(9, 118, 212, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(9, 118, 212, 0.1);
}

/* Görsel yüklenemeyince (onerror) gösterilen yedek placeholder */
.hero-slide__placeholder--fallback {
    display: flex !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .hero-slide__inner {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 24px;
    }
    
    .hero-slide__title {
        font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 1024px) {
    .hero-slider__content {
        padding: calc(var(--header-height, 72px) + 12px) 24px 30px;
    }
    
    .hero-slide__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-slide__image--left,
    .hero-slide__image--right {
        display: none;
    }
    
    .hero-slide__center {
        order: 1;
    }
    
    .hero-slider__tabs {
        flex-wrap: wrap;
        gap: 0;
    }
    
    .hero-slider__tab {
        flex: 0 0 25%;
        min-width: 0;
        padding: 16px 8px;
    }
    
    .hero-slider__tab-label {
        font-size: 0.75rem;
    }
    
    .hero-slider__tab::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: auto;
        padding-top: calc(var(--header-height, 72px) + 8px);
    }
    
    .hero-slider__content {
        padding: calc(var(--header-height, 72px) + 8px) 16px 20px;
    }
    
    .hero-slide__title {
        font-size: 1.75rem;
        margin-bottom: 24px;
    }
    
    .hero-slide__btn {
        padding: 14px 32px;
        font-size: 0.938rem;
    }
    
    .hero-slider__nav {
        padding: 0 16px 24px;
    }
    
    .hero-slider__tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .hero-slider__tabs::-webkit-scrollbar {
        display: none;
    }
    
    .hero-slider__tab {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 12px 16px;
    }
    
    .hero-slider__tab-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-slider__tab-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-slider__aura {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-slide__logo img {
        max-height: 60px;
    }
    
    .hero-slide__title {
        font-size: 1.5rem;
    }
    
    .hero-slider__tab {
        min-width: 80px;
        padding: 10px 12px;
    }
    
    .hero-slider__tab-label {
        font-size: 0.688rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE ANIMATIONS
═══════════════════════════════════════════════════════════════ */

.hero-slide.active .hero-slide__logo {
    animation: fadeInDown 0.6s ease forwards;
}

.hero-slide.active .hero-slide__title {
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-slide.active .hero-slide__btn {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-slide.active .hero-slide__image--left {
    animation: fadeInLeft 0.8s ease 0.3s forwards;
    opacity: 0;
}

.hero-slide.active .hero-slide__image--right {
    animation: fadeInRight 0.8s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(5deg) translateX(-30px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(5deg) translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-5deg) translateX(30px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(-5deg) translateX(0);
    }
}
