/*=============================================
   CHAM RESTAURANT – PREMIUM STYLES
   Enhanced: about, contact, values, team
===============================================*/

/* ---------- CSS Variables ---------- */
:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  
  --bg-dark: #121212;
  --bg-card: #1e1e1e;
  --text-primary: #f0e6d3;
  --text-secondary: #b0a18e;
  --accent: #c9a74b;
  --accent-hover: #b38f3a;
  --overlay: rgba(0, 0, 0, 0.7);
  
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

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

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background var(--transition);
}

.logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ---------- Hero Section ---------- */
.hero {
  height: 60vh;
  min-height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto 0;
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-text h2::after {
  margin: 0.5rem 0 0;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* ---------- Values Section ---------- */
.values-section {
  background: var(--bg-card);
}

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

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-dark);
  border-radius: 10px;
  transition: transform var(--transition);
  border: 1px solid #2a2a2a;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.value-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- Team Section ---------- */
.team-section {
  background: var(--bg-dark);
}

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

.team-card {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform var(--transition);
  text-align: center;
  padding-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-top: 1.5rem;
  color: var(--accent);
}

.team-card .role {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0 1.5rem;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.contact-info h2::after {
  margin: 0.5rem 0 0;
}

.info-block {
  margin-bottom: 2rem;
}

.info-block h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info-block .note {
  font-style: italic;
  color: var(--accent);
  margin-top: 0.5rem;
}

.contact-map h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.map-embed {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  height: 400px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Menu Grid ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-item {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}

.menu-item:hover {
  transform: translateY(-8px);
}

.menu-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.item-info {
  padding: 1.5rem;
}

.item-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.item-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- Footer ---------- */
footer {
  background: #0a0a0a;
  text-align: center;
  padding: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid #2a2a2a;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .menu-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image img {
    height: 300px;
  }

  .map-embed {
    height: 300px;
  }
  }
