:root {
  --primary: #b6895b;
  --bg: #010101;
  --creamy: #fff5eb;
  --coffee: #6f4e37;
  --latte: #c4a484;
  --espresso: #3e2723;
  --foam: #f8f4e9;
  --accent: #d4a76a;
  --ivory: #fffff0;
  --mahogany: #4e3524;
  --gilded-gold: #d4b483;
  --velvet-red: #7b1113;
  --parchment: #f5eedc;
  --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Playfair", "poppins", sans-serif;
  background-color: var(--bg);
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.9rem 7%;
  background-color: rgba(1, 1, 1, 0.8);
  border-bottom: 2px solid #513c28;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(45deg, #fff, #ccc);
  background-clip: text;
  -webkit-background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
  font-style: italic;
  font-family: "Playfair";
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
      0 0 30px rgba(255, 255, 255, 0.3);
  }
}

.navbar .navbar-logo span {
  color: var(--primary);
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.3rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* Navbar search form */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}

.navbar .search-form.active {
  transform: scaleY(1);
}

.navbar .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.6rem;
  color: var(--bg);
  padding: 1rem;
}

.navbar .search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;

  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0) 85%,
    rgba(32, 22, 22, 0.233)
  );
  mask-image: linear-gradient(rgb(0, 0, 0) 85%, rgba(0, 0, 0, 0));
}

.mb-vid {
  display: none;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgb(255, 251, 234) 8%,
    rgba(255, 255, 255, 0) 50%
  );
}

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
  width: 100%;
  padding-top: 17rem;
}

.hero .content h1 {
  font-family: "Inconsolata";
  font-size: 3em;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
  /* mix-blend-mode: difference; */
}

.hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px 1px 3px rgba(1, 1, 3, 0.5);
}

/* === 3D COFFEE BRAND HERO === */
.brand-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  background-color: var(--ivory);
  color: var(--mahogany);
}

.hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  background: rgba(255, 255, 240, 0.88);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(5px);
  border: 1px solid var(--gilded-gold);
}

.signature_hero {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.signature_hero img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.signature_hero img:hover {
  transform: scale(1.05);
}

.brand-logo {
  font-size: 4rem;
  font-weight: 700;
  color: var(--velvet-red);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.brand-tagline::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gilded-gold), transparent);
}

.brand-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.signature {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  color: var(--mahogany);
  margin-top: 30px;
}

/* === 3D BEAN SHOWCASE === */
.bean-showcase {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  background-color: var(--parchment);
  color: var(--mahogany);
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  align-items: center;
}

.bean-canvas-container {
  flex: 1;
  min-width: 300px;
  height: 400px;
  position: relative;
}

.bean-canvas {
  width: 100%;
  height: 100%;
  background: var(--parchment);
  border-radius: 10px;
  box-shadow: var(--shadow-deep);
}

.bean-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
}

.bean-origin-title {
  font-size: 2.5rem;
  color: var(--velvet-red);
  margin-bottom: 20px;
}

.bean-characteristics {
  list-style-type: none;
  margin: 30px 0;
}

.bean-characteristics li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.bean-characteristics li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gilded-gold);
  font-size: 1.5rem;
}

/* === ROASTING PROCESS === */
.roasting-process {
  padding: 80px 20px;
  background: linear-gradient(rgba(78, 53, 36, 0.9), rgba(78, 53, 36, 0.9)),
    url("https://images.unsplash.com/photo-1463797221720-6b07e6426c24?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80")
      center/cover;
  color: var(--ivory);
  position: relative;
}

.roasting-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  align-items: center;
}

.roasting-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.roasting-title {
  font-size: 2.5rem;
  color: var(--gilded-gold);
  margin-bottom: 20px;
}

.brand-hero__image-container {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto 30px;
}

.brand-hero__image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about,
.menu,
.products,
.contact {
  padding: 8rem 7% 1.4rem;
}

.about h2,
.menu h2,
.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.products h2 span,
.contact h2 span {
  color: var(--primary);
}

.about {
  padding: 2rem;
  color: #fff;
}

.about span {
  color: #c58f4a;
  font-weight: bold;
}

.about h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.about .row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.about-img {
  flex: 1 1 300px;
  max-width: 500px;
  display: flex;
  justify-content: center;
}

