/*
Theme Name: Lazzat Restaurant — Editable v3
Theme URI: https://example.com/lazzat-restaurant
Author: Your Name
Author URI: https://example.com
Description: A modern one-page WordPress theme for restaurants and bistros, converted from a custom HTML/CSS design. Includes a hero section, a dynamic filterable menu (managed via the "Restaurant Menu" custom post type), an about section, and a contact section with a Google Maps embed. Site content and restaurant dishes are editable from the WordPress admin.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lazzat-editable
*/

:root {
  --navy: #03172f;
  --navy-light: #082442;
  --gold: #d1a04d;
  --cream: #f5efe2;
  --text-muted: #bfc5cc;
  --border: rgba(209, 160, 77, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--cream);
  font-family: "Montserrat", sans-serif;
}

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

img {
  max-width: 100%;
}

/* WordPress core accessibility class */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5em; }
.alignright { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

/* =========================
   NAVIGATION
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 23, 47, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

nav {
  max-width: 1200px;
  height: 64px;
  margin: auto;
  padding: 0 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.logo img {
  display: block;
  max-height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;

  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  transition: 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.book-button {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 19px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  margin: 5px;
}

/* =========================
   HERO
========================= */

.hero {
  height: 650px;
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
}

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

  text-align: center;
  margin-top: 50px;
}

.eyebrow {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(55px, 9vw, 100px);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 0.9;
}

.ornament {
  color: var(--gold);
  font-size: 32px;
  margin: 14px 0;
}

.hero h2 {
  color: var(--gold);
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.13em;
}

.hero-description {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.7;
}

.button {
  display: inline-block;
  margin-top: 25px;

  background: var(--gold);
  color: #06182e;

  padding: 13px 24px;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

/* =========================
   MENU
========================= */

.menu-section {
  padding: 130px 22px 70px;
  background: var(--navy);
}

.menu-title {
  text-align: center;
  margin-bottom: 30px;
}

.menu-title h2 {
  color: var(--gold);
  font-size: 36px;
  letter-spacing: 0.1em;
}

.title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.title-line span {
  width: 70px;
  height: 1px;
  background: var(--gold);
}

/* FILTER BUTTONS */

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.filter {
  border: 1px solid var(--border);
  background: transparent;

  color: white;

  border-radius: 30px;

  padding: 8px 23px;

  font-family: inherit;
  font-size: 13px;
  font-weight: 600;

  text-transform: uppercase;
  cursor: pointer;

  transition: 0.2s;
}

.filter:hover,
.filter.active {
  background: var(--gold);
  color: #06182e;
}

.menu-container {
  max-width: 1250px;
  margin: auto;
}

.category {
  margin-bottom: 30px;
}

.category-title {
  text-align: center;

  color: var(--gold);

  font-size: 23px;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  margin-bottom: 12px;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.food-card {
  overflow: hidden;

  background: var(--navy-light);

  border: 1px solid var(--border);
  border-radius: 6px;

  text-align: center;

  transition: 0.25s;
}

.food-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.food-card img {
  display: block;

  width: 100%;
  aspect-ratio: 1.25 / 1;

  object-fit: cover;
}

.food-name {
  display: block;

  min-height: 38px;

  padding: 9px 4px;

  font-size: 13px;
  font-weight: 500;

  line-height: 1.25;
}

/* =========================
   ABOUT
========================= */

.about {
  display: grid;
  grid-template-columns: 40% 60%;

  min-height: 420px;

  border-top: 1px solid var(--gold);
}

.about-image {
  background-size: cover;
  background-position: center;
}

.about-content {
  padding: 65px 8%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: var(--navy-light);
}

.about-content h2 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.about-text {
  max-width: 600px;

  color: var(--text-muted);

  font-size: 16px;
  line-height: 1.9;
}

/* =========================
   ABOUT FEATURES
========================= */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-top: 42px;
  gap: 30px;
}

.feature {
  text-align: center;
  min-width: 0;
}

.feature strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.25;
  white-space: nowrap;
}

/* =========================
   CONTACT
========================= */

.contact {
  display: grid;
  grid-template-columns: 30% 70%;

  border-top: 1px solid var(--border);
}

.contact-info {
  padding: 55px 10%;
}

