
/* ================= GLOBAL SAFETY FIX ================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'poppins', 'sans-sarif';
    margin: 0;
    padding: 0;
    background: var(--vanilla-bg);
    overflow-x: hidden;   /* ✅ prevents horizontal overlap */
font-weight: 600;
}

/* ================= FORCE PAGE FLOW RESET ================= */
main, section {
    width: 100%;
    display: block;
    position: relative;
}

/* ================= HERO FIX (MOST IMPORTANT) ================= */
.hero {
    width: 100%;
    display: flex;
    flex-direction: column;

    padding: 20px 5% 60px;
    margin: 0;

    background: linear-gradient(135deg, var(--dark-bg), var(--gold-dark));
    color: var(--text-light);

    min-height: auto;
    overflow: hidden;
}

/* ================= NAV FIX ================= */
.hero nav {
    font-family: 'poppins','sans-sarif';
    position: relative !important;  /* 🔥 FORCE override */
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px 0;
    right: -60px;
    font-size: 16px;
    font-weight: 600;
}

/* NAV LIST */
.hero nav ul {
    display: flex;
    flex-wrap: wrap;  /* ✅ prevents overflow */
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}



/* ================= SECTION GAP FIX ================= */
section {
    margin-bottom: 40px;
}

/* LINKS */
.hero nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;

    padding: 6px 8px;
    transition: 0.3s;
right:-60px;

    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* HOVER MAIN LINK */
.hero nav ul li a:hover {
    color: rgb(241, 241, 28);
    transform: translateY(-2px);
}

/* ================= DROPDOWN ================= */
.hero nav ul li {
    position: relative;
}




.hero .dropdown-menu {
    display: none;
    position: absolute;

    top: 140%;          /* parent ke niche */
    left: 50%;          /* center point */
    transform: translateX(-50%);  /* exact center */

    min-width: 220px;
    background: #fff;

    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 8px 0;
    z-index: 9999;
}



/* show dropdown */
.hero .dropdown:hover > .dropdown-menu {
    display: block;
}

/* dropdown items */
.hero .dropdown-menu li a {
    color: #2b1a0f;
    text-shadow: none;

    display: block;
    padding: 10px 15px;
}

/* ⭐ ICECREAM PINK HOVER */
.hero .dropdown-menu li a:hover {


     background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}




/* ================= SUBMENU ================= */
.hero .dropdown-sub {
    position: relative;
}

/* submenu box */
.hero .submenu {
    display: none;
    position: absolute;
    top: 0;
    right: auto;
left:100%;
    min-width: 200px;
    background: #fff;

    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* show submenu */
.hero .dropdown-sub:hover > .submenu {
    display: block;
}

/* submenu items */
.hero .submenu li a {
    display: block;
    padding: 10px 15px;
    color: #2b1a0f;
    text-shadow: none;
}

/* ⭐ ICECREAM PINK HOVER SUBMENU */
.hero .submenu li a:hover {
        background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}




/* Hero Section */
.hero {
 
    justify-content: flex-start; /* text left, image right */
    padding: 13px 5%;
  background-image: url("../images/corn.jpg");
       background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.5)), url("../images/corn.jpg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    position: relative;
    display: flex;
    align-items: center;      /* vertical alignment fix */
    justify-content: space-between;

    min-height: 60vh;         /* controlled height */
    overflow: hidden;     
       /* ⭐ prevents topbar overlap */
         height: 700px;    
         
}      
    

     
/* =========================================
   MOBILE RESPONSIVE ONLY
   LAPTOP / DESKTOP PAR KOI EFFECT NAHI
========================================= */

@media screen and (max-width: 900px) {

    /* HERO SECTION */
    .hero {

        display: flex;
        flex-direction: column;

        justify-content: center;
        align-items: center;

        text-align: center;

        height: auto;
        min-height: auto;

        padding: 120px 20px 353px;

        overflow: hidden;
    }

}


/* ================= DESKTOP (DEFAULT) ================= */
.hamburger {
    display: none;   /* 🔥 laptop me hide */
}



