@font-face {
        font-family: '28 Days Later';
        src: url(./fonts/28-days-later/28\ Days\ Later.ttf);
}
@font-face {
    font-family: 'Kenyan Coffee Rg';
    src: url("./fonts/Kenyan Coffee/kenyan\ coffee\ rg.ttf");
    font-weight: 400;
}

body{
    margin:0;
    padding: 0;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    background: url("Images/background-img-edited-3.png") repeat center center fixed;
}
.header{
    position: absolute;
    width: 100%;
    height: 200px;
    background:#462A11 ;
    clip-path: polygon(0 0, 100% 0, 100% 60%, 80% 42%, 19% 42%, 0 60%);
    box-shadow: 10px 20px #ebc9ad ;
}
.rectangle{
    position: absolute;
    top:5.5%;
    left: 49.5%;
    transform: translate(-50%,-50%);
    width: 425px; 
    height: 150px;
    background: #462A11 ;
    border-radius: 17px;
}

.logo-pc{
    position: relative;
    height: 145px;
    width: 145px;
    background-image: url(./Images-new/KMS_LOGO.svg);
    background-repeat: no-repeat;
    background-size: contain;
    left:43.5%;
    top:25px;
    zoom:85%;
    border: 15px solid #462A11;
    border-radius: 50%;
}

.desktop-navbar{
    position: absolute;
    background-color: #462A11;
    color:#E2C8B0;
    font-family: '28 Days Later', sans-serif;
    width: 49%;
    height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 2px 50px;
    left: 22%;
    margin-top:90px;
    font-size: 17px;
}
.desktop-navbar:before {
        content: ' ';
        display: block;
        background: #462A11;
        width: 20px;
        height: 100%;
        position: absolute;
        top: 0;
        left: -10px;
        transform: skew(10deg);
        border-radius: 8px;
        z-index: -1;
      }
.desktop-navbar:after {
        content: ' ';
        display: block;
        background: #462A11;
        width: 20px;
        height: 100%;
        position: absolute;
        top: 0;
        right: -10px;
        transform: skew(-10deg);
        border-radius: 8px;
        z-index: -1;
      }
button{
    background: none;
	  color: inherit;
	  border: none;
	  padding: 0;
	  font: inherit;
	  cursor: pointer;
	  outline: inherit;
    font-family: '28 Days Later';
    display: flex;
    text-decoration: none;
    color: #E2C8B0;
}

/* Dropdown Menu */
   .dropdown {
  position: relative;
  display: inline-block;
  z-index: 5;
}

.dropdown-content {
  position: absolute;
  top: 185%;
  left: 0;
  background: rgb(251, 242, 232);
  min-width: 160px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  pointer-events: none;
  border-radius: 0.5rem;
  font-family: '28 Days Later', sans-serif;
}

.dropdown-content a {
  color: #000000;
  padding: 0.5rem 1rem;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background: #ffc99a;
}

.dropdown.active .dropdown-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/*-----------------This is the header section style for all the pages------------------*/
.cakes-title{
    position: relative;
    top: 70%;
    left: 40%;
    font-family: '28 Days Later';
    font-size: 25px;
    color: #100f0f;
    height:72px;
    background-color: #EFE2B9 ;
    width: 330px;
    border-radius: 15px;
    margin-top: 240px;
    margin-bottom: 140px;
}
.cakes-title h1{
    text-align: center;
    padding-top: 10px;
    margin-left: 20%;
}
.cakes-logo{
    position: relative;
    transform: translate(-45%,-95%);
    height: 150px;
    width: 150px;
    background-repeat: no-repeat;
    background-size: contain;
}
.cakes-logo .cakes-logo-img{
    height: 150px;
    width: 180px;
}

/*-----------------This is the items style for all the pages------------------*/
.parent-1, .parent-2, .parent-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 110px;    
  margin-bottom: 300px;
}
.parent-3{
  margin-bottom: 300px;
}