.contact-info h2 {
  font-size: 46px;
  margin-bottom: 30px;
}

.contact-row {
  display: flex;
  gap: 15px;

  margin-bottom: 18px;

  font-size: 16px;
}

.contact-icon {
  color: var(--gold);
  font-size: 26px;
}

.contact-row p {
  color: #ddd;
  line-height: 1.5;
}

.map {
  min-height: 400px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;

  border: 0;

  filter: saturate(0.8);
}

/* =========================
   FOOTER
========================= */

footer {
  border-top: 1px solid var(--border);

  padding: 40px 7%;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;

  gap: 50px;
}

footer h4 {
  color: var(--gold);

  font-size: 13px;

  margin-bottom: 12px;

  letter-spacing: 0.08em;
}

footer p,
footer a,
footer small {
  color: var(--text-muted);

  font-size: 13px;

  line-height: 1.8;
}

footer a {
  display: block;
}

footer a:hover {
  color: var(--gold);
}

.footer-logo {
  color: white;

  font-size: 30px;
  font-weight: 700;

  letter-spacing: 0.2em;
}

.copyright {
  grid-column: 1 / -1;

  text-align: center;

  border-top: 1px solid rgba(255,255,255,0.08);

  padding-top: 18px;

  color: #777;

  font-size: 12px;
}

/* =========================
   BASIC BLOG / SINGLE POST FALLBACK
========================= */

.site-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 140px 7% 80px;
}

.site-content article {
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 30px;
}

.site-content h1,
.site-content h2 {
  color: var(--cream);
}

.site-content a {
  color: var(--gold);
}

.site-content .entry-meta,
.site-content .entry-content {
  color: var(--text-muted);
  margin-top: 15px;
  line-height: 1.8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .nav-links {
    display: none;

    position: absolute;

    top: 64px;
    left: 0;
    right: 0;

    background: var(--navy);

    flex-direction: column;

    gap: 0;

    padding: 15px 25px 25px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
  }

  .book-button {
    text-align: center;
  }

  .hamburger {
    display: block;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 350px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 550px) {

  nav {
    padding: 0 18px;
  }

  .logo {
    font-size: 26px;
  }

  .hero {
    height: 650px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .filters {
    gap: 6px;
  }

  .filter {
    padding: 7px 13px;
  }

  .food-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 360px;
  }

  .menu-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .about-content {
    padding: 50px 25px;
  }

  .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .feature strong {
    font-size: 14px;
    white-space: normal;
  }

  .contact-info {
    padding: 45px 25px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 40px 25px;
  }
}

/* Editable menu item details */
.food-card-info {
  padding: 15px 16px 18px;
}
.food-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.food-price {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}
.food-description {
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.65;
}
.food-card .food-name {
  min-height: 0;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
}


/* =========================
   GLOBAL LARGE TYPOGRAPHY OVERRIDE
========================= */
body {
  font-size: 18px;
}

.hero-description { font-size: 17px; }
.menu-title h2 { font-size: 36px; }
.filter { font-size: 13px; padding: 10px 25px; }
.category-title { font-size: 23px; }
.food-card .food-name { font-size: 17px; }
.food-price { font-size: 19px; }
.food-description { font-size: 16px; line-height: 1.65; }
.about-content h2, .contact-info h2 { font-size: 48px; }
.about-text { font-size: 17px; line-height: 1.75; }
.feature strong { font-size: 13px; }
.contact-row { font-size: 16px; }
footer h4 { font-size: 13px; }
footer p, footer a, footer small { font-size: 14px; }
.copyright { font-size: 12px; }

@media (max-width: 550px) {
  .hero h1 { font-size: 58px; }
  .hero h2 { font-size: 19px; }
  .hero-description { font-size: 16px; }
  .menu-title h2 { font-size: 30px; }
  .category-title { font-size: 20px; }
  .food-card .food-name { font-size: 17px; }
  .food-description { font-size: 15px; }
  .about-content h2, .contact-info h2 { font-size: 38px; }
  .about-text { font-size: 16px; }
  .feature strong { font-size: 12px; }
  .contact-row { font-size: 15px; }
  footer p, footer a, footer small { font-size: 14px; }
}
