/* --- MODERN 855 COFFEE CORNER STYLES --- */

:root {
  --primary: #d4a373;      /* Rich Coffee Artisan Amber Warmth */
  --accent: #ffffff;       /* Pure Crisp White */
  --dark: #1f1a16;         /* Roasted Deep Coffee Bean Brown */
  --light: #faf7f2;        /* Smooth Cream Milk White */
  --glass: rgba(31, 26, 22, 0.95);
  --radius: 8px;           /* Elegant structure layout angles */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
  background: rgba(31, 26, 22, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #2d2620;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo { 
  font-family: 'Bungee', sans-serif; 
  color: white; 
  text-decoration: none; 
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.brand-phone {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  border-left: 2px solid #42372e;
  padding-left: 15px;
  transition: 0.3s;
  white-space: nowrap;
}

.brand-phone:hover { color: white; }

.menu-links a { 
  color: #c2b4a9; 
  text-decoration: none; 
  margin-left: 20px; 
  font-weight: 700; 
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: 0.3s; 
}

.menu-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 4px;
}

/* --- HERO SECTION --- */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(31, 26, 22, 0.7), rgba(31, 26, 22, 0.7)), 
              url('https://images.unsplash.com/photo-1507133750040-4a8f57021571?q=80&w=2000');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 60px;
}

.badge { 
  background: #2d2620; 
  color: var(--primary); 
  padding: 6px 16px; 
  border-radius: 4px; 
  font-size: 0.8rem; 
  font-weight: bold; 
  text-transform: uppercase;
  border: 1px solid var(--primary);
}

.hero h1 { 
  font-size: 4.5rem; 
  margin: 20px 0; 
  line-height: 1.1; 
}

.highlight { 
  color: var(--primary); 
  font-family: 'Bungee', sans-serif; 
}

.hero-btns { margin-top: 30px; }

.btn-primary { 
  background: var(--primary); 
  color: var(--dark); 
  padding: 16px 32px; 
  text-decoration: none; 
  border-radius: var(--radius); 
  display: inline-block; 
  margin: 10px; 
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-secondary { 
  background: transparent; 
  color: white; 
  border: 2px solid white;
  padding: 14px 30px; 
  text-decoration: none; 
  border-radius: var(--radius); 
  display: inline-block; 
  margin: 10px; 
  font-weight: bold; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3); }
.btn-secondary:hover { background: white; color: var(--dark); transform: translateY(-3px); }

/* --- MENU CATEGORIES --- */
.category { padding: 100px 20px; }
.light-bg { background-color: #ede6dc; }

.section-header { text-align: center; margin-bottom: 60px; }
.subtitle { color: white; background: var(--dark); padding: 4px 12px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border-radius: 2px; }
.section-header h2 { font-size: 2.5rem; font-family: 'Bungee', sans-serif; margin-top: 15px; text-transform: uppercase; color: var(--dark); }

/* --- PRODUCT GRID --- */
.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 35px; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.modern-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  cursor: pointer;
  border: 1px solid #e5dec9;
}

.modern-card:hover { 
  transform: translateY(-8px); 
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* Kept Tall image configuration (320px tall setup) */
.card-img-wrapper { height: 320px; overflow: hidden; background: #000; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.4s; }
.modern-card:hover .card-img-wrapper img { scale: 1.05; opacity: 1; }

/* Maintained lower spacing configuration for word typography layout */
.card-info { padding: 35px 25px 25px 25px; }
.card-info h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--dark); text-transform: uppercase; font-weight: 700; }
.card-info p { font-size: 0.95rem; color: #6e655f; height: 50px; overflow: hidden; margin-bottom: 10px; }

.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }
.price { font-weight: 800; font-size: 1.3rem; color: var(--dark); }
.card-footer i { font-size: 1.6rem; color: #cbd5e1; transition: 0.3s; }
.modern-card:hover .card-footer i { color: var(--primary); }

/* --- TEAM SECTION --- */
.team-section { background: var(--dark); color: white; padding: 100px 20px; }
.team-section .subtitle { background: white; color: var(--dark); }
.team-section h2 { color: white; }

.team-grid { 
  display: flex; 
  justify-content: center; 
  flex-wrap: wrap; 
  gap: 25px; 
  max-width: 1200px; 
  margin: 0 auto; 
}

.team-card {
  background: #28221e;
  padding: 40px 20px;
  border-radius: var(--radius);
  text-align: center;
  width: 220px;
  transition: 0.3s;
  border: 1px solid #362e29;
}

.team-card:hover { border-color: var(--primary); background: #2f2823; }

.avatar-box {
  width: 120px;
  height: 120px;
  border-radius: 4px; 
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid var(--primary);
}

.avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.2rem; margin-bottom: 5px; text-transform: uppercase; }
.team-card span { color: var(--primary); font-size: 0.85rem; text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; }

/* --- MODAL --- */
.modal {
  display: none; 
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(31, 26, 22, 0.9);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  text-align: center;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.modal-content h2 { text-transform: uppercase; font-family: 'Bungee', sans-serif; font-size: 1.6rem; color: var(--dark); }

.modal-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 20px 0;
}

.close-btn { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; color: #a1958d; }
.close-btn:hover { color: var(--dark); }

.order-btn {
  background: var(--dark);
  color: var(--primary);
  border: 1px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}
.order-btn:hover { background: var(--primary); color: var(--dark); }

.footer-socials a .fa-youtube:hover {
  color: #FF0000;
}

/* --- FOOTER --- */
footer {
  background: #14100e;
  color: #8c8077;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #231c19;
}

.footer-content p { color: #a3968e; }
.footer-socials { margin-top: 20px; }
.footer-socials a { color: white; margin: 0 15px; font-size: 1.4rem; transition: 0.3s; }
.footer-socials a:hover { color: var(--primary); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .logo { font-size: 1rem; }
  .brand-phone { font-size: 0.8rem; padding-left: 10px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.8rem; }
  .brand-phone { display: none; }
  .menu-links a:not(.nav-cta) { display: none; }
}