/*
Theme Name: Chopped SA
Theme URI: https://chopped-sa.com
Author: Chopped Saudi Arabia
Description: Custom light gourmet-butcher theme for Chopped SA
Version: 1.1
*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Raleway:wght@300;400;600&display=swap');

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

:root {
  --bg: #ffffff;
  --dark: #f7f6f4;
  --ink: #1a1a1a;
  --brown: #7a5230;
  --brown-light: #9c7248;
  --gray: #888;
  --border: #e5e2dc;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

a { color: inherit; }

/* HEADER (logo centered, nav below) */
.site-header {
  padding: 32px 40px 0;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.logo img { max-height: 90px; width: auto; object-fit: contain; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--ink);
  letter-spacing: 3px;
  text-decoration: none;
}

nav {
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links li a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li.current-menu-item a {
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
  padding-bottom: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ink);
}

/* PAGE WRAPPER */
.page { background: var(--bg); }

/* HERO — dark image band under the header */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 40px;
  background: linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.7)),
              url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=1600') center/cover;
  color: #f5f5f0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 400;
  color: #e8c97a;
  direction: rtl;
}

/* INTRO TEXT SECTION */
.intro-section {
  padding: 70px 40px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.intro-section .hero-tagline {
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 20px;
  font-weight: 700;
}

.divider {
  width: 50px;
  height: 1px;
  background: var(--brown);
  margin: 24px auto;
}

.hero-text {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 24px;
}

.hero-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brown);
  font-size: 17px;
}

/* ARABIC SECTION */
.arabic-section {
  background: var(--dark);
  padding: 70px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.arabic-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--brown);
  margin-bottom: 24px;
  direction: rtl;
}

.arabic-section p {
  font-size: 15px;
  color: #555;
  max-width: 640px;
  margin: 0 auto;
  direction: rtl;
  line-height: 2;
}

/* FOOTER WRAPPER (matches original: light gray bg, text+icons row, then table) */
.footer-info-wrap {
  background: #f7f6f4;
  padding: 40px 40px 0;
}

/* SOCIALS row: text left, icons right, same line */
.social-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.social-bar p {
  font-size: 12px; text-transform: uppercase;
  color: var(--ink); letter-spacing: 1px; margin: 0;
}
.social-links { display: flex; gap: 14px; }
.social-links a {
  color: #555; text-decoration: none;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
}
.social-links a:hover { opacity: 0.65; }

/* INFO BAR (3-column, no borders between — matches original) */
.info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 0 40px;
}
.info-cell { background: transparent; padding: 0 20px; text-align: left; border: none; }
.info-cell:first-child { padding-left: 0; }
.info-cell h4 {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); margin-bottom: 12px; font-weight: 700;
}
.info-cell p { font-size: 13px; color: #666; line-height: 1.9; }
.info-cell .branch-line { margin-bottom: 16px; }
.info-cell .branch-line:last-child { margin-bottom: 0; }
.info-cell .branch-line a {
  color: var(--brown); text-decoration: none;
  transition: color 0.3s;
}
.info-cell .branch-line a:hover { color: var(--brown-light); text-decoration: underline; }

/* FOOTER (copyright line) */
footer { background: #f7f6f4; padding: 20px 40px 24px; text-align: center; }
footer p { font-size: 11px; color: var(--gray); letter-spacing: 1px; }

/* PAGE HEADER (inner pages) */
.page-header { padding: 60px 40px 30px; text-align: center; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--ink); margin-bottom: 12px;
}
.page-header p { color: var(--brown); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }

/* BRANCHES */
.branches {
  padding: 20px 40px 80px; max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
.branch-card { border: 1px solid var(--border); padding: 32px 24px; background: var(--dark); }
.branch-card h3 { font-family: 'Playfair Display', serif; color: var(--brown); font-size: 18px; margin-bottom: 8px; }
.branch-card .city { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.branch-card p { font-size: 13px; color: #555; line-height: 1.8; }
.branch-card .phone { color: var(--brown); margin-top: 12px; font-size: 14px; }

/* LOCATION PAGE (with maps) */
.locations-wrap { max-width: 1000px; margin: 0 auto; padding: 0 40px 80px; }
.loc-block { padding: 40px 0; border-bottom: 1px solid var(--border); }
.loc-block:last-child { border-bottom: none; }
.loc-city { font-size: 12px; color: var(--gray); margin-bottom: 6px; }
.loc-block h3 { font-family: 'Playfair Display', serif; color: var(--brown); font-size: 20px; margin-bottom: 8px; }
.loc-addr { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 10px; }
.loc-phone a { color: var(--brown); font-size: 14px; text-decoration: none; }
.loc-map { margin-top: 20px; }
.loc-map iframe { width: 100%; height: 320px; border: 0; filter: grayscale(15%); }
@media (max-width: 600px) { .locations-wrap { padding: 0 20px 60px; } .loc-map iframe { height: 240px; } }

/* GALLERY */
.gallery-grid { padding: 20px 40px 80px; columns: 3; column-gap: 12px; max-width: 1100px; margin: 0 auto; }
.gallery-grid img { width: 100%; margin-bottom: 12px; display: block; }

/* CONTACT */
.contact-wrap { padding: 20px 40px 80px; max-width: 700px; margin: 0 auto; }
.contact-wrap h2 { font-family: 'Playfair Display', serif; color: var(--brown); font-size: 22px; margin-bottom: 20px; }
.contact-wrap p { font-size: 14px; color: #555; margin-bottom: 12px; line-height: 1.8; }
.contact-wrap a { color: var(--brown); text-decoration: none; }

/* GENERIC PAGE CONTENT (WP editor content) */
.entry-content {
  max-width: 700px; margin: 0 auto; padding: 20px 40px 80px;
  font-size: 15px; color: #444;
}
.entry-content h1, .entry-content h2, .entry-content h3 {
  font-family: 'Playfair Display', serif; color: var(--brown); margin: 24px 0 12px;
}
.entry-content p { margin-bottom: 16px; line-height: 1.9; }
.entry-content img { max-width: 100%; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-header { padding: 24px 20px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; position: absolute; top: 24px; right: 20px; }
  .nav-links.open {
    display: flex; flex-direction: column; position: relative;
    padding: 20px 0; gap: 18px; border: none;
  }
  nav { flex-wrap: wrap; }
  .info-bar { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .hero { padding: 70px 20px; }
  .branches { padding: 20px 20px 60px; }
}
@media (max-width: 480px) { .gallery-grid { columns: 1; } }
