/* Start global style*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins";
}
/* the varible*/
:root {
  /*color*/
  --white-color: #fff;
  --dark-color: #231313;
  --primary-color: #83283a;
  --secondary-color: #4cee07;
  --medium-gray-color: #ccc;
  /*Font size */
  --font-size-s: 0.9rem;
  --font-size-n: 1rem;
  --font-size-m: 1.12rem;
  --font-size-l: 1.5rem;
  --font-size-xl: 2rem;
  --font-size-xxl: 2.3rem;
  /* font weight*/
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 700;
  --font-weight-bold: 8 00;
  /* Border radius  */
  --border-radius-s: 8px;
  --border-radius-m: 30px;
  --border-radius-circle: 50%;
  /* Site max size */
  --site-max-size: 1300px;
}

/* End global style*/
/* Start The header  */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 15px 0;
  background: transparent;
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  padding: 10px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(131, 40, 58, 0.1);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--site-max-size);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-size: var(--font-size-l);
  font-weight: var(--font-weight-bold);
  transition: transform 0.3s ease;
}

.main-header.scrolled .logo {
  color: var(--primary-color);
}

.logo i {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.span-header {
  font-family: "Miniver", cursive;
  margin: 0;
}

.span-header span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-link {
  color: #444;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-n);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.main-header:not(.scrolled) .nav-link {
  color: var(--white-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.main-header.scrolled .nav-link {
  color: var(--dark-color);
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(131, 40, 58, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.login-btn {
  padding: 8px 25px;
  background: var(--primary-color);
  color: var(--white-color) !important;
  border-radius: 50px;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  font-size: var(--font-size-s);
      
}

.login-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(131, 40, 58, 0.2);
}

.nav-actions .admin-link,
.nav-actions .cart-icon,
.nav-actions .user-profile {
  font-size: 1.4rem;
  color: var(--white-color);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.main-header.scrolled .nav-actions .admin-link,
.main-header.scrolled .nav-actions .cart-icon,
.main-header.scrolled .nav-actions .user-profile {
  color: var(--primary-color);
}

.nav-actions .admin-link span {
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-actions .admin-link:hover,
.nav-actions .cart-icon:hover,
.nav-actions .user-profile:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white-color);
    flex-direction: column;
    padding: 80px 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    color: var(--dark-color) !important;
  }
}
/* End The header  */
ul {
  list-style: none;
}
a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background-color: none;
}

img {
  width: 100%;
}

/* Global Product Image Style */
.image, 
.product-image, 
.hero-image,
.menu-list img,
.bakery-section img {
  border-radius: 15px !important;
}

.section-content {
  margin: 0 auto;
  padding: 0 20px;
  max-width: var(--site-max-size);
}

/*End The header  */

/* Start The Hero Section */
.hero-section {
  min-height: 100vh;
  background-color: var(--primary-color);
}
.section-title {
  text-align: center;
  padding: 60px 0 100px;
  text-transform: uppercase;
  font-size: var(--font-size-xl);
}
.section-title::after {
  content: "";
  width: 80px;
  height: 5px;
  display: block;
  margin: 10px auto;
  border-radius: var(--secondary-color);
  background-color: var(--secondary-color);
  -webkit-border-radius: var(--secondary-color);
  -moz-border-radius: var(--secondary-color);
  -ms-border-radius: var(--secondary-color);
  -o-border-radius: var(--secondary-color);
}
.hero-section .section-content {
  display: flex;
  min-height: 100vh;
  align-items: center;
  color: var(--white-color);
  justify-content: space-between;
}

.hero-section .hero-details .title {
  font-size: var(--font-size-xxl);
  color: var(--secondary-color);
  font-family: "Miniver";
}

.hero-section .hero-details .subtitle {
  margin-top: 8px;
  max-width: 70%;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
  max-width: 70%;
  margin: 24px 0 40px;
  font-size: var(--font-size-m);
}

.hero-section .hero-details .button {
  display: flex;
  gap: 20px;
  margin-right: 20px;
  float: left;
}

.hero-section .hero-details .order-now,
.content-us {
  padding: 10px 26px;
  color: var(--primary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-m);
  background-color: var(--secondary-color);
  font-weight: var(--font-weight-medium);
  transition: 0.3s ease;
}

.hero-section .hero-image-wrapper {
  max-width: 500px;
  margin-right: 30px;
  margin-top: 110px;
  transition: 0.5s ease;
}

.hero-image-wrapper:hover {
  margin-right: 10px;
  padding: 20px;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .content-us {
  color: var(--white-color);
  border-color: var(--white-color);
  background-color: transparent;
}

.hero-section .hero-details .content-us:hover {
  color: var(--primary-color);
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
}

@media (max-width: 767px) {
  .hero-section .section-content {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 50px;
    padding: 30px 20px 20px;
  }

  .nav-bar .anv-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: -120px;
  }
  .hero-section {
    min-height: 100vh;
    background-color: var(--primary-color);
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .hero-section .hero-details :is(.subtitle, .description) {
    max-width: 100%;
  }
  .buttons {
    display: flex;
    justify-content: center;
  }
  .About-section .section-content {
    gap: 70px;
    flex-direction: column;
  }
  .About-section .about-image-wrapper .about-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    max-width: 250px;
    aspect-ratio: 1;
  }
}
/* End The Hero Section */
/* Start to section About*/
.About-section {
  padding: 120px 0;
  background-color: white;
}
.About-section .section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.about-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-circle);
}
.About-section .about-details .text {
  line-height: 30px;
  margin: 50px 10px 30px;
  text-align: center;
  font-size: var(--font-size-m);
}
.About-section .about-details .section-title {
  padding: 0;
}
.About-section .about-details .scoial-link-list {
  display: flex;
  gap: 25px;
  justify-content: center;
}
.About-section .about-details .scoial-link-list .social-link {
  color: black;
  font-size: var(--font-size-l);
  transition: 0.2s ease;
}
.About-section .about-details .scoial-link-list .social-link:hover {
  color: var(--secondary-color);
}
/* Start Menu Section */
.menu-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, #f8f8f8);
}

