/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    --first-color: #333;
    --text-color: #555;
    --text-color-light: #888;
    --body-color: #fff;
    --container-color: #fff;

    /*========== Font and typography ==========*/
    --body-font: 'Montserrat', sans-serif;
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--body-color);
    color: var(--first-color);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--first-color);
    border-radius: 2rem;
    font-weight: var(--font-medium);
    transition: .3s;
}

.btn:hover {
    background-color: var(--first-color);
    color: var(--body-color);
}

/*=============== HEADER & NAV ===============*/
.header {
    width: 100%;
    background-color: var(--body-color);
    /* position: fixed; */
    top: 0;
    left: 0;
    /* z-index: var(--z-fixed); */
    border-bottom: 1px solid #eee;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: var(--font-semi-bold);
}

.nav__menu ul {
    display: flex;
    gap: 2rem;
}

.nav__menu a {
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    transition: .3s;
}

.nav__menu a:hover {
    color: var(--first-color);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__actions i {
    font-size: 1.25rem;
    cursor: pointer;
}

/*=============== HERO ===============*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* overflow: hidden; */
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/img/banner.png'); /* Direct path for now */
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.9);
}

.hero__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero__text-left {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    line-height: 1.6;
}

.hero__center {
    text-align: center;
    color: #fff;
}

.hero__center h1 {
    font-size: 6rem;
    font-weight: var(--font-semi-bold);
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero__title-top {
    position: absolute;
    top: 10%; /* Adjusted */
    left: 50%;
    transform: translateX(-50%);
}

.play-button {
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 0 auto 2rem;
    transition: .3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    font-size: 4rem;
    color: var(--first-color);
}

.hero__scroll {
    position: relative;
    width: 120px;
    height: 120px;
}

.scroll-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 10s linear infinite;
}

.scroll-text p {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    transform-origin: center center;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}



/*=============== SCROLL ANIMATION ===============*/
.burger-animated {
    position: absolute;
    top: 50%; /* Adjusted */
    left: 50%; /* Adjusted */
    transform: translate(-50%, -50%);
    width: 400px; /* Adjusted */
    z-index: 0; /* Raised to be on top of other sections */
    will-change: transform;
}

.purse-target-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    position: relative;
    z-index: 1;
}


.ingredients-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid #8B4513;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* To enable z-index */
    z-index: 1;
}

.ingredient {
    position: absolute;
    width: 250px;
    height: auto;
}

/* Final positions and rotations */
.ingredient-1 { top: -10%; left: -2%; transform: rotate(-15deg); }
.ingredient-2 { top: 10%; left: -2%; transform: rotate(10deg); }
/* ingredient-3 removed */
.ingredient-4 { top: 30%; left: -2%; transform: rotate(20deg); }
.ingredient-5 { top: 50%; left: -2%; transform: rotate(-10deg); }
.ingredient-6 { top: 70%; left: -2%; transform: rotate(5deg); }

.ingredient-7 { top: -7%; right: -2%; transform: rotate(15deg); }
.ingredient-8 { top: 10%; right: -2%; transform: rotate(-10deg); }
.ingredient-9 { top: 27%; right: -2%; transform: rotate(5deg); }
.ingredient-10 { top: 44%; right: -2%; transform: rotate(-20deg); }
.ingredient-11 { top: 61%; right: -2%; transform: rotate(10deg); }
.ingredient-12 { top: 78%; right: -2%; transform: rotate(-5deg); }


/*=============== POPULAR COLLECTION ===============*/
.popular-collection {
    padding: 4rem 0;
    background-color: #fdf5e6;
}

.popular-collection__header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}

.popular-collection__title {
    text-align: center;
}

.popular-collection__heading {
    font-size: 2rem;
    font-weight: 500;
    color: #8B4513;
    line-height: 1;
    text-transform: uppercase;
}

.popular-collection__heading--sub {
    font-size: 6rem;
    font-weight: 700;
    color: #8B4513;
    line-height: 1;
    margin-top: -1rem;
}

.popular-collection__button {
    background: transparent;
    border: 1px solid #8B4513;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 2rem;
    color: #8B4513;
    margin: 0 2rem;
}

.popular-collection__products {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.popular-collection__product {
    text-align: center;
}



.popular-collection__product-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid #8B4513;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.popular-collection__product-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.popular-collection__product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.popular-collection__product-price {
    font-size: 1rem;
    font-weight: 500;
    color: #8B4513;
}

/*=============== ABOUT US ===============*/
.about-us {
    padding: 2rem 0;
    background-color: #fdf5e6;
    position: relative;
    margin-top: 8rem;
    margin-bottom: 200px;
}

.about-us__content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1; /* To be on top of the animated burger */
    padding: 2rem;
    border-radius: 1rem;
}

.about-us__image {
    flex: 1;
    position: relative;
}

#burger-about-us-target {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-us__image img {
    width: 100%;
    border-radius: 1rem;
    opacity: 0;
}

.about-us__text {
    flex: 1;
}

.about-us__text h2 {
    font-size: var(--h1-font-size);
    margin-bottom: 1rem;
    color: var(--first-color);
}

.about-us__text p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/*=============== FOOTER ===============*/
.footer {
    background-color: var(--first-color);
    color: var(--text-color-light);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer__logo {
    font-size: var(--h2-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--body-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.footer__description {
    font-size: var(--small-font-size);
}

.footer__title {
    font-size: var(--h3-font-size);
    color: var(--body-color);
    margin-bottom: 1.5rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links a {
    color: var(--text-color-light);
    transition: .3s;
}

.footer__links a:hover {
    color: var(--body-color);
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.footer__social a {
    font-size: 1.5rem;
    color: var(--text-color-light);
    transition: .3s;
}

.footer__social a:hover {
    color: var(--body-color);
}

.footer__newsletter {
    display: flex;
    margin-top: 1rem;
}

.footer__newsletter input {
    border: none;
    padding: 0.75rem;
    border-radius: 2rem 0 0 2rem;
    outline: none;
    width: 100%;
}

.footer__newsletter .btn {
    border-radius: 0 2rem 2rem 0;
    border-color: var(--body-color);
}

.footer__bottom {
    margin-top: 4rem;
    text-align: center;
    font-size: var(--smaller-font-size);
}
