* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
}

.background {
    position: fixed;
    top: 400px;
    left: 0;
    width: 100%;
    height: calc(100% - 400px);
    background-image: url('./images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .background {
        top: 250px;
        height: calc(100% - 250px);
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    background-image: url('./images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 40px;
    min-height: 400px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #000;
    font-weight: 600;
    line-height: 1.8;
}

.hero-image {
    display: none;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

/* Steps Section */
.step {
    margin: 40px auto;
    max-width: 1080px;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 350px;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.step-image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(240, 192, 255, 0.7);
}

.step-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-text-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(240, 192, 255, 0.9);
}

.step h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #622A73;
}

.step p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #202020;
}

.step ul {
    margin: 15px 0 15px 25px;
    list-style-type: none;
}

.step ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
    color: #202020;
}

.step ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7c5ba8;
    font-weight: bold;
}

.note {
    background-color: rgba(255, 192, 203, 0.3);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.shop-btn {
    background-color: #5a3d7a;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.shop-btn:hover {
    background-color: #4a2f63;
}


/* Footer */
.footer {
    background-color: #3d2b5a;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        min-height: 250px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .step {
        flex-direction: column;
        min-height: auto;
        margin: 30px 20px;
    }

    .step-image-section {
        min-height: 250px;
        order: 1;
    }

    .step-text-section {
        padding: 30px 20px;
        order: 2;
    }

    /* Alternate order for even steps */
    .step-2 .step-image-section,
    .step-4 .step-image-section {
        order: 1;
    }

    .step-2 .step-text-section,
    .step-4 .step-text-section {
        order: 2;
    }

    .step h2 {
        font-size: 1.3rem;
    }

    .step p,
    .step ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .step {
        margin: 25px 15px;
    }

    .step-text-section {
        padding: 20px 15px;
    }

    .step-image-section {
        min-height: 200px;
    }

    .step h2 {
        font-size: 1.1rem;
    }

    .step p,
    .step ul li {
        font-size: 0.85rem;
    }

    .shop-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
