/* Anasayfaya özel stiller */

/* Hero sections */
.hero {
    aspect-ratio: 16 / 7;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text to the left */
    padding: 2rem 6rem;
    box-sizing: border-box;
    background-size: 101%;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: none; /* Hide cursor for better effect */
    transition: background-position 0.8s ease-out, background-size 0.6s ease-out;
}

.product-1 {
    background-image: url('/img/hero/LIVIA200_hero.png');
    color: #fff; /* Change text to white for better contrast */
}

.product-2 {
    background-image: url('/img/hero/LIVIA400_hero.png');
    background-color: #000; /* Fallback */
    color: #fff;
    justify-content: flex-end; /* Product-2 için sağ taraf */
}
.hero .product-info {
    padding: 2rem 4rem;
    background-color: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    position: relative; /* To be on top of the overlay */
    z-index: 2;
    border-radius: 50px;
}

/* Product info */
.product-info h1, .product-info h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-info p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    max-width: 500px;
}

.product-info button {
    background-color: #e8e8e8;
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.product-info button:hover {
    background-color: #d8d8d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-info .button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .product-image {
        margin-top: 3rem;
    }

    .product-info h1, .product-info h2 {
        font-size: 2.5rem;
    }

    .product-1 {
        background-image: url('/img/hero/LIVIA200_hero_m.png');
        color: #fff; /* Change text to white for better contrast */
    }

    .product-2 {
        background-image: url('/img/hero/LIVIA400_hero_m.png');
        background-color: #000; /* Fallback */
        color: #fff;
    }

    .hero {
        aspect-ratio: 9 / 16;
        justify-content: center;
        padding: 4rem 2rem;
    }
}
