/* ================= GLOBAL SAFETY FIX ================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'poppins', 'sans-sarif';
    margin: 0;
    padding: 0;
    background: var(--vanilla-bg);
}

/* ================= 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: visible;
}

/* ================= NAV FIX ================= */
.hero nav {
    font-family: 'poppins','sans-sarif';
    position: relative ;
    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;
}




/* 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;
margin-top: 5px;
    top: 100%;          /* 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: 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: 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.3), rgba(0,0,0,0.4)), url("../images/mka.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: visible;     
       /* ⭐ 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: visiblew;
    }

}


/* ================= 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 > a::after{
        content:"▼";
        font-size:12px;
        margin-left:10px;
    }

    .dropdown-sub > a::after{
        content:"▶";
        font-size:12px;
        margin-left:10px;
    }

    .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;
  }

  /* 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;
    }

}


         
         
/* ================= PAGE BACKGROUND ================= */
body {
    margin: 0;
    font-family: 'poppins', sans-serif;
    background:white;
}
/* ================= PHOTO SECTION WRAPPER ================= */
.photo-section {
    background:white;
    padding-bottom: 5px;
}
/* ================= TITLE ================= */
.photo-title {
    font-family: 'poppins','sans-serif';
    text-align: center;
    font-size: 30px;
    color:goldenrod;   /* golden */
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0,0,0,0.15);
    margin-top: 10px;
}

.photo-title::after {
    content: "";
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #ffb6c1, #ffd700);
    display: block;
    margin: 10px auto;
    border-radius: 5px;
}
/* ================= GRID WRAPPER ================= */
.photo-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* ================= CARD ================= */
.photo-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.4s ease;
color: #000;
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: #fff;
}

/* HOVER EFFECT */
.photo-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 40px rgba(184, 134, 11, 0.35);
    border: 2px solid gold;
}

/* IMAGE */
.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s ease;
}

/* IMAGE ZOOM */
.photo-card:hover img {
    transform: scale(1.1);
}

/* ================= OVERLAY ================= */
.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
font-family: 'poppins','sans-sarif';
    padding: 12px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0)
    );

    color: black;
    font-weight: 700;
    font-size: 17px;
    text-align: center;

    letter-spacing: 0.5px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .photo-title {
        font-size: 28px;
    }

    .photo-card img {
        height: 180px;
    }
}