.card{
  flex: 1 1 287px; 
  aspect-ratio: 287 / 290;  
  max-width: 300px;
  min-width: 220px;
  border-radius: 7px;
  background-color: #EFE2B9;
  position: relative;
  background-size: 60%;
  background-position: center -50px;
}
.card {
  position: relative;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  will-change: transform, box-shadow;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease, transform 2s ease;
  transform: scale(0.8);
  pointer-events: none;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(124, 54, 0, 0.683);
}

.card1 {
    background: url(./Images-new/Black-forest.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card2 {
    background: url(./Images-new/Red\ Velvet\ Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
    background-position: center -16px;
}
.card3 {
    background: url(./Images-new/White\ Forest\ Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card4 {
    background: url(./Images-new/Strawberry-Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card5 {
    background: url(./Images-new/Chocolate-Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;

}
.card6 {
    background: url(./Images-new/Vanilla-Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card7 {
    background: url(./Images-new/Brownies.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
    background-position: center -30px;
}
.card8 {
    background: url(./Images-new/honey-cake.jpg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card9 {
    background: url(./Images-new/Tea-Cake.jpeg) no-repeat center;
    background-color: #EFE2B9;
    background-size: cover;
}
.card2 , .card5,.card8{
  position: relative;
  top:200px;
}
      
.foot {
    position: relative;
    height: 60px;
    font-size: 29px;
    font-family: 'Kenyan Coffee Rg',sans-serif;
    top:73.5%;
    background-color: #462A11;
    border-radius: 8px;
    color: white;
    text-align: center;
    padding: 10px;
}
.foot p{
    margin: 15px;
    padding:0;
}      

/*-----------------This is the foooter style for all the pages------------------*/
.footer {
  position: relative; 
  background: 
    url(../Images/footer-bg-edited.png) center/cover no-repeat,
    #211409;
  background-blend-mode: overlay;
  color: #fff;
  height: 30em;
  padding: 40px 20px;
  font-family: 'SF Pro Display', sans-serif;
  margin-top: 13%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  margin-left: 20%;
  margin-top: 3.5%;
}

.footer-logo {
  background: url(../Images/Logo-img.JPG) no-repeat center;
  background-size: cover;   
  width: 175px;
  height: 175px;
  position: absolute;   
  top: -115px;          
  left: 40px;          
  border: 5px solid #fff;
  border-radius: 50%;
}


.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  flex: 1;
}

.footer-column {
  min-width: 180px;
}


.footer-column h3 {
  font-size: 30px;
  font-family: '28 Days Later', sans-serif ;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #f3e0d6; 
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 16px;
  font-family: 'Helvetica Oblique', sans-serif;

}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}

.footer-column ul li a:hover {
  color: #f0c674;
}
.footer-column ul li:hover {
  color: #f0c674;
}

/* ========== PC Screen > 1080px ========== */
@media (min-width: 1081px) {
  .social-icons, .logo{
    display: none;
  }
  .navbar-mb, .logo-mb, logo-img {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .close-img{
    display: none;
  }
  .nav-menu{
    display: none;
  }
}

/* ========== Tablet Screens (768px – 1024px) ========== */
@media (min-width: 768px) and (max-width: 1080px) {
  .header {
    height: 10em;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 80% 47%, 19% 47%, 0 65%);
  }
  .navbar{
    margin-top: 2em;
  }
  .parent-1, .parent-2, .parent-3 {
    gap: 2.3em;
  }

  .card{
    flex: 1 1 220px; 
    aspect-ratio: 210 / 240;
    max-width: 220px;
    min-width: 180px;
    background-size: 65%;
    max-height:240px;
    background-size: cover;
  }
  .navbar {
    top:35%;
    font-size: 1.8vw; 
    gap: 60px;
  }
  a{
    font-family: '28 Days Later';
    display: flex;
    text-decoration: none;
    color: #E2C8B0;
 }
  .cakes-title {
    font-size: 22px;
    width: 30%;
    height:65px;
  }
  .cakes-logo {
    transform: translate(-45%,-105%);
    height: 120px;
    width: 120px;
  }
  .cakes-logo .cakes-logo-img{
    height: 110%;
    width: 130%;
  }

  .foot {
    font-size: 24px;
  }
  .footer {
    height: 500px;
    padding: 30px 20px;
  }
   .logo{
    display: none;
  }
  .navbar-mb, .logo-mb, .logo-img {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .close-img{
    display: none;
  }
  .nav-menu{
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1000px){
  .logo-pc{
    position: relative;
    height: 152px;
    width: 152px;
    left:42.5%;
  }
  .rectangle{
    left: 49.5%;
    width: 400px;
    height: 140px;
  }
}

@media (min-width: 768px) and (max-width: 830px){
  .cakes-logo {
    transform: translate(-55%,-105%);
    height: 115px;
    width: 115px;
  }
  .cakes-logo .cakes-logo-img{
    height: 105%;
    width: 125%;
  }
}
/* ========== Mobile Screens (767px) ========== */
@media (max-width: 767px) {
  .navbar-mb {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 16px 56px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px 2px rgba(33, 33, 33, 0.015);
  }
  .desktop-menu {
    display: none;
  }
  .mob-menu-container,
  .mob-menu-wrap {
    display: none;
  }

  .displayon {
    display: block;
  }

  .mobile-menu {
    display: flex;
    top: 0;
    overflow: hidden;
    flex-direction: row;
    padding: 16px 26px;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.075);
  }

  .mobile-menu button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    text-transform: uppercase;
  }

  .mob-menu-container {
    background: rgba(170, 41, 41, 0);
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .mob-menu-container .close-img {
    width: 22px;
    position: fixed;
    z-index: 3;
    top: 22px;
    left: 28px;
    cursor: pointer;
  }

  .header,
  .rectangle,
  .logo-pc {
    display: none;
  }

  .mob-menu-wrap {
    width: 80%;
    background: rgba(157, 150, 150, 0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: -2px 0 20px 10px rgba(0, 0, 0, 0.045);
    z-index: 2;
    height: 100%;
    position: fixed;
    right: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }
  .mob-menu-wrap.displayon {
    display: block;
  }
  .mob-menu-wrap.active {
    transform: translateX(0);
  }
  .menu-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    height: 100%;
    width: 100%;
  }

  .menu-items {
    margin-top: 40px;
  }

  .menu-items ul {
    padding: 0;
    text-align: center;
  }

  .menu-items ul li {
    list-style-type: none;
    margin: 70px;
  }

  .menu-items ul li a {
    text-decoration: none;
    color: #000000;
  }
.dropdown-mb {
  position: relative;
  color: #000000;
}

.dropdown-mb-content {
  display: none;
  color: #000000;
  flex-direction: column;
  margin-top: 15px;
}

.dropdown-mb-content a {
  padding: 14px 20px;
  text-decoration: none;
  display: block;
}
.dropdown-mb.active .dropdown-mb-content {
  display: flex;
}

.dropdown-mb-content {
  max-height: 0;
  /* overflow: hidden; */
  transition: max-height 0.5s ease;
}

.dropdown-mb.active .dropdown-mb-content {
  display: flex;
  max-height: 400px;
}

.mob-menu-wrap::-webkit-scrollbar {
  width: 6px;
}
.mob-menu-wrap::-webkit-scrollbar-thumb {
  border-radius: 10px;
}

  .desktop-navbar {
    display: none;
  }
  .parent-1, .parent-2, .parent-3 {
    gap: 2em;
  }

  .card{
    flex: 1; 
    aspect-ratio: 150 / 170;
    max-width: 200px;
    min-width: 180px;
    background-size: 65%;
    max-height:210px;
    background-size: cover;
  }
  .navbar {
    top:35%;
    font-size: 1.8vw; 
    gap: 60px;
  }
  a{
    font-family: '28 Days Later';
    display: flex;
    text-decoration: none;
    color: #E2C8B0;
}

  .cakes-title {
    margin-top:20%;
    font-size: 1.2em;
    width: 35%;
    height:65px;
  }

  .cakes-logo {
    transform: translate(-45%,-95%);
    height: 110px;
    width: 120px;
  }
  .cakes-logo .cakes-logo-img{
    height: 110px;
    width: 135px;
  }
 .foot {
    font-size: 20px;
    height: 30px;
    top:75.9%;
  }
  .foot p {
    margin: 5px;
  }
  .footer {
    height: 500px;
    padding: 30px 20px;
  }
  .footer-column ul li {
        font-family: 'Helvetica Oblique', sans-serif;
  }
    .footer-column ul li a {
        font-family: 'Helvetica Oblique', sans-serif;
  }
}
/* for medium screens */
@media (min-width:550px) and (max-width:610px){
  .mobile-menu{
    height: 5.5em;
  }
  .logo-mb{
    width:80px;
    height:80px;
  }
  .parent-1, .parent-2, .parent-3 {
    gap: 1em;
  }
  .card {
    flex: 1; 
    aspect-ratio: 100 / 120;
    max-width: 150px;
    min-width: 170px;
    background-size: 65%;
    max-height:210px;
    background-size: cover;
  }
  .card8{
    margin-bottom: 100px;
  }
  .footer {
    margin-top:40%;
    height:max-content;
  }
  .footer-logo {
  width: 150px;;  
  height: 150px;
  position: absolute;   
  top: -115px;          
  left: 30px;          
  border: 5px solid #fff;
  border-radius: 50%;
}
}

@media (max-width: 549px){
  .mobile-menu{
    height: 5em;
  }
  .mobile-menu svg{
    height: 2.5em;
    width: 4em;
  }
  .logo-mb{
    width:75px;
    height:75px;
  }
  .parent-1, .parent-2, .parent-3 {
    width: 100%;
    display: flex;
    flex-direction: column; 
    gap: 3em;               
    align-items: center;     
    margin-bottom: 3em;      
  }
  .card {
    flex: none;
    width: 80%;
    max-width: 200px;    
    min-width: 150px;
    height: auto;  
    gap:3em;
  }
  .card2 , .card5,.card8{
  position: relative;
  top:0px;
  }
  .cakes-title{
    width:40%;
  }
  .cakes-logo {
    transform: translate(-55%,-100%);
    height: 100px;
    width: 110px;
  }
  .cakes-logo .cakes-logo-img{
    height: 100px;
    width: 125px;
  }
  .foot {
    font-size: 16px;
    height: 30px;
    top:75.9%;
  }
  .foot p {
    margin: 5px;
  }
  .footer {
    margin-top:40%;
    width:100vm;
    height: 120%;
  }
  .footer-logo {
  width: 100px;  
  height: 100px;
  position: absolute;   
  top: -50px;          
  left: 20px;          
  border: 5px solid #fff;
  border-radius: 50%;
}
}
@media (max-width: 440px){
  .cakes-logo {
    transform: translate(-65%,-105%);
    height: 95px;
    width: 105px;
  }
  .cakes-logo .cakes-logo-img{
    height: 95px;
    width: 120px;
  }
  .cakes-title h1{
    padding-top:11px;
    margin-top: 10px;
}
  .cakes-title{
    height: 60px;
    width: 40%;
    padding-top: 0px;
  }
}
@media (max-width: 400px){
  .cakes-logo {
    transform: translate(-60%,-90%);
    height: 85px;
    width: 95px;
  }
  .cakes-logo .cakes-logo-img{
    height: 85px;
    width: 110px;
  }
  .cakes-title h1{
    padding-top:11px;
    font-size: 1.5em;
    margin-top: 10px;
}
  .cakes-title{
    height: 50px;
    font-size: 1em;
    width: 40%;
    padding-top: 0px;
  }
}

