@import "https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap";

:root {
    --primary: #000000;
    --primary-light: #1a1a1a;
    --accent: #b49164;
    --accent-dark: #8e6f4a;
    --text-dark: #111111;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --white: #ffffff;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

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

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--primary);
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 20px;
}

.nav-icons span {
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: #000;
}

/* Background Light Orbs */
.hero-slider::before, .hero-slider::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

.hero-slider::before { top: -100px; left: -100px; }
.hero-slider::after { bottom: -100px; right: -100px; background: #666; }

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
    background-image: 
        linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
        url('/assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    color: var(--white);
}

.slide-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: translateX(-50px);
    transition: transform 1s ease-out, opacity 1s ease-out;
    opacity: 0;
}

.slide.active .slide-content {
    transform: translateX(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.slide-content h1 span {
    background: linear-gradient(to right, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    opacity: 0.8;
    max-width: 500px;
    line-height: 1.5;
}

.hero-image {
    perspective: 1000px;
}

.hero-image img {
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    max-height: 820px;
    transform: scale(0.85) rotateY(-10deg);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .hero-image img {
    transform: scale(1) rotateY(0deg);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    width: 50px;
}


/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    border-radius: 10px;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: var(--box-shadow);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.trust-item h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

.trust-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Categories */
.section-title {
    text-align: center;
    margin: 80px 0 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    padding: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    height: 150px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.category-card h3 {
    font-size: 20px;
}

/* Featured Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 5;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.wishlist-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-cart, .btn-buy {
    flex: 1;
    padding: 12px 5px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-cart {
    background: #f0f0f0;
    color: var(--text-dark);
}

.btn-cart:hover {
    background: #e0e0e0;
}

.btn-buy {
    background: var(--accent);
    color: var(--white);
}

.btn-buy:hover {
    background: var(--accent-dark);
}

/* Shop by Flavour */
.flavour-section {
    padding-bottom: 80px;
    margin-top: 100px;
}

.flavour-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.flavour-section-title h2 {
    font-size: 2.2rem;
    color: #000;
    font-weight: 700;
}

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.flavour-item {
    text-align: center;
    transition: var(--transition);
}

.flavour-item:hover {
    transform: translateY(-5px);
}

.flavour-item img {
    border-radius: 50%;
    width: 100%;
    max-width: 170px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .flavour-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .flavour-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Shop by Goals */
.goals-section {
    padding-bottom: 80px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

.goal-tile {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.goal-tile.dark {
    background: #0a0a0a;
}

.goal-tile.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goal-tile.image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 86, 179, 0.4);
}

.goal-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.goal-letter {
    font-size: 7rem;
    font-weight: 900;
    color: #0056b3;
    line-height: 1;
}

.goal-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
}

@media (max-width: 992px) {
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .goal-letter {
        font-size: 5rem;
    }
}

@media (max-width: 576px) {
    .goal-letter {
        font-size: 3.5rem;
    }
    .goal-label {
        font-size: 0.8rem;
    }
}

/* Quality Section (Nakpro Style) */
.nutra-quality-section {
    background: #f8f8f8; /* Light grey bg from image */
    padding: 90px 0;
    margin-top: -80px;
    text-align: center;
}

.quality-header h2 {
    color: #000; /* Blue color from image */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.quality-grid {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

.quality-item {
    flex: 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quality-icon i {
    width: 60px;
    height: 60px;
    color: #000;
    stroke-width: 2.5; /* Bold black icons as in image */
}

.quality-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #000;
}

@media (max-width: 992px) {
    .quality-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px 0;
    }
}

@media (max-width: 576px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }
    .quality-icon i {
        width: 50px;
        height: 50px;
    }
    .quality-header h2 {
        font-size: 1.8rem;
    }
}

/* Partners Section */
.partners-section {
    width: 100%;
    background: #f4f4f4; /* Using white for perfect logo blending */
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

.flavour-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.flavour-section-title h2 {
    color: #000;
    font-size: 2.5rem;
    font-weight: 700;
}

.partners-slider-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    padding: 0 80px;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 0; /* Space between large logos */
    width: max-content;
    animation: partner-scroll 35s linear infinite;
}

/* Pause on hover */
.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partner-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
}

.partner-logo img {
    height: 140px; /* Big size */
    width: auto;
    max-width: 350px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Removes white backgrounds */
    transition: var(--transition);
    border-radius: 0 !important; /* Ensure no circles */
}

.partner-logo img:hover {
    transform: scale(1.1);
}

@media (max-width: 1200px) {
    .partner-logo img {
        height: 90px;
    }
    .partners-track {
        gap: 100px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    .partner-logo img {
        height: 70px;
    }
    .partners-track {
        gap: 60px;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 20px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
    opacity: 0.8;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

/* Footer Social Icons */
.footer-social-v3 {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-v3 {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08); /* Solid visible background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon-v3:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-3px);
}

.social-icon-v3 svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .slide .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