.about-img video {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.about .content {
  flex: 2 1 500px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about .content h3 {
  font-size: 1.8rem;
  margin: 0;
  animation: SlideAnim 1s;
}

.about .content p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
}

.about-vid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem;
  gap: 1.5rem;
  margin-top: 1rem;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.about-vid video {
  width: 400px;
  height: auto;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-vid .text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-vid .text h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.about-vid .text2 h3 {
  padding-top: 1rem;
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.about-vid .text h3 span {
  color: #d4b331;
}

.about-vid .text p {
  font-size: 1.5rem;
  color: #ddd;
  max-width: 400px;
}

.about-vid .click a {
  animation: fadeInUp 2s ease-out 1.5s both;
  margin-top: 3rem;
  border: 2px solid var(--primary);
  display: none;
  padding: 1rem 3rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 1.7rem;
  color: #fff;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.about-vid .click a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.about-vid .click a:hover::before {
  left: 0;
}
.about-vid .click a:hover {
  color: #f2cf43;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.about-vid .click a:hover {
  color: #000000;
}

/* Hero 1 */

.img-coffee {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5rem;
}

.img-coffee img {
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Hero Section */
.hero_1 {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(212, 175, 55, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(244, 228, 166, 0.08) 0%,
      transparent 50%
    );
}

.hero-contents {
  text-align: center;
  z-index: 2;
}

.hero_1 h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ffffff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

.hero_1 p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #cccccc;
  margin-bottom: 40px;
}

.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.hero-decoration::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  border: 1px solid rgba(244, 228, 166, 0.1);
  border-radius: 50%;
  animation: rotate 15s linear infinite reverse;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Menu v2 */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-section {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 80px;
  color: #ffffff;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, #d4af37, #f4e4a6);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

.menu-category {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.menu-category::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-category:hover::before {
  opacity: 1;
}

.menu-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.category-content {
  position: relative;
  z-index: 2;
}

.category-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: linear-gradient(45deg, #d4af37, #f4e4a6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s ease;
}

.menu-category:hover .category-icon {
  transform: scale(1.1) rotate(10deg);
}

.category-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.category-description {
  text-align: center;
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.menu-items {
  space-y: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.menu-item:hover {
  padding-left: 10px;
  border-bottom-color: rgba(212, 175, 55, 0.3);
}

.item-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 5px;
}

.item-info p {
  color: #999999;
  font-size: 0.9rem;
}

.item-price span {
  text-decoration: line-through;
  color: #ffe7e7;
  line-height: 0.5;
}
.item-price {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4af37;
}

.specialty-section {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(244, 228, 166, 0.05) 100%
  );
  padding: 80px 0;
  margin: 80px 0;
  border-radius: 30px;
  text-align: center;
}

.specialty-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #d4af37, #f4e4a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.specialty-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.floating-element:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}
.floating-element:nth-child(3) {
  top: 30%;
  left: 60%;
  animation-delay: 2s;
}
.floating-element:nth-child(4) {
  top: 80%;
  left: 20%;
  animation-delay: 3s;
}
.floating-element:nth-child(5) {
  top: 10%;
  left: 90%;
  animation-delay: 4s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* Menu Section */
.menu {
  background-color: #1a1a1a;
}
.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}
.menu p,
.products p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}
/*  
.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

.menu-card {
  text-align: center;
  padding-bottom: 4rem;

  transform: translateY(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.35);
}

.menu .row .menu-card img {
  padding: 1rem;
  height: 20rem;
  border-radius: 50%;
  width: 100%;
}

.menu .row .menu-card .menu-card-title {
  margin: 1rem auto 0.5rem;
}


/* Brewing Timer */
.brewing-timer {
  padding: 100px 5%;
  background: linear-gradient(135deg, #0f0f0f 0%, #2d1b15 100%);
}

.timer-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: var(--primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.timer-display {
  font-size: 4rem;
  font-weight: bold;
  color: #d2691e;
  margin: 30px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.timer-btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.timer-btn.start {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
}

.timer-btn.stop {
  background: linear-gradient(45deg, #dc3545, #fd7e14);
  color: white;
}

.timer-btn.reset {
  background: linear-gradient(45deg, #6c757d, #adb5bd);
  color: white;
}

.timer-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.brewing-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.method-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.method-card:hover {
  border-color: #d2691e;
  transform: translateY(-5px);
}

.method-card.active {
  background: linear-gradient(45deg, #d2691e, #cd853f);
}

/* Brewing Section */
.coffee-brewing {
  background: rgba(244, 241, 234, 0.8);
  padding: 4rem 0;
}

.section-titles {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c1810;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.brewing-simulator {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.brewing-controls {
  display: flex;
  justify-content: space-around;
  margin-bottom: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.control-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c1810;
}

.control-group input {
  width: 100px;
  padding: 0.5rem;
  border: 2px solid #8b4513;
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
}

.coffee-cup {
  width: 200px;
  height: 250px;
  margin: 2rem auto;
  position: relative;
  background: linear-gradient(to bottom, #8b4513 0%, #654321 100%);
  border-radius: 0 0 100px 100px;
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
}

.coffee-cup::before {
  content: "";
  position: absolute;
  top: 50px;
  right: -30px;
  width: 40px;
  height: 60px;
  border: 8px solid #8b4513;
  border-left: none;
  border-radius: 0 50px 50px 0;
}

.coffee-surface {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 10px;
  background: radial-gradient(circle, #d2691e 0%, #8b4513 100%);
  border-radius: 50%;
  animation: coffeeRipple 2s infinite;
}

@keyframes coffeeRipple {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.brewing-result {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 10px;
  border-left: 4px solid #8b4513;
  display: none;
}

.brewing-result h4 {
  color: #000000;
  margin-bottom: 0.5rem;
}
.brewing-result p {
  color: #000000;
  margin-bottom: 0.5rem;
}

.ctas-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #8b4513, #d2691e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
}

.ctas-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
  border-color: #ffd700;
}

/* Coffee Pairing Section */
.pairing-section {
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 100%);
  color: white;
}

.pairing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.pairing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pairing-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pairing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pairing-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.pairing-content {
  padding: 1.5rem;
}

.pairing-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffd700;
}

.pairing-coffee {
  font-style: italic;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #222;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 45rem;
  padding: 5rem 2rem;
  text-align: center;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  background-color: var(--bg);
  border: 1px solid #eee;
  padding-left: 2rem;
}

.contact .row form .input-group input {
  width: 100%;
  padding: 2rem;
  font-size: 1.7rem;
  background: none;
  color: #fff;
}

.contact .row form .btn {
  animation: fadeInUp 2s ease-out 1.5s both;
  margin-top: 3rem;
  border: 2px solid var(--primary);
  display: inline-block;
  padding: 1rem 3rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 1.7rem;
  color: #fff;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.contact .row form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: left 0.3s ease;
  z-index: -1;
}
.contact .row form .btn:hover::before {
  left: 0;
}

.contact .row form .btn:hover {
  color: #010101;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Footer */
footer {
  background-color: var(--primary);
  text-align: center;
  padding: 1rem 0 3rem;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  color: #fff;
  margin: 1rem;
}

footer .socials a:hover,
footer .links a:hover {
  color: var(--bg);
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 1rem;
}

footer .credit a {
  color: var(--bg);
  font-weight: 700;
}

/* Modal Box */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}
.modal-container {
  position: relative;
  background-color: #fefefe;
  color: #010101;
  margin: 15% auto;
  padding: 1.2rem;
  border: 1px solid #666;
  width: 80%;
  animation: animatedModal 0.5s;
}

/* Modal Animation */
@keyframes animatedModal {
  from {
    top: 500-px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes SlideAnim {
  from {
    right: 300-px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-container .close-icon {
  position: absolute;
  right: 1rem;
}

.modal-content {
  display: flex;
  flex-wrap: nowrap;
}

.modal-content img {
  height: 16rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.menu-content p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-top: 1.2rem;
}

.menu-content a {
  display: flex;
  gap: 1rem;
  width: 12rem;
  background-color: var(--primary);
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 3rem;
}

.menu-content a:hover {
  transition: 0.4s;
  background-color: #513c28;
  color: #fff;
}
/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* Tablet */
@media (max-width: 758px) {
  html {
    font-size: 63%;
  }

  .hd-vid {
    display: none;
  }

  .mb-vid {
    display: block;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
    transition: 0.3s;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }

  .hero-content {
    margin: 0 auto;
    width: 90%;
    flex-direction: column;
  }

  .brand-logo {
    font-size: 3rem;
  }

  .showcase-container,
  .roasting-container {
    flex-direction: column;
  }

  .bean-canvas-container,
  .roasting-canvas-container {
    width: 100%;
    height: 300px;
  }

  .brand-hero {
    flex-direction: column; /* Gambar turun ke bawah */
    padding: 40px 20px;
  }

  .hero-content {
    order: 1; /* Text di atas */
    padding: 30px 20px;
  }

  .signature_hero {
    order: 2; /* Gambar di bawah */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .signature_hero img {
    max-width: 90vw;
    margin-top: 20px;
  }

  .brand-logo {
    font-size: 2.8rem;
  }

  .brand-tagline {
    font-size: 1.2rem;
  }

  .brand-description {
    font-size: 1rem;
  }

  .about-vid .click a {
    display: inline-block;
  }

  .about .row {
    flex-direction: column;
    align-items: center;
  }

  .about-img video,
  .about-vid video {
    width: 100%;
  }

  .about-vid {
    flex-direction: column;
    text-align: center;
  }

  .about-vid h3 {
    text-align: center;
    font-size: 3rem;
  }

  .about-vid p {
    text-align: center;
    font-size: 2rem;
  }

  .hero_1 h1 {
    font-size: 3rem;
  }

  .menu p {
    font-size: 1.2rem;
  }

  .brewing-controls {
    flex-direction: column;
    gap: 1rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
  }
  .modal-content {
    flex-wrap: wrap;
  }

  .modal-content img {
    height: 25rem;
  }
}

/* Mobile Phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  .hero {
    height: 90vh;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 0 1rem;
  }
}