.menu-section.coffee-menu {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%), 
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2383283a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.menu-section .menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: var(--site-max-size);
  margin: 0 auto;
}

.menu-list {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(131, 40, 58, 0.03),
    transparent
  );
  transform: translateX(-100%);
  transition: 0.6s;
}

.menu-list:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 1);
}

.menu-list:hover::before {
  transform: translateX(100%);
}

.menu-list img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  border-radius: 15px;
}

.menu-list:hover img {
  transform: scale(1.1) rotate(5deg);
}

.menu-list .image-name {
  color: var(--dark-color);
  font-size: var(--font-size-l);
  margin-bottom: 10px;
  font-family: "Miniver", cursive;
}

.menu-list p {
  color: #666;
  font-size: var(--font-size-s);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 100%;
}

.menu-list .price {
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    background: rgba(131, 40, 58, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.menu-list .order-btn {
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-m);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
    margin-top: auto;
}

.menu-list .order-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 767px) {
  .menu-section .menu-container {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .menu-list img {
    width: 150px;
    height: 150px;
  }
}
/* Start Contact Section */
.contact-section {
    padding: 100px 0;
    background: #fdfbfb;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(131, 40, 58, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.contact-card h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-card p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--white-color);
    box-shadow: 0 0 0 4px rgba(131, 40, 58, 0.1);
}

.contact-form .button {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50px;
    transition: 0.3s;
}

.contact-form .button:hover {
    background: var(--secondary-color);
    color: var(--white-color);
}

/* Start Bakery Section */
.bakery-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #fff, #fdf8f5);
}

.bakery-section .menu-list {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(131, 40, 58, 0.05);
}

.product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px dashed #eee;
}

.product-details .weight {
    font-size: 0.85rem;
    color: #888;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-details .price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.bakery-section img {
    border-radius: 15px;
    margin-bottom: 20px;
}
/* End Bakery Section */

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* Start Footer Section */
.footer {
    background: #111;
    color: #bbb;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer .logo {
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--white-color);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column .description {
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: #bbb;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-details ul li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-details ul li i {
    color: var(--primary-color);
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom i {
    color: #ff4757;
}

@media (max-width: 991px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
/* End Footer Section */
