@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= GLOBAL RESET ================= */
* {
  font-family: 'poppins';
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: visible;
    font-family: 'poppins', sans-serif;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;

        background-image: url("../images/mka.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;
    color: var(--text-light);
    position: relative;
    display: flex;
    justify-content: space-between;

    min-height: 68vh;         /* controlled height */
    overflow: hidden;     
       /* ⭐ prevents topbar overlap */
         height: 700px;        /* jitna cut chahiye */
}


@media screen and (max-width: 768px) {

  .hero {
    min-height: 68vh;        /* mobile optimized height */
    height: auto;            /* prevent overflow */
    background-position: center;
    background-size: cover;

    flex-direction: column;  /* stack content vertically */
    justify-content: center;
    align-items: center;

    padding: 20px 10px;
  }

}

/* ================= DESKTOP (DEFAULT) ================= */
.hamburger {
    display: none;   /* 🔥 laptop me hide */
}



@media screen and (max-width: 900px) {

   .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;

    position: absolute;

    top: -200px;   /* FIX */
    right: 10px;

    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 - 160px); /* 🔥 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-size: 70px;
    color: #f5f5f3;
    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;
    }

}

/* ================= NAVIGATION ================= */
.hero nav {
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    font-family: 'poppins','sans-sarif';
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    position: absolute;
    z-index: 100;
    padding: 10px 0;
    right: 20px;
}

.hero nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero nav ul li {
    position: relative;
}

.hero nav ul li a {
    margin-top: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    padding: 6px 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.hero nav ul li a:hover {
    color: rgb(241, 241, 28);
    transform: translateY(-2px);
}

/* ================= DROPDOWN ================= */
.hero .dropdown-menu,
.hero .submenu {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
}

.hero .dropdown-menu {
    top: 100%;
    left: 0;
    min-width: 200px;
}

.hero .submenu {
    top: 0;
    left: 100%;
    min-width: 180px;
}

.hero .dropdown:hover > .dropdown-menu,
.hero .dropdown-sub:hover > .submenu {
    display: block;
}

.hero .dropdown-menu li a,
.hero .submenu li a {
    display: block;
    padding: 10px 18px;
    color: #2b1a0f;
    text-shadow: none;
}

.hero .dropdown-menu li a:hover {
   background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}

.hero .submenu li a:hover {
    background: #be5462;   /* icecream pink */
    color: #ffd700 !important;   /* strong gold yellow */

  color: rgb(241, 241, 28);
    transform: translateY(-2px);}


/* ================= SECTION TITLES ================= */
.section-title {
    font-family: 'poppins','sans-sarif';
    text-align: center;
    font-size: 30px;
    margin: 20px 0;
    color:goldenrod;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: "";
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #ffb6c1, #ffd700);
    display: block;
    margin: 10px auto;
    border-radius: 5px;
}
/* ================= GALLERY WRAPPER ================= */
.gallery {
    margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 30px 5%;
  background: linear-gradient(135deg, #fffaf0, #fff);

  transition: all 0.4s ease;

  /* ⭐ NEW ANIMATION */
  animation: floatTilt 6s ease-in-out infinite;

}

.gallery-item {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;

  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 2px solid rgba(212,175,55,0.25);

/* ⭐ KEYFRAMES: left → right subtle tilt */
@keyframes floatTilt {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  25% {
    transform: translateX(10px) rotate(1deg);   /* right tilt */
  }

  50% {
    transform: translateX(0) rotate(0deg);
  }

  75% {
    transform: translateX(-10px) rotate(-1deg); /* left tilt */
  }

  100% {
    transform: translateX(0) rotate(0deg);
  }
}
}
    






/* ================= IMAGE ================= */
.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: 0.4s ease;
}

    

/* ================= TITLE ================= */
.gallery-item h3 {
  font-size: 18px;
  margin: 15px 15px 5px;
  color: #b8860b; /* GOLD */
  font-weight: 700;
}

/* ================= DESCRIPTION ================= */
.gallery-item p {
  font-size: 14px;
  margin: 0 15px 20px;
  color: #555;
  line-height: 1.5;
}

/* ================= SECTION TITLE STYLE (optional) ================= */
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 30px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 120px;

    height: 4px;
  background: linear-gradient(90deg, #d4af37, #f5e7a3);
  display: block;
  margin: 10px auto;
  border-radius: 5px;
@keyframes floatTilt {
  0% {
    transform: translateX(0) rotate(0deg);
  }

  25% {
    transform: translateX(10px) rotate(1deg);   /* right tilt */
  }
}}

/* ================= 700px TO 900px RESPONSIVE ================= */

@media screen and (min-width:700px) and (max-width:900px){

    /* HERO */
    .hero{
        min-height:70vh;
        height:auto;

        padding:30px 20px;

        background-position:center;
        background-size:cover;

        flex-direction:column;
        justify-content:flex-start;
        align-items:center;
    }

    /* NAVIGATION */
    .hero nav{

        width:100%;

        position:absolute;

        top:0;
        left:0;

        padding:15px 20px;

        display:flex;
        justify-content:flex-end;
        align-items:center;

        z-index:99999;
    }

    /* HAMBURGER SHOW */
    .hamburger{

        display:flex;

        flex-direction:column;

        gap:5px;

        position:absolute;

        top:20px;
        right:20px;

        cursor:pointer;

        z-index:100000;
    }

    .hamburger span{

        width:30px;
        height:3px;

        background:#fff;

        border-radius:5px;
    }

    /* MENU */
    .menu{

        position:fixed;

        top:70px;
        left:-100%;

        width:320px;

        height:calc(100vh - 70px);

        background:linear-gradient(135deg,#2b1a0f,#b8860b);

        display:flex;

        flex-direction:column;

        padding-top:20px;

        overflow-y:auto;

        transition:0.3s ease;

        z-index:99999;
    }

    .menu.active{
        left:0;
    }

    /* MENU ITEMS */
    .menu li{
        width:100%;
        list-style:none;
    }

    .menu li a{

        display:block;

        color:#fff;

        padding:14px 20px;

        text-decoration:none;

        font-size:16px;
    }

    /* DROPDOWN */
    .dropdown-menu,
    .submenu{

        display:none;

        position:static !important;

        width:100%;

        background:rgba(255,255,255,0.08);

        box-shadow:none;

        border-radius:0;

        padding-left:10px;
    }

    .dropdown.open > .dropdown-menu{
        display:block !important;
    }

    .dropdown-sub.open > .submenu{
        display:block !important;
    }

    /* REMOVE HOVER */
    .dropdown:hover > .dropdown-menu,
    .dropdown-sub:hover > .submenu{
        display:none !important;
    }

    /* HERO CONTENT */
    .hero-content{

        width:90%;

        top:50%;
        left:50%;

        transform:translate(-50%,-50%);

        text-align:center;

        margin-top:0;
    }

    .hero-title{

        font-size:48px;

        line-height:1.3;
    }

    /* GALLERY */
    .gallery{

        grid-template-columns:
        repeat(auto-fit,minmax(240px,1fr));

        gap:20px;

        padding:25px;
    }

    .gallery-item img{
        height:320px;
    }

}