@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Great+Vibes&display=swap');

:root {
    --magenta: #e91b5c;
    --navy-blue: #1b3664;
    --light-blue-bg: #e6f4f9;
    --wave-blue: #0077c0;
    --benefit-bg: #00a0dc;
    --ingredient-bg: #d9f0f9;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #ffffff 0%, #d4eef7 100%);
    color: #333;
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.nav-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* Header */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.main-title h1 {
    color: var(--magenta);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.main-title h2 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1rem;
    border-top: 2px solid var(--navy-blue);
    border-bottom: 2px solid var(--navy-blue);
    padding: 10px 0;
    display: inline-block;
}

.organic-text {
    font-family: 'Great Vibes', cursive;
    color: #d12e3e;
    font-size: 2.5rem;
    text-align: right;
    line-height: 1.2;
}

/* Main Content Grid */
.main-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.left-column {
    flex: 1.2;
}

.right-column {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Typography styles */
.section-title {
    color: var(--magenta);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.profile-text {
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 30px;
    color: #222;
}

.profile-text strong {
    color: var(--navy-blue);
}

.why-choose-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.why-choose-list li::before {
    content: "*";
    margin-right: 5px;
}

/* Big Logo Area */
.big-logo {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
}

.big-logo h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 0.8;
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
}

.big-logo h1 .m {
    color: var(--navy-blue);
}

.big-logo h1 .g-swoosh {
    color: #f59e0b;
    position: absolute;
    font-size: 3rem;
    top: 5px;
    left: 45%;
    transform: translateX(-50%);
}

.big-logo h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    font-weight: 800;
    letter-spacing: 2px;
}

.machinery-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.badges {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.badge-img {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: white; /* In case the image has transparent corners */
}

/* Bottom Section (Waves, Benefits, Contact) */
.bottom-section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320" preserveAspectRatio="none" width="100%" height="100%"><path fill="%230077c0" fill-opacity="0.2" d="M0,160L48,170.7C96,181,192,203,288,208C384,213,480,203,576,176C672,149,768,107,864,112C960,117,1056,171,1152,192C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path><path fill="%230077c0" fill-opacity="0.4" d="M0,64L48,96C96,128,192,192,288,208C384,224,480,192,576,176C672,160,768,160,864,176C960,192,1056,224,1152,224C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path><path fill="%230077c0" fill-opacity="1" d="M0,256L48,245.3C96,235,192,213,288,218.7C384,224,480,256,576,256C672,256,768,224,864,208C960,192,1056,192,1152,181.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom center;
    background-size: 100% 100%;
}

.bottom-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: transparent;
    padding: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    z-index: 2;
    color: #50055f;
    text-align: center;
}

.contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-logo h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #633d6e;
}

.contact-info h3 {
    color: #f31335; /* Lighter pink to stand out on dark blue */
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contact-info p {
    font-size: 0.85rem;
    margin-bottom: 5px;
    color: #1d0979;
    font-weight: 600;
}

.cards-section {
    margin: 40px 0;
}

.boxes-wrapper-top {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
}

.boxes-wrapper-top > div {
    flex: 1;
}

.benefits-box {
    background: var(--benefit-bg);
    border-radius: 20px;
    padding: 15px 25px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.benefits-box h3 {
    text-align: center;
    color: #ffe100;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.benefits-grid li {
    list-style: none;
    position: relative;
    padding-left: 15px;
}

.benefits-grid li::before {
    content: "↪";
    position: absolute;
    left: 0;
    color: #ffe100;
}

.ingredients-box {
    background: var(--ingredient-bg);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.ingredients-box h3 {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.species-item {
    margin-bottom: 10px;
}

.species-item h4 {
    color: var(--wave-blue);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.species-item p {
    font-size: 0.75rem;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.gallery-title {
    color: var(--navy-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
}

.gallery-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--magenta);
    margin: 10px auto 0;
    border-radius: 2px;
}

.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.carousel-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
}

.carousel-btn {
    background: var(--navy-blue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin: 0 10px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--magenta);
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.img-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
    border-bottom: 3px solid var(--benefit-bg);
}

/* Make images responsive when user replaces placeholder */
.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-bottom: 3px solid var(--benefit-bg);
    display: block;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.4s;
    border: 3px solid #fff;
    border-radius: 5px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;} 
    to {transform:scale(1); opacity: 1;}
}

/* Scroll to Top Button */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--magenta);
    color: white;
    cursor: pointer;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background-color 0.3s, transform 0.3s;
    width: auto;
    height: auto;
    padding: 12px 24px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Initially hide it properly */
    display: none; 
}

#scrollToTopBtn:hover {
    background-color: var(--navy-blue);
    transform: translateY(-5px);
}

@media (max-width: 900px) {
    .header-top, .main-content, .bottom-container {
        flex-direction: column;
        align-items: center;
    }
    .why-choose-list {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    .organic-text {
        text-align: center;
        margin-top: 20px;
    }
    .bottom-section {
        background-size: cover;
    }
    .contact-info {
        margin: 10px 0;
        width: 100%;
        min-width: 100%;
    }
    .boxes-wrapper-top {
        flex-direction: column;
    }
    .carousel-slide {
        flex: 0 0 calc(50% - 10px);
    }
    .top-nav {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
    }
    .main-title {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 100%;
    }
    .main-title h1 {
        font-size: 2rem;
    }
    .main-title h2 {
        font-size: 1.2rem;
    }
    .subtitle {
        font-size: 0.9rem;
    }
    .organic-text {
        font-size: 1.8rem;
    }
    .big-logo h1 {
        font-size: 3rem;
    }
    .big-logo h1 .g-swoosh {
        font-size: 1.8rem;
        top: 2px;
    }
    .big-logo h2 {
        font-size: 1.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefits-box {
        padding: 15px 15px;
    }
    .nav-links {
        gap: 15px;
    }
}
