/* ======================================
   HERO SLIDER
   ====================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    background: #000;
}

/* Progress Bar */
.slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(139, 0, 0, 0.3);
    z-index: 20;
    overflow: hidden;
}

.slider-progress-fill {
    height: 100%;
    width: 0;
    background: rgba(220, 20, 60, 0.9);
    transition: none;
}

.slider-progress-fill.animate {
    width: 100%;
    transition: width 30s linear;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: zoomEffect 15s ease-in-out infinite alternate;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.slide-container {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding-top: 136px;
    padding-left: 100px;
    padding-right: 0;
}

.slide-content-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
    padding-right: 0;
    position: relative;
}

/* Sol Taraf - Başlık ve Slogan */
.slide-left {
    flex: 1;
    max-width: 850px;
    padding-left: 0;
    padding-top: 0;
    margin-top: 0;
    margin-left: 0;
    position: relative;
}

.slide-left::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 23px;
    height: 0;
    background: linear-gradient(to bottom, #e60023, #c00020);
    box-shadow: 0 0 15px rgba(230, 0, 35, 0.5);
    opacity: 0;
}

.hero-slide.active .slide-left::before {
    animation: redLineGrow 1.2s ease-out 0.3s forwards;
}

@keyframes redLineGrow {
    0% {
        height: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        height: 100%;
        opacity: 1;
    }
}

.slide-title {
    font-size: 6rem;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 30px;
    display: inline-block;
    opacity: 0;
    transform: translateX(80px);
    white-space: nowrap;
    font-family: 'Molde Semi Expanded Black', 'Molde Semi Expanded', 'Impact', 'Arial Black', sans-serif;
    text-shadow: 
        0 0 3px rgba(180, 0, 0, 1),
        0 0 6px rgba(180, 0, 0, 0.8),
        0 0 9px rgba(180, 0, 0, 0.6);
}

.hero-slide.active .slide-title {
    animation: slideInFromRight 1s ease-out 0.5s forwards;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-slogan {
    font-size: 1.5rem;
    color: #e0e0e0;
    line-height: 1.7;
    font-weight: 700;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.4),
        1px 1px 2px rgba(230, 0, 35, 0.3);
}

.slogan-line-1,
.slogan-line-2 {
    display: block;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
}

.hero-slide.active .slogan-line-1 {
    animation: typing1 2s steps(40, end) 1.5s forwards;
}

.hero-slide.active .slogan-line-2 {
    border-right: 3px solid rgba(136, 136, 136, 0.7);
    animation: 
        typing2 3s steps(60, end) 3.8s forwards,
        blinkCursor 0.75s step-end 3.8s infinite;
}

