@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;600;700&display=swap');

:root {
    --primary-bg: #fff0db;
    --text-color: #333;
    --heading-color: #8E1F8C;
    --btn-bg: #8E1F8C;
    --btn-border: #f8b803;
    --nav-color: #8E1F8C;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6, .mango-font {
    font-family: 'Fredoka', sans-serif;
    color: var(--heading-color);
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px #fff, -1px -1px 0px #661565, 1px -1px 0px #661565, -1px 1px 0px #661565, 1px 1px 0px #661565;
}

.secondary-heading {
    color: #432111;
    text-shadow: none;
    font-family: 'Fredoka', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative;
    z-index: 10;
}

.site-logo {
    width: 200px;
    height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #f7941d;
    text-align: left;
    line-height: .9;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #fff, -1px -1px 0px #0e2a14, 1px -1px 0px #0e2a14, -1px 1px 0px #0e2a14, 1px 1px 0px #0e2a14;
}

.logo-text span {
    display: block;
    color: #a4ce38;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--nav-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.search-icon {
    background-color: #fca034;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* General Button */
.btn {
    background-color: var(--btn-bg);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    border: 2px solid var(--btn-border);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0px 4px 10px rgba(0,0,0,0.2); }
    50% { transform: scale(1.05); box-shadow: 0px 6px 20px rgba(142, 31, 140, 0.4); } /* Updated for purple */
    100% { transform: scale(1); box-shadow: 0px 4px 10px rgba(0,0,0,0.2); }
}

.btn:hover {
    background-color: #661565;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0px 6px 15px rgba(0,0,0,0.3);
    animation: none; /* stop pulse on hover */
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 10%;
    min-height: 80vh;
    position: relative;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

/* Mango Floating Animation */
@keyframes float {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    33% { transform: translateY(-30px) scale(1.1) rotate(8deg); }
    66% { transform: translateY(15px) scale(0.95) rotate(-5deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes floatReverse {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    33% { transform: translateY(30px) scale(0.9) rotate(-8deg); }
    66% { transform: translateY(-15px) scale(1.1) rotate(5deg); }
    100% { transform: translateY(0) scale(1) rotate(0deg); }
}

.mango-img-container {
    position: relative;
    width: 50%;
    height: 500px;
    z-index: 1;
}

.anim-mango-highlight {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 400px;
    animation: highlightPop 4s ease-in-out infinite alternate;
    z-index: 2;
    filter: drop-shadow(0px 10px 15px rgba(0,0,0,0.4));
}

@keyframes highlightPop {
    0% { transform: scale(1) translateY(0px) rotate(0deg); }
    100% { transform: scale(1.05) translateY(-15px) rotate(3deg); }
}

.anim-mango-bg {
    position: absolute;
    bottom: -200px;
    width: 100%;
    left: 0;
    z-index: 3;
}


/* Wave curve separator */
.wave-container {
    position: relative;
    width: 100%;
    height: 150px;
    margin-top: -150px;
    z-index: 4;
}

.content-section {
    background-color: white;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 5;
}

.image-column {
    flex: 1;
}

.image-column img {
    width: 100%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
}

.anim-mango-box {
    animation: boxPop 3s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes boxPop {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.05) translateY(-10px); }
}

.text-column {
    flex: 1;
}

.text-column h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #432111;
}

.text-column p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Categories */
.category-options {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.anim-category {
    height: 40px;
    width: auto;
    object-fit: contain;
    animation: popIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

/* Contact Section */
.contact-section {
    padding: 40px 5% 80px;
    background-color: var(--primary-bg);
    display: flex;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #8E1F8C;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #8E1F8C;
}

/* Pre order text */
.pre-order-text {
    text-align: center;
    background-color: #a4ce38;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(164, 206, 56, 0.3);
}

/* Box selector styles */
.box-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.box-selector input[type="radio"] {
    display: none;
}

.box-selector label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #8E1F8C;
    border: 2px solid #8E1F8C;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0 !important;
}

.box-selector input[type="radio"]:checked + label {
    background-color: #8E1F8C;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(142, 31, 140, 0.5);
    border-color: #8E1F8C;
}

.box-selector label:hover {
    background-color: #a4ce38;
    color: #fff;
    border-color: #a4ce38;
}

/* Responsive */
@media (max-width: 991px) {
    .content-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .anim-heading {
        max-width: 90% !important;
        margin: 0 auto 20px;
        display: block;
    }
    .mango-img-container {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
    .anim-mango-highlight {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 280px;
        filter: drop-shadow(0px 5px 10px rgba(0,0,0,0.3));
    }
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }
    .site-logo {
        width: 160px;
        height: auto;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: 10px 20px;
        font-size: 1.1rem;
    }
    .category-options {
        justify-content: center;
    }
}

/* Heading Animations */
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    80% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.anim-heading {
    opacity: 0;
    animation: popIn 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.anim-heading-delayed {
    opacity: 0;
    animation: popIn 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

/* Footer Section */
.site-footer {
    background-color: #a4ce38;
    color: #fff;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Nunito', sans-serif;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact {
    font-size: 1.5rem;
    font-weight: 800;
    color: #000;
    font-family: 'Fredoka', sans-serif;
}

.footer-phone {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #8E1F8C;
}

.footer-phone i.fa-whatsapp {
    color: #25D366;
    font-size: 1.4rem;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8E1F8C;
}

.footer-links i.fa-globe, .footer-links i.fa-envelope {
    color: #8E1F8C;
    font-size: 1.3rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 35px;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .site-footer {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
}
/* Price Badge */
.price-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: #f8b803; /* Updated to yellowish */
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pricePop 3s ease-in-out infinite alternate;
    z-index: 10;
    font-family: 'Fredoka', sans-serif;
    border: 3px solid #fff;
}

@keyframes pricePop {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.15) rotate(5deg); }
}

/* Navbar Image */
.navbar-img {
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
    animation: navImgPulse 2s infinite ease-in-out;
}

@keyframes navImgPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(142, 31, 140, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 8px rgba(142, 31, 140, 0.4)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(142, 31, 140, 0)); }
}

/* Progress and Success Overlays */
.submission-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.submission-overlay.active {
    opacity: 1;
    visibility: visible;
}

.progress-container {
    text-align: center;
}

.circular-progress {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(142, 31, 140, 0.2);
    border-top: 8px solid #8E1F8C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-popup-content {
    background: white;
    padding: 20px;
    border-radius: 20px;
    max-width: 90%;
    width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.submission-overlay.active .success-popup-content {
    transform: scale(1);
}

.success-popup-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #8E1F8C;
    line-height: 1;
}

/* Dim overlay background */
.dim-overlay {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px);
}
