/* --- CSS Variables & Resets --- */
:root {
  --color-bg-light: #fffbf7; /* Very light warm cream */
  --color-bg-dark: #1f1a1b; /* Deep espresso/chocolate */
  --color-text-primary: #3e2723; /* Dark chocolate */
  --color-text-light: #fdfbf7; /* Off-white for dark bg */
  --color-accent: #b76e79; /* Rose Gold */
  --color-accent-light: #dfa0a9;
  --color-border: #e8dfd8;

  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;

  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
  font-family: var(--font-heading);
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

/* --- Navigation --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--color-accent);
  font-style: italic;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.btn-primary {
  background-color: var(--color-accent);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast);
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--color-text-primary);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 5% 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 10;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.hero-content h1 span {
  color: var(--color-accent);
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: #6d5b58;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.btn-secondary {
  display: inline-block;
  padding: 0.8rem 2rem;
  border: 1px solid var(--color-text-primary);
  border-radius: 30px;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-bg-light);
}

/* Container for 3D animation */
.hero-3d-container {
  flex: 1.2;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-3d-container canvas {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  cursor: grab;
}
.hero-3d-container canvas:active {
  cursor: grabbing;
}

/* Background blob for hero */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(183, 110, 121, 0.15) 0%,
    rgba(255, 251, 247, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

/* --- Menu Section --- */
.menu-section {
  padding: 6rem 5%;
  background-color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #6d5b58;
  font-size: 1.1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  background: var(--color-bg-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(62, 39, 35, 0.05);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  border: 1px solid rgba(232, 223, 216, 0.5);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
}

.img-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--color-border);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(62, 39, 35, 0.4)
  );
}

.card-content {
  padding: 2rem;
  position: relative;
  background: white;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.card-content p {
  color: #6d5b58;
  font-size: 0.95rem;
}

/* --- Contact Us Section --- */
.contact-section {
  padding: 6rem 5%;
  background-color: var(--color-bg-light);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(62, 39, 35, 0.05);
  border: 1px solid var(--color-border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fafafa;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.1);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 1rem;
  cursor: pointer;
  border: none;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp.full-width {
  width: 100%;
}

.contact-divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}

.contact-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  z-index: 1;
}

.contact-divider span {
  background: white;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
  color: #888;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 5rem 5% 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.footer-links h3 {
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--color-accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(253, 251, 247, 0.6);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding-top: 8rem;
    text-align: center;
  }
  .hero-content {
    margin-bottom: 2rem;
  }
  .hero-content p {
    margin: 0 auto 2.5rem;
  }
  .hero-3d-container {
    width: 100%;
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* simple mobile fallback for now */
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}