@keyframes typing1 {
    0% {
        width: 0;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes typing2 {
    0% {
        width: 0;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blinkCursor {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: rgba(136, 136, 136, 0.7);
    }
}

/* Sağ Taraf - Özellikler Tablosu (Accordion) */
.slide-right {
    flex: 0 0 450px;
    width: 450px;
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 120px;
}

.specs-box {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(60px);
    width: 100%;
}

.hero-slide.active .specs-box {
    animation: slideInFromBottom 1s ease-out 1s forwards;
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.specs-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 0;
    padding: 20px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px 16px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.specs-title:hover {
    background: rgba(255, 255, 255, 0.95);
}

.specs-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #e60023;
    transition: transform 0.4s ease;
}

.specs-box.open .specs-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    width: 100%;
}

.specs-box.open .specs-table {
    max-height: 500px;
    padding: 25px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(248, 249, 250, 0.85);
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.spec-row:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left-color: #e60023;
}

.spec-name {
    font-weight: 700;
    color: #34495e;
    font-size: 0.95rem;
}

.spec-value {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: right;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #e60023;
    border-radius: 50%;
    color: #e60023;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #c00020;
    color: #c00020;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 12px 40px rgba(230, 0, 35, 0.3);
}

.slider-control.prev {
    left: 35px;
}

.slider-control.next {
    right: 35px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 10;
}

/* Kurabiye Galerisi */
.cookie-gallery {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 75px;
    z-index: 5;
}

.cookie-item {
    width: 175px;
    height: 150px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.hero-slide.active .cookie-item {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 0, 35, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.dot {
    width: 55px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #e60023;
    transition: width 0.4s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scaleX(1.1);
}

.dot.active {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes dotProgress {
    from { width: 0; }
    to { width: 100%; }
}

.dot.active::before {
    animation: dotProgress 30s linear;
}

/* ======================================
   RESPONSIVE - SLIDER
   ====================================== */

@media (max-width: 1400px) {
    .hero-slider {
        height: 750px;
    }

    .slide-container {
        max-width: calc(100% - 180px);
        padding-left: 80px;
    }

    .slide-content-wrapper {
        gap: 40px;
        padding-right: 100px;
    }

    .slide-left {
        max-width: 750px;
    }

    .slide-left::before {
        left: -40px;
        width: 20px;
    }

    .slide-title {
        font-size: 4.5rem;
    }

    .slide-slogan {
        font-size: 1.35rem;
    }

    .slide-right {
        flex: 0 0 420px;
        width: 420px;
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 100px;
    }

    .specs-title {
        font-size: 1.6rem;
        padding: 18px 22px;
    }

    .specs-arrow {
        font-size: 1.4rem;
        right: 22px;
    }
}

@media (max-width: 1200px) {
    .hero-slider {
        height: 700px;
    }

    .slide-container {
        max-width: calc(100% - 140px);
        padding-left: 60px;
    }

    .slide-content-wrapper {
        padding-right: 80px;
    }

    .slide-left {
        max-width: 650px;
    }

    .slide-left::before {
        left: -35px;
        width: 18px;
    }

    .slide-title {
        font-size: 3.8rem;
    }

    .slide-slogan {
        font-size: 1.2rem;
    }

    .slide-right {
        flex: 0 0 380px;
        width: 380px;
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 80px;
    }

    .specs-title {
        font-size: 1.5rem;
        padding: 16px 20px;
    }

    .specs-arrow {
        font-size: 1.3rem;
        right: 20px;
    }

    .specs-box.open .specs-table {
        padding: 20px;
    }

    .spec-row {
        padding: 12px 16px;
    }

    .spec-name, .spec-value {
        font-size: 0.88rem;
    }

    .slider-control {
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }

    .slider-control.prev {
        left: 25px;
    }

    .slider-control.next {
        right: 25px;
    }
}

@media (max-width: 991px) {
    .hero-slider {
        height: 650px;
    }

    .slide-container {
        max-width: 100%;
        padding-left: 20px;
    }

    .slide-content-wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding-right: 20px;
    }

    .slide-left {
        max-width: 100%;
        text-align: center;
    }

    .slide-left::before {
        left: 50%;
        transform: translateX(-50%);
        width: 15px;
    }

    .slide-title {
        font-size: 3.2rem;
    }

    .slide-slogan {
        font-size: 1.1rem;
    }

    .slide-right {
        position: static;
        flex: 0 0 auto;
        width: 100%;
        max-width: 520px;
        margin: 30px auto 0 auto;
    }

    .specs-title {
        font-size: 1.4rem;
        padding: 15px 18px;
    }

    .specs-arrow {
        font-size: 1.2rem;
        right: 18px;
    }

    .specs-box.open .specs-table {
        padding: 18px;
    }

    .slider-control {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .slider-control.prev {
        left: 18px;
    }

    .slider-control.next {
        right: 18px;
    }

    .slider-dots {
        bottom: 25px;
        gap: 14px;
    }

    .dot {
        width: 45px;
        height: 5px;
    }

    .cookie-gallery {
        bottom: 80px;
        gap: 40px;
    }

    .cookie-item {
        width: 140px;
        height: 120px;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        height: 600px;
    }

    .slide-container {
        padding-left: 15px;
    }

    .slide-content-wrapper {
        gap: 25px;
        padding-right: 15px;
    }

    .slide-left::before {
        width: 12px;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-slogan {
        font-size: 1rem;
    }

    .specs-title {
        font-size: 1.25rem;
        padding: 14px 16px;
    }

    .specs-arrow {
        font-size: 1.1rem;
        right: 16px;
    }

    .specs-box.open .specs-table {
        padding: 16px;
    }

    .spec-row {
        padding: 11px 14px;
    }

    .spec-name, .spec-value {
        font-size: 0.82rem;
    }

    .slider-control {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .slider-control.prev {
        left: 12px;
    }

    .slider-control.next {
        right: 12px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 12px;
    }

    .dot {
        width: 40px;
        height: 4px;
    }

    .cookie-gallery {
        bottom: 60px;
        gap: 25px;
    }

    .cookie-item {
        width: 110px;
        height: 95px;
    }
}

@media (max-width: 575px) {
    .hero-slider {
        height: 550px;
    }

    .slide-container {
        padding-top: 136px;
        padding-left: 15px;
    }

    .slide-content-wrapper {
        gap: 20px;
        padding-right: 15px;
    }

    .slide-left::before {
        width: 10px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-slogan {
        font-size: 0.9rem;
    }

    .specs-title {
        font-size: 1.15rem;
        padding: 12px 14px;
    }

    .specs-arrow {
        font-size: 1rem;
        right: 14px;
    }

    .specs-box.open .specs-table {
        padding: 14px;
    }

    .spec-row {
        padding: 10px 12px;
    }

    .spec-name {
        font-size: 0.75rem;
        flex: 0 0 55%;
    }

    .spec-value {
        font-size: 0.75rem;
    }

    .slider-control {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .slider-control.prev {
        left: 8px;
    }

    .slider-control.next {
        right: 8px;
    }

    .slider-dots {
        gap: 10px;
    }

    .dot {
        width: 32px;
        height: 3px;
    }

    .cookie-gallery {
        bottom: 50px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-item {
        width: 90px;
        height: 80px;
    }
}