:root {
  --bg: #f4efe7;
  --bg-soft: #fbf8f3;
  --surface: #fffdf9;
  --surface-2: rgba(255, 255, 255, 0.72);
  --text: #171312;
  --text-soft: #5e5652;
  --primary: #1b1716;
  --primary-2: #2a2422;
  --accent: #d8c8b6;
  --accent-strong: #cab7a0;
  --border: #e7ddd2;
  --shadow: rgba(23, 19, 18, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Tajawal", sans-serif;
  background: var(--bg);
  color: var(--text);
  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(244, 239, 231, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 58px;
}

.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: var(--primary-2);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-strong);
  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: var(--primary);
  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(202, 183, 160, 0.25);
  top: -140px;
  right: -90px;
}

.hero::after {
  width: 340px;
  height: 340px;
  background: rgba(27, 23, 22, 0.08);
  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.7);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px var(--shadow);
  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: var(--primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-soft);
  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: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(27, 23, 22, 0.18);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  border: 1px solid var(--accent-strong);
}

.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 var(--border);
  background: var(--surface-2);
  box-shadow: 0 30px 80px rgba(23, 19, 18, 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(202, 183, 160, 0.28), rgba(27, 23, 22, 0.05));
}

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

.hero-logo {
  width: 180px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.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(23, 19, 18, 0.08);
  animation: floatY 3s ease-in-out infinite;
}

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

.tag-2 {
  left: 35px;
  bottom: 78px;
  background: var(--primary);
  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: var(--text-soft);
  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.48);
}

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

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

.menu-tab.active {
  background: var(--primary);
  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: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 19, 18, 0.05);
  transition: 0.3s ease;
}

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

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

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

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

.menu-item-description {
  color: var(--text-soft);
  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: #eee3d6;
  color: var(--primary);
  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: var(--text-soft);
  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: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(23, 19, 18, 0.05);
}

.feature {
  padding: 24px;
}

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

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

.feature p {
  color: var(--text-soft);
  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: #efe7dd;
  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: var(--text-soft);
}

.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: var(--primary);
  color: #fff;
}

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

.contact-info .social-link.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--accent-strong);
}

.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: var(--primary);
  color: #fff;
  border-top: 1px solid var(--border);
}

.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: 85px;
    right: 0;
    left: 0;
    background: rgba(244, 239, 231, 0.98);
    border-bottom: 1px solid var(--border);
    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: #efe7dd;
  }

  .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;
  }

  .hero-logo {
    width: 140px;
  }

  .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);
  }

  .logo-img {
    height: 52px;
  }

  .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;
  }
}