@media screen and (max-width: 900px) {

    /* ================= HAMBURGER ================= */
    .hamburger {

        display: flex;

        flex-direction: column;
        gap: 5px;

        cursor: pointer;

        position: absolute;

        top: -90px;
        right: 50px;

        z-index: 100000;
    }

    .hamburger span {

        width: 28px;
        height: 3px;

        background: #fff;

        border-radius: 5px;

        display: block;
    }

    /* ================= MENU ================= */
    .menu {

        position: fixed;

        top: 74px;
        left: -100%;

        width: 80%;
height: calc(100vh - 147px); /* 🔥 bottom space kam feel hoga */
        background: linear-gradient(135deg, #2b1a0f, #b8860b);

        display: flex;
        flex-direction: column;

        overflow-y: auto;

        transition: 0.3s ease;

        z-index: 99999;
        max-height: 67vh;   /* 👈 yaha control karo (try 60-70vh) */

        padding-top: 20px;
    }
    .menu.active {
        left: 0;
    }
/* MENU SCROLLBAR HIDE (KEEP SCROLL WORKING) */
.menu {
    overflow-y: auto;   /* scroll chalega */
    scrollbar-width: none; /* Firefox */
}

/* Chrome, Edge, Safari */
.menu::-webkit-scrollbar {
    display: none;
}
    /* ================= MENU ITEMS ================= */
    .menu li {

        width: 100%;

        padding: 0;
        list-style: none;
    }

    /* ================= LINKS ================= */
    .menu li a {

        color: #fff;

        display: block;

        padding: 14px 18px;

        text-decoration: none;
    }

    /* ================= REMOVE DESKTOP HOVER ================= */
    .dropdown:hover > .dropdown-menu,
    .dropdown-sub:hover > .submenu {

        display: none !important;
    }

    /* ================= DROPDOWN ================= */
    .dropdown-menu {

        display: none;

        position: static !important;

        width: 100%;

        background: rgba(255,255,255,0.08);

        padding-left: 10px;

        box-shadow: none;

        border-radius: 0;
    }

    .dropdown.open > .dropdown-menu {

        display: block !important;
    }

    /* ================= SUBMENU ================= */
    .submenu {

        display: none;

        position: static !important;

        width: 100%;

        margin-left: 0 !important;

        margin-top: 5px;

        padding-left: 15px;

        background: rgba(255,255,255,0.05);

        border-left: 2px solid rgba(255,255,255,0.3);

        box-shadow: none;
    }

    .dropdown-sub.open > .submenu {

        display: block !important;
    }
}

@media screen and (max-width: 900px) {

  /* 🔥 FORCE RESET EVERYTHING RELATED TO SIDE POSITION */
  .dropdown-menu,
  .submenu {

    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;

    transform: none !important;

    width: 100% !important;

    float: none !important;
  }

  /* dropdown behavior */
  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .dropdown-sub.open > .submenu {
    display: block !important;
  }

    .dropdown > a::after{
        content:"▼";
        font-size:12px;
        margin-left:10px;
    }

    .dropdown-sub > a::after{
        content:"▶";
        font-size:12px;
        margin-left:10px;
    }

  /* remove any side effects */
  .hero .submenu {
    margin-left: 0 !important;
  }
}
/* REMOVE BOX */
.hero-content {
  
 position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* perfect center */

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    z-index: 2;
    margin-top: -20px;   /* 👈 top se gap control */

}

/* TEXT STYLE */
.hero-title {
    font-family: 'poppins', 'sans-serif';
    font-size: 70px;
    color: #f6f5f4;
    text-align: center;

    /* DARK SHADOW (background readable banane ke liye) */
    text-shadow:
        0 0 5px rgba(0,0,0,0.8),
        0 0 10px rgba(49, 47, 47, 0.7),
        0 0 20px rgba(212,175,55,0.6),
        0 0 30px rgba(173,216,230,0.4);
}

/* ================= MOBILE RESPONSIVE ONLY ================= */
@media screen and (max-width: 768px) {

    .hero-content {

        top: 50%;                 /* 👈 mobile me neeche */
        left: 50%;

        transform: translate(-50%, -50%);

        width: 90%;
        padding: 0 15px;

        margin-top: 0;            /* desktop margin remove */

        text-align: center;
    }

    .hero-title {

        font-size: 34px;          /* mobile font size */
        line-height: 1.3;

        word-break: break-word;
    }

}


    
    
    /* jitna cut chahiye *//* ================= SECTION ================= */
.about-product {
    width: 90%;
    margin: 60px auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

/* ================= IMAGE ================= */
.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ================= CONTENT ================= */
.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 30px;
    color: #3b2a14;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* HIGHLIGHT TEXT */
.highlight {
    color: #ff9800;
    font-size: 20px;
    margin-top: 10px;
}

/* DELIVERY TEXT */
.delivery {
    font-weight: bold;
    color: #333;
}

/* ================= HOVER EFFECT ================= */
.about-img img:hover {
    transform: scale(1.03);
    transition: 0.3s ease;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .about-product {
        flex-direction: column;
        text-align: center;
    }

    .about-img img {
        height: 250px;
    }
}
.gallery {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.img-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
}

/* IMAGE FIX SIZE */
.img-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

/* NAME (IMPORTANT) */
.product-name {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
    padding: 0 10px;
    font-weight: 600;
}

/* HOVER */
.img-card:hover img {
    transform: translate(-8px, -5px);
    transition: 0.3s;
}



    /* ================= SECTION ================= */
.cta-section {
    padding: 60px 20px;
    text-align: center;

    background: linear-gradient(135deg, #fff0f5, #eaf6ff); /* 🍦 ice mix */

    display: flex;
    flex-direction: column;
    align-items: center;   /* 🔥 full center */
    justify-content: center;
}

/* ================= TEXT ================= */
.delivery-text {
    font-size: 17px;
    margin-bottom: 25px;
    color: #2b1a0f;
    font-weight: 600;
    text-align: center;

    max-width: 600px;
}

/* ================= BUTTON GROUP ================= */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;

    justify-content: center;   /* 🔥 IMPORTANT (center fix) */
    align-items: center;
}

/* ================= BASE BUTTON ================= */
.btn {
    padding: 12px 24px;
    border-radius: 30px;

    text-decoration: none;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
}

/* ================= ORDER BUTTON ================= */
.order-btn {
    background: linear-gradient(135deg, #d4af37, #f7e7a6);
    color: #2b1a0f;

    box-shadow: 0 6px 15px rgba(212,175,55,0.3);
}

/* ================= VISIT BUTTON ================= */
.visit-btn {
    background: #ffffff;
    color: #2b1a0f;

    border: 2px solid #d4af37;
}

/* ================= HOVER ================= */
.btn:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 25px rgba(212,175,55,0.35);

    background: linear-gradient(135deg, #ffe082, #cdff4f);
    color: #2b1a0f;
}

/* ================= CLICK ================= */
.btn:active {
    transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {
    .btn {
        width: 100%;   /* 🔥 full width buttons mobile */
    }
}




/* ================= SECTION ================= */
.info-section {
    width: 90%;
    margin: 50px auto;
}

/* ================= HEADINGS ================= */
.info-section h2 {
    font-size: 28px;
    color: #3b2a14;
    margin-bottom: 15px;
}

.sub-title {
    margin-top: 25px;
    font-size: 22px;
    color: #ff9800;
}

/* ================= TEXT ================= */
.info-section p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* ================= HIGHLIGHT ================= */
.highlight {
    color: #ff9800;
    font-weight: 600;
}

/* ================= LIST ================= */
.product-list {
    margin-top: 15px;
    padding-left: 0;
    list-style: none;
}

.product-list li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICON STYLE */
.product-list li span {
    font-size: 20px;
}

/* ================= HOVER EFFECT ================= */
.product-list li:hover {
    color: #ff9800;
    transform: translateX(5px);
    transition: 0.3s;
}/* ================= SECTION TITLE ================= */
.section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin: 30px 0 20px;
    color: #222;
    padding: 0 10px;
}

/* ================= PRODUCT GRID ================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* ================= PRODUCT CARD ================= */
.img-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* HOVER EFFECT */
.img-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* PRODUCT IMAGE */
.img-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* PRODUCT NAME */
.product-name {
    font-size: 16px;
    font-weight: 600;
    padding: 12px;
    color: #333;
}