/*
Theme Name: Bella Cucina
Theme URI: https://example.com/bella-cucina
Author: Claude
Description: Clean one-page restaurant theme inspired by modern food brands. Light background, full-width hero, photo grid, about section with hours.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bella-cucina
Tags: one-page, restaurant, light, clean, responsive
*/

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wine:    #6B1A2A;
  --wine-dk: #4E1220;
  --black:   #1A1A1A;
  --gray:    #555555;
  --light:   #F5F5F3;
  --border:  #E0DEDA;
  --white:   #FFFFFF;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Jost', 'Arial', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TOPBAR ── */
#topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-address {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  text-transform: uppercase;
}
.topbar-nav { display: flex; gap: 28px; list-style: none; }
.topbar-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}
.topbar-nav a:hover,
.topbar-nav a.active { color: var(--wine); }
.topbar-socials { display: flex; gap: 14px; align-items: center; }
.topbar-socials a { font-size: 0.85rem; color: var(--black); transition: color 0.2s; }
.topbar-socials a:hover { color: var(--wine); }

/* ── HERO ── */
#hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.hero-logo-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  color: var(--black);
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.hero-logo-name span {
  display: block;
  color: var(--wine);
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  margin-top: 12px;
  letter-spacing: 0.04em;
}
.hero-divider {
  width: 2px;
  height: 56px;
  background: var(--wine);
  margin: 14px auto 0;
}

/* ── PHOTO GRID ── */
#gallery {
  background: var(--light);
  padding: 48px 0;
}
.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-cta {
  text-align: center;
  margin-top: 36px;
}
.btn-wine {
  display: inline-block;
  padding: 13px 40px;
  background: var(--wine);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-wine:hover { background: var(--wine-dk); color: var(--white); }

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about-image {
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.about-image:hover img { transform: scale(1.04); }
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 48px;
  background: var(--white);
  text-align: center;
  border-left: 1px solid var(--border);
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gray);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.about-rule {
  width: 60px;
  height: 1px;
  background: var(--wine);
  margin: 20px auto;
}
.about-icons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 4px 0 24px;
}
.about-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.about-icon:hover { background: var(--wine); color: var(--white); border-color: var(--wine); }
.about-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 10px;
  font-weight: 600;
}
.hours-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 2;
}
.hours-divider { margin: 20px 0; border: none; border-top: 1px solid var(--border); }
.phone-numbers {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 2;
}

/* ── ORDER ── */
#order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.order-content {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--light);
}
.order-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 16px;
}
.order-desc {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 380px;
  margin-bottom: 32px;
}
.order-image { overflow: hidden; }
.order-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.order-image:hover img { transform: scale(1.04); }

/* ── MENU PREVIEW ── */
#menu {
  padding: 80px 0;
  background: var(--white);
}
.menu-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-heading {
  text-align: center;
  margin-bottom: 52px;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
}
.section-heading p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gray);
  font-size: 1rem;
  margin-top: 6px;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.menu-item {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  transition: background 0.2s;
}
.menu-item:nth-child(odd) { border-right: 1px solid var(--border); }
.menu-item:hover { background: var(--light); }
.menu-item-left { flex: 1; }
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.menu-item-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--wine);
  font-weight: 600;
  white-space: nowrap;
}
.menu-cta { text-align: center; margin-top: 48px; }

/* ── CONTACT ── */
#contact {
  padding: 80px 0;
  background: var(--light);
  border-top: 1px solid var(--border);
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.contact-inner h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.contact-inner p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--wine); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { align-self: center; margin-top: 8px; }

/* ── FOOTER ── */
#footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 24px;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
#footer a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
#footer a:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #about, #order { grid-template-columns: 1fr; }
  .about-image { height: 340px; }
  .order-image { height: 300px; order: -1; }
  .order-content { padding: 52px 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item:nth-child(odd) { border-right: none; }
  .topbar-address { display: none; }
}
@media (max-width: 600px) {
  .topbar-nav { gap: 14px; }
  .topbar-nav li:nth-child(n+4) { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-row { grid-template-columns: 1fr; }
  .about-content { padding: 48px 24px; }
}
