* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Tajawal", sans-serif;
  background: #f7efe6;
  color: #3b2417;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e7d8c7;
}

.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-link:hover {
  color: #7b4b32;
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #d8c0aa;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #3b2417;
  border-radius: 2px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: rgba(123, 75, 50, 0.14);
  top: -140px;
  right: -90px;
}

.hero::after {
  width: 340px;
  height: 340px;
  background: rgba(91, 58, 41, 0.12);
  bottom: -120px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 50px;
  padding: 70px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #d8c0aa;
  box-shadow: 0 8px 20px rgba(59, 36, 23, 0.06);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 800;
}

.highlight {
  color: #7b4b32;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #6b4f3f;
  max-width: 620px;
  line-height: 2;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #5b3a29;
  color: #fff;
  box-shadow: 0 16px 30px rgba(91, 58, 41, 0.18);
}

.btn-primary:hover {
  background: #6a4330;
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: #5b3a29;
  border: 1px solid #c9ab91;
}

.btn-secondary:hover {
  background: #fff;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.coffee-orb {
  position: relative;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid #e7d8c7;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 30px 80px rgba(59, 36, 23, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.coffee-orb::before {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(123, 75, 50, 0.12), rgba(59, 36, 23, 0.05));
}

.coffee-content {
  position: relative;
  z-index: 1;
}

.coffee-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5b3a29;
  color: #fff;
  font-size: 4rem;
  box-shadow: 0 16px 35px rgba(91, 58, 41, 0.24);
}

.coffee-label {
  font-size: 1.35rem;
  font-weight: 800;
}

.floating-tag {
  position: absolute;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(59, 36, 23, 0.08);
  animation: floatY 3s ease-in-out infinite;
}

.tag-1 {
  top: 62px;
  right: 38px;
  background: #fff;
}

.tag-2 {
  left: 35px;
  bottom: 78px;
  background: #5b3a29;
  color: #fff;
  animation-delay: 0.8s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.section-header {
  text-align: center;
  margin-bottom: 38px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #6b4f3f;
  font-size: 1.05rem;
  line-height: 2;
}

.menu-section,
.contact-section {
  padding: 90px 0;
}

.about-section {
  padding: 90px 0;
  background: rgba(255, 255, 255, 0.55);
}

.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.menu-tab {
  border: none;
  background: #fff;
  color: #5b3a29;
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(59, 36, 23, 0.06);
  transition: 0.3s ease;
}

.menu-tab.active {
  background: #5b3a29;
  color: #fff;
}

.menu-category {
  display: none;
}

.menu-category.active {
  display: block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.menu-item {
  background: #fff;
  border: 1px solid #eadbcb;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(59, 36, 23, 0.05);
  transition: 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(59, 36, 23, 0.1);
}

.menu-item-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f1e5d8;
}

.menu-item-content {
  padding: 20px;
}

.menu-item-content h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.menu-item-description {
  color: #6b4f3f;
  font-size: 0.95rem;
  line-height: 1.9;
  min-height: 58px;
  margin-bottom: 14px;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: #efe1d2;
  color: #5b3a29;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.about-content,
.contact-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: #6b4f3f;
  line-height: 2;
  margin-bottom: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature,
.contact-info,
.map-container {
  background: #fff;
  border: 1px solid #eadbcb;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(59, 36, 23, 0.05);
}

.feature {
  padding: 24px;
}

.feature .emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: #efe1d2;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 800;
}

.feature p {
  color: #6b4f3f;
  line-height: 1.9;
  font-size: 0.95rem;
}

.contact-info {
  padding: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #efe1d2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-item p {
  color: #6b4f3f;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-link {
  padding: 12px 20px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: 0.3s ease;
}

.social-link.primary {
  background: #5b3a29;
  color: #fff;
}

.social-link.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info .social-link.secondary {
  background: #fff;
  color: #5b3a29;
  border: 1px solid #c9ab91;
}

.map-container {
  padding: 14px;
  overflow: hidden;
}

.map-container h3 {
  font-size: 1.1rem;
  font-weight: 800;
  padding: 8px 10px 18px;
}

.map-container iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
}

.footer {
  padding: 60px 0 24px;
  background: #3b2417;
  color: #fff;
  border-top: 1px solid #e7d8c7;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer-section p,
.footer-section li,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
}

.footer-section h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

@media (max-width: 1100px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    position: absolute;
    top: 81px;
    right: 0;
    left: 0;
    background: rgba(247, 239, 230, 0.98);
    border-bottom: 1px solid #e7d8c7;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 18px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .nav-link:hover {
    background: #efe1d2;
  }

  .hamburger {
    display: flex;
  }

  .hero-content,
  .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-text {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .coffee-orb {
    width: 340px;
    height: 340px;
  }

  .coffee-icon {
    width: 110px;
    height: 110px;
    font-size: 3rem;
  }

  .floating-tag {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 20px, 1200px);
  }

  .hero-content,
  .menu-section,
  .about-section,
  .contact-section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .coffee-orb {
    width: 280px;
    height: 280px;
  }

  .coffee-label {
    font-size: 1rem;
  }

  .menu-grid,
  .about-features,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .menu-item-image {
    height: 220px;
  }

  .hero-buttons,
  .social-links {
    flex-direction: column;
  }

  .btn,
  .social-link {
    width: 100%;
    text-align: center;
  }
}
