/* COLORS */
:root {
    --primary-color: #D9382B;
    --secondary-color: #f5f5f5;
    --accent-color: #d9736c;
    --black: #272542;
    --white: #FEFEFF;
    --gray: gray;
    --bg-color: #f6f4f0;
    --yellow: #FCFF72;
}

body {
    margin: 0;
    padding: 0;
}


main {
    margin-top: 50px;
}

/* TITLE SECTION */
.welcomeSect {
    position: relative;
    width: calc(100% - 200px);
    padding: 100px 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -25px;
    z-index: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.welcomeSect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    /* white with transparency */
    z-index: 1;
}

/* Make sure your content stays above the overlay */
.welcomeSect>* {
    position: relative;
    z-index: 2;
}

.welcomeSect .title {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 900;
    margin: 0;
}

.welcomeSect div {
    padding: 5px 0;
}

.welcomeSect .subtitle .callToActionSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

@media (max-width: 768px) {
    .welcomeSect {
        width: calc(100% - 40px);
        padding: 20px 20px 80px;
        margin-top: 0px;
    }

    .welcomeSect .title {
        font-size: 50px;
    }

    .welcomeSect .subtitle,
    .aboutSect .subtitle,
    .callToActionSect .subtitle {
        font-size: 18px;
    }
}


/* ========== PRODUCTS SECTION ========== */

.product-container {
    column-count: 2;
    column-gap: 40px;
    width: calc(100% - 200px);
    padding: 100px;
}

.fade-block {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
}

.NURevoLifeImg {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.dvineSerumImg{
    width: auto;
    height: 600px;
    border-radius: 20px;

}
.img-container{
    text-align: center;
}

/* Backgrounds */
.NURevoLifeSect {
    background: var(--section-bg-cream, #fdf8f2);
}

.dvineSerumSect {
    background: var(--section-bg-softgray, #f5f5f7);
}

.fade-block .title {
    font-size: 32px;
    font-weight: bold;
}

.fade-block .subtitle {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

.fade-block .head-text {
    font-size: 22px;
    font-weight: bold;
    margin: 12px 0;
}


/* Lists */
.fade-block ul {
    background-color: var(--white);
    padding: 5px;
    border-radius: 12px;
    margin: 12px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    list-style: none;
}

.fade-block ul li {
    list-style: none;
    margin: 8px 0;
    position: relative;
    font-size: 20px;
    padding-left: 40px;
}

.fade-block ul li::before {
    content: "✔";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-weight: bold;
}



/* Fade in/out */
.product,
.fade-block {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product.visible,
.fade-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for list items */
.fade-block.visible li:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-block.visible li:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-block.visible li:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-block.visible li:nth-child(4) {
    transition-delay: 0.4s;
}

.fade-block.visible li:nth-child(5) {
    transition-delay: 0.5s;
}

.fade-block.visible li:nth-child(6) {
    transition-delay: 0.6s;
}

.fade-block.visible li:nth-child(7) {
    transition-delay: 0.7s;
}

.fade-block.visible li:nth-child(8) {
    transition-delay: 0.8s;
}

.fade-block.visible li:nth-child(9) {
    transition-delay: 0.9s;
}

.fade-block.visible li:nth-child(10) {
    transition-delay: 1s;
}

/* callToActionSect */

.callToActionSect {
    position: relative;
    color: var(--white);
    background-image: url('img/naturalAestheticBg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 100px;
    z-index: 0;
    overflow: hidden;
}

.callToActionSect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 56, 43, 0.6);
    /* semi-transparent red */
    z-index: -1;
}

.callToActionSect .title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 50px;
    margin: 30px;
}

.callToActionSect .title {
    color: var(--white);
    margin: 0;
    line-height: 80px;
}

.callToActionSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

.callToActionSect .subtitle {
    color: var(--white);
}

.callToActionSect button {
    background-color: var(--yellow);
    color: var(--black);
    margin: 30px 0px;
    transition: background-color 0.3s ease;
    border: none;
}

.callToActionSect button:hover {
    background-color: var(--white);
}