/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #ff9800;
    --secondary: #ff5722;
    --light: #fff8e1;
    --dark: #5d4037;
    --accent: #4caf50;
    --text: #333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

body {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

section {
    padding: 100px 0;
    position: relative;
}

h1,
h2,
h3,
h4 {
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 700;
}

h2 {
    font-size: 3rem;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--dark), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

h2:after {
    content: '';
    position: absolute;
    width: 120px;
    height: 5px;
    background: var(--gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.3);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.4);
}

.btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.btn:hover:after {
    left: 100%;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.header-scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.logo:hover img {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    font-size: 1.1rem;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 3px;
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background: url('assets/Banner.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}
.mobile-device .hero {
    background: url('assets/Banner3.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .hero {
        background: url('assets/Banner3.png');
    }
}


.hero .btn {
    margin-top: 540px; /* adjust as needed */
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(93, 64, 55, 0.95) 100%);
}

.hero-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 60px;
    border-radius: 25px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
     margin-top: 150px; /* adjust this value */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero h1 {
    font-size: 4rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to right, white, #ffe0b2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    color: rgb(255, 187, 0);
    line-height: 1.8;
}

/* Products Section */
.category {
    margin-bottom: 90px;
    position: relative;
}

.category h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    padding-bottom: 20px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.product-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover:before {
    transform: scaleX(1);
}

.product-img {
    height: 300px;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fffaf0;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-img {
    transform: scale(1.15) rotate(5deg);
}

.product-content {
    padding: 30px;
    position: relative;
    background: white;
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.product-price {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price:before {
    content: '💰';
    font-size: 1.4rem;
}

.product-volume {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.product-volume:before {
    content: '📏';
}

.product-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-tag {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Product Page Styles */
.product-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.product-page.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.product-modal {
    background: white;
    max-width: 900px;
    width: 90%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    animation: modalSlideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--gradient);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.3);
}

.close-modal:hover {
    background: var(--secondary);
    transform: rotate(180deg) scale(1.1);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
}

.modal-image {
    height: 450px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--light);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.modal-image:hover {
    transform: scale(1.05);
}

.modal-info h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.modal-info h2:after {
    left: 0;
    transform: none;
    width: 100px;
}

.price-tag {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 800;
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-tag .volume {
    font-size: 1.2rem;
    color: #666;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 20px;
}

.rating {
    color: #FFD700;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.rating span {
    color: #666;
    margin-left: 15px;
    font-size: 1.1rem;
}

.ingredients {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

.ingredients h4 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.4rem;
}

.ingredients ul {
    list-style: none;
    padding-left: 25px;
}

.ingredients li {
    margin-bottom: 12px;
    position: relative;
    font-size: 1.1rem;
    color: #555;
}

.ingredients li:before {
    content: '🍨';
    position: absolute;
    left: -25px;
    top: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #3e2723 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-about p {
    margin-bottom: 25px;
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-contact h4,
.footer-social h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 15px;
}

.footer-contact h4:after,
.footer-social h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary);
    width: 25px;
    font-size: 1.2rem;
}

li a {
    color: #d1c4e9;
    text-decoration: none;
    transition: var(--transition);
}

li a:hover {
    color: var(--primary);
    text-decoration: underline;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-size: 1.3rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-10px) rotate(15deg);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 1rem;
}

/* Floating elements - Enhanced */
.floating-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    opacity: 0.3;
    filter: drop-shadow(0 0 10px rgba(255, 152, 0, 0.3));
    z-index: 1;
}

/* Create different floating animations */
.float-1 {
    animation: float1 80s infinite linear;
}

.float-2 {
    animation: float2 100s infinite linear;
}

.float-3 {
    animation: float3 120s infinite linear;
}

.float-4 {
    animation: float4 140s infinite linear;
}

.float-5 {
    animation: float5 160s infinite linear;
}

@keyframes float1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100vw, -100vh) rotate(360deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(100vw, 100vh) rotate(0deg);
    }

    100% {
        transform: translate(-100vw, -100vh) rotate(-360deg);
    }
}

@keyframes float3 {
    0% {
        transform: translate(50vw, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(0, 100vh) scale(1.5) rotate(180deg);
    }

    100% {
        transform: translate(100vw, 0) scale(1) rotate(360deg);
    }
}

@keyframes float4 {
    0% {
        transform: translate(0, 100vh) rotate(0deg);
    }

    100% {
        transform: translate(100vw, 0) rotate(360deg);
    }
}

@keyframes float5 {
    0% {
        transform: translate(100vw, 0) rotate(0deg);
    }

    100% {
        transform: translate(0, 100vh) rotate(360deg);
    }
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    box-shadow: 0 0 30px rgba(255, 152, 0, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #fff8e1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 6px;
    border: 3px solid #fff8e1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* About Section Enhancement */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-box {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.feature-box i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .product-modal-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .modal-image {
        height: 350px;
    }

    .category h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    nav {
        width: 100%;
        order: 3;
        margin-top: 20px;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 25px;
        box-shadow: var(--shadow);
        border-radius: 0 0 20px 20px;
    }

    nav.active {
        display: block;
        animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    nav ul {
        flex-direction: column;
        padding: 0;
    }

    nav ul li {
        margin: 15px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        margin-top: 120px;
        padding: 30px 20px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 40px 25px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    section {
        padding: 70px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-modal-content {
        padding: 30px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .category h3 {
        font-size: 1.8rem;
    }

    .product-card {
        margin: 0 10px;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .price-tag {
        font-size: 2rem;
    }

    .modal-info h2 {
        font-size: 2rem;
    }
}
