/*Reset & Base*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #ffffff;
    font-family:  'Poppins', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/*Header / Nav*/
.header {
    padding: 25px 0;
    border-bottom: 1px solid #222;
}
.header .container {
    display: flex;
    justify-content: space-between;  /* pushes logo left, nav right */
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.logo-img {
    height: 70px;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    color: #ffcc00;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: #ffcc00;
}

.btn-shop {
    background: #7b2cbf;
    padding: 10px 24px;
    border-radius: 30px;
    color: white !important;
}

.btn-shop:hover {
    background: #9d4edd;
}

/*Hero sections*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000 center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-1 {
    
    text-align: center;
}

.hero-1 h1 {
    font-family:  'Marko One', sans-serif;
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Slide 2 */
.hero-2 {
    background: #000;
    padding: 120px 0;
}

.section-title {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.product-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.25s;
}

.product-card:hover {
    transform: translateY(-12px);
}

.product-image-placeholder {
    height: 240px;
    background: #222;
    border-radius: 12px;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.ingredients, .best-for, .bag-sizes {
    color: #bbb;
    margin: 8px 0;
    font-size: 1.05rem;
}

.price {
    font-size: 1.8rem;
    color: #ffcc00;
    font-weight: bold;
    margin: 20px 0 25px;
}

/* Slide 3 */
.hero-3 {
    background: #000;
    text-align: center;
}

.contact-info p,
.social p {
    font-size: 1.6rem;
    margin: 18px 0;
}

.btn-primary,
.btn-buy {
    background: #8E64EB;
    color: rgb(17, 17, 17);
    border: none;
    padding: 16px 48px;
    font-size: 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover,
.btn-buy:hover {
    background: #9d4edd;
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    background: #0a0a0a;
    color: #888;
    font-size: 1.1rem;
}
/* Cart */
.cart-icon a {
    font-size: 1.6rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
/*CART STYLES*/
.cart-icon {
    position: relative;
}

.cart-icon a {
    font-size: 1.6rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-count {
    background: #ffcc00;
    color: #000;
    font-size: 0.85rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -4px;
    font-family: Poppins, sans-serif;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    color: #fff;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.cart-items-list {
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding: 0;
    text-align: left;
}

.cart-items-list li {
    padding: 12px;
    background: #222;
    margin-bottom: 8px;
    border-radius: 8px;
    font-size: 1.1rem;
}

.cart-total {
    margin: 20px 0;
    font-size: 1.3rem;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-secondary {
    background: #555;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-clear {
    background: #c0392b;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-secondary:hover { background: #777; }
.btn-clear:hover { background: #e74c3c; }

/* PRODUCT IMAGES */
.product-image {
    height: 240px;
    width: 100%;
    object-fit: cover;           /* keeps the bag images looking nice */
    border-radius: 12px;
    margin-bottom: 25px;
    background: #222;            /* fallback color while images load */
}
/*CONTACT SECTION*/

/* Override hero flex centering */
.hero-3 {
    display: flex;
    justify-content: flex-start;   /* force LEFT alignment */
    align-items: center;
    padding: 120px 80px;
}

/* Kill container centering effect */
.hero-3 .container {
    max-width: 100%;
    margin: 0;                     /* remove auto centering */
    padding: 0;
}

/* Main layout: left + right */
.contact-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* LEFT SIDE */
.contact-left {
    text-align: left;
}

.contact-left h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.contact-left p {
    font-size: 1.4rem;
    margin: 15px 0;
    color: #ddd;
}

/* RIGHT SIDE */
.contact-right {
    text-align: right;
}

.contact-right h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}
.social-icons iconify-icon {
    font-size: 28px;
    color: #757575;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* FOOTER CLEANUP */
.footer {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding: 30px 80px;
    text-align: center;
}
/* HERO section Update*/
.hero-1 {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    position: relative;
}

.hero-1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);   /* dark overlay so text is readable */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text-overlay {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;          /* space before subtitle */
    z-index: 3;
}

.hero-left-text,
.hero-right-text {
    font-family: 'Marko One', sans-serif;
    font-size: 5.8rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
}

.hero-left-text {
    text-align: left;
    max-width: 48%;
}

.hero-right-text {
    text-align: right;
    max-width: 48%;
}

/* Subtitle and button */
.hero-subtitle {
    font-size: 1.8rem;
    max-width: 700px;
    margin-bottom: 40px;
    z-index: 3;
}

.btn-primary {
    z-index: 3;
}