/* ------------------------------
   CODENGRILL — Luxury Restaurant Theme
   Author: Pramod
---------------------------------*/

/* Root Variables */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --accent: #ffb84d;
  --text: #f0f6fc;
  --muted: #8b949e;
  --radius: 14px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------
   HEADER & NAVBAR
---------------------------------*/
header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

nav a:hover {
  color: var(--accent);
}

nav .cta {
  background: var(--accent);
  color: #000;
  padding: 6px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

nav .cta:hover {
  background: #ffcf66;
}

/* ------------------------------
   HERO SECTION
---------------------------------*/
.hero {
  margin: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  line-height: 1.3;
}

.hero p {
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 20px;
  max-width: 450px;
}

.tag {
  background: rgba(255, 184, 77, 0.1);
  border: 1px solid rgba(255, 184, 77, 0.3);
  padding: 4px 10px;
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: var(--transition);
  font-weight: 500;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn:hover {
  transform: translateY(-2px);
  background: #ffcf66;
  color: #000;
}

/* ------------------------------
   MENU SECTION
---------------------------------*/
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 60px 0 20px;
}

.section-title h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--accent);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.menu-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.menu-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.menu-info {
  padding: 16px;
}

.menu-info h4 {
  font-size: 1.1rem;
}

.price {
  margin-top: 6px;
  color: var(--accent);
  font-weight: bold;
}

/* ------------------------------
   ABOUT SECTION
---------------------------------*/
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ------------------------------
   CONTACT FORM
---------------------------------*/
.contact-form {
  max-width: 500px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

label {
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--accent);
}

input, textarea {
  padding: 10px;
  border: none;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  outline: none;
}

input:focus, textarea:focus {
  border: 1px solid var(--accent);
}

button {
  cursor: pointer;
  border: none;
}

/* ------------------------------
   FOOTER
---------------------------------*/
.footer {
  text-align: center;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}

/* ------------------------------
   ANIMATIONS
---------------------------------*/
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
}

/* ------------------------------
   RESPONSIVE DESIGN
---------------------------------*/
@media (max-width: 900px) {
  .hero-grid, .two-col {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .btn, .btn-primary {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }

  .menu-info h4 {
    font-size: 1rem;
  }
}
