/* Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
    margin-top: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #E3F2FD, #F3E5F5);
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.slide-text {
    position: relative;
    z-index: 2;
}

.flower-decoration {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.slide h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2D5A87;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.slide p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: slideInLeft 0.8s ease-out 0.5s both;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 0.8s ease-out 0.7s both;
}

.slide-image {
    position: relative;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

.slide-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(233, 30, 99, 0.9);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.3);
}

/* Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.indicator.active {
    background: #E91E63;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

.indicator:hover {
    background: rgba(233, 30, 99, 0.8);
    transform: scale(1.1);
}

/* Categories Section Updates */
.categories {
    padding: 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.category-card {
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 0.7;
}

.category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.category-content {
    position: relative;
    z-index: 2;
    color: white;
    transition: transform 0.3s ease;
}

.category-card:hover .category-content {
    transform: translateY(-10px);
}

/* ---- CATEGORIES IMAGES ---- */

/* Soldaki büyük mor kart */
.category-card.purple {
    grid-row: span 2;
    /* düzeni koru */
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
        url('/images/2.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

/* Sağ üstteki pembe kart */
.category-card.pink {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
        url('/images/1.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

/* Sağdaki uzun yeşil kart */
.category-card.mint {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
        url('/images/4.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

.category-card.mint.extended {
    grid-row: span 2;
    grid-column: 3;
}

/* Alttaki mavi kart */
.category-card.blue {
    background-image:
        linear-gradient(0deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .15)),
        url('/images/3.png');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

/* Karartma filtresini biraz hafifletelim */
.category-card::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .20));
}


.category-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.category-content .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.category-content .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transform: translateY(-2px);
}

/* Logo Updates */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #333;
    font-weight: 500;
}

.phone-icon {
    font-size: 1rem;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-slider {
        height: auto;
        min-height: 70vh;
    }

    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 4rem 20px 2rem;
        justify-content: center;
    }

    .slide h1 {
        font-size: 2.5rem;
    }

    .slide-buttons {
        justify-content: center;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        gap: 1.5rem;
        padding: 20px;
    }

    .category-card {
        height: 200px;
    }

    .category-card.purple,
    .category-card.mint.extended {
        grid-row: span 1;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .slide h1 {
        font-size: 2rem;
    }

    .slide p {
        font-size: 1rem;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slide-content {
        padding: 3rem 15px 2rem;
    }

    .categories-grid {
        padding: 15px 10px;
        gap: 1rem;
    }

    .category-card {
        height: 180px;
        padding: 1.5rem;
    }

    .category-content h3 {
        font-size: 1.4rem;
    }

    .category-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .slider-nav {
        padding: 0 10px;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .slider-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}