/*
Theme Name: Oasis Mexican Grill SEO
Theme URI: https://www.oasismexicangrill.com/
Author: Codex
Description: SEO-ready WordPress theme for Oasis Mexican Grill with local landing page templates, restaurant schema, FAQ schema, mobile-friendly styling, and conversion-focused calls to action.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.6
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: oasis-seo
*/

:root {
  --ink: #1f241d;
  --forest: #304936;
  --leaf: #5f7d45;
  --masa: #fff3d8;
  --cream: #fffaf0;
  --clay: #b23d25;
  --sun: #f3a738;
  --peach: #f7c38c;
  --line: rgba(31, 36, 29, 0.14);
  --shadow: 0 24px 80px rgba(31, 36, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid rgba(31, 36, 29, 0.1);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  min-width: 0;
}

.brand img {
  height: 58px;
  width: auto;
}

.desktop-nav,
.header-actions,
.cta-row,
.quick-info,
.feature-strip,
.section-heading,
.press-grid,
.site-footer,
.site-footer nav {
  align-items: center;
  display: flex;
}

.desktop-nav {
  align-items: center;
  gap: 1.4rem;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
  min-width: 0;
}

.desktop-nav .menu,
.mobile-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li,
.mobile-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .menu {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 1.4rem;
  justify-content: center;
}

.desktop-nav a {
  display: block;
  line-height: 1.2;
}

.desktop-nav a,
.ghost-link {
  color: rgba(31, 36, 29, 0.72);
}

.desktop-nav a:hover,
.desktop-nav .current-menu-item > a,
.ghost-link:hover,
.site-footer a:hover {
  color: var(--clay);
}

.header-actions {
  gap: 0.8rem;
  justify-content: flex-end;
  min-width: 0;
}

.pill-link,
.button {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1;
  padding: 0.9rem 1.2rem;
}

.pill-link,
.button.primary {
  background: var(--clay);
  color: white;
}

.button.secondary {
  border: 1px solid rgba(255, 250, 240, 0.42);
  color: white;
}

.button.secondary-dark {
  border: 1px solid rgba(31, 36, 29, 0.28);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

.hero {
  background: var(--ink);
  color: white;
  display: grid;
  min-height: calc(100svh - 86px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.hero-media {
  min-height: 42rem;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  align-self: end;
  padding: clamp(2rem, 6vw, 5rem);
  min-width: 0;
}

.eyebrow {
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  line-height: 0.96;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 5rem);
}

h3 {
  font-size: 1.6rem;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.7;
  margin: 1.6rem 0 0;
  max-width: 38rem;
}

.cta-row {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.quick-info {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
}

.feature-strip {
  align-items: stretch;
  background: var(--clay);
  color: white;
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  letter-spacing: 0.14em;
  padding: 1rem clamp(1rem, 5vw, 4rem);
  text-transform: uppercase;
}

.feature-strip span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  text-align: center;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem);
  overflow: hidden;
}

.two-column,
.visit-section {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.story-copy {
  color: rgba(31, 36, 29, 0.72);
  font-size: 1.18rem;
  line-height: 1.8;
}

.section-heading {
  gap: 1.2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 12ch;
}

.section-heading > a {
  border-bottom: 2px solid var(--clay);
  color: var(--clay);
  font-weight: 800;
}

.menu-section,
.press-section,
.seo-section,
.faq-section {
  background: var(--masa);
}

.dish-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dish-card {
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dish-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.dish-card div {
  padding: 1.2rem;
}

.dish-card p {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 0.45rem;
}

.dish-card span {
  color: rgba(31, 36, 29, 0.66);
  line-height: 1.6;
}

.press-grid {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 1.5rem;
  justify-content: space-around;
  padding: 2rem;
}

.press-grid a {
  display: grid;
  min-height: 6rem;
  place-items: center;
}

.press-grid img {
  max-height: 64px;
  object-fit: contain;
  width: min(220px, 100%);
}

.seo-intro {
  color: rgba(31, 36, 29, 0.72);
  font-size: 1.12rem;
  line-height: 1.8;
  max-width: 62rem;
}

.area-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.area-grid a {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(31, 36, 29, 0.08);
  color: var(--ink);
  display: block;
  font-weight: 800;
  line-height: 1.35;
  min-height: 6rem;
  padding: 1.2rem;
}

.area-grid a:hover {
  border-color: rgba(178, 61, 37, 0.48);
  color: var(--clay);
}

.cards-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-card {
  border-radius: 12px;
  min-height: 24rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.action-card h2 {
  max-width: 9ch;
}

.action-card p:not(.eyebrow) {
  color: rgba(31, 36, 29, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 30rem;
}

.rewards {
  background: var(--peach);
}

.gift {
  background: #e7ead0;
}

.app-section {
  align-items: center;
  background: var(--forest);
  color: white;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1fr) auto;
}

.app-copy {
  min-width: 0;
}

.app-copy h2 {
  color: white;
  max-width: 11ch;
}

.app-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 42rem;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
  min-width: 0;
}

.store-badge {
  align-items: center;
  background: #050806;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: white;
  display: flex;
  gap: 0.75rem;
  min-height: 4.2rem;
  min-width: 12.5rem;
  padding: 0.75rem 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-badge:hover {
  border-color: rgba(255, 255, 255, 0.44);
  transform: translateY(-2px);
}

.store-badge svg {
  fill: currentColor;
  flex: 0 0 auto;
  height: 2rem;
  width: 2rem;
}

.store-badge span {
  display: grid;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.05;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.18rem;
}

.visit-section {
  background: var(--ink);
  color: white;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem;
}

.faq-grid h3 {
  font-size: 1.35rem;
  line-height: 1.1;
}

.faq-grid p {
  color: rgba(31, 36, 29, 0.7);
  line-height: 1.7;
  margin-bottom: 0;
}

.landing-main {
  background: var(--cream);
}

.landing-hero {
  background: var(--ink);
  color: white;
  padding: clamp(5rem, 11vw, 9rem) clamp(1rem, 5vw, 4rem);
}

.landing-hero h1 {
  max-width: 12ch;
}

.landing-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.16rem;
  line-height: 1.8;
  max-width: 46rem;
}

.landing-content {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr);
}

.landing-copy {
  color: rgba(31, 36, 29, 0.72);
  font-size: 1.12rem;
  line-height: 1.8;
}

.landing-copy h2 {
  color: var(--ink);
  margin-bottom: 1rem;
}

.landing-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.landing-list li {
  margin: 0.7rem 0;
}

.local-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.local-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.local-card p {
  color: rgba(31, 36, 29, 0.72);
  line-height: 1.7;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.66);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.breadcrumb:hover {
  color: white;
}

.visit-panel p,
.hours-panel {
  color: rgba(255, 255, 255, 0.74);
}

.visit-panel p {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 36rem;
}

.visit-panel a:not(.button) {
  color: white;
  font-weight: 800;
}

.hours-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.hours-panel h3 {
  color: white;
  margin-bottom: 1rem;
}

.hours-panel dl {
  margin: 0 0 2rem;
}

.hours-panel dl div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.hours-panel dt {
  color: white;
  font-weight: 800;
}

.hours-panel dd {
  margin: 0;
}

.site-footer {
  background: #121611;
  color: rgba(255, 255, 255, 0.7);
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem clamp(1rem, 5vw, 4rem);
}

.site-footer img {
  height: 58px;
  width: auto;
}

.site-footer p {
  margin: 0.8rem 0 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 800;
}

@media (max-width: 900px) {
  .desktop-nav,
  .ghost-link {
    display: none;
  }

  .menu-toggle {
    background: transparent;
    border: 0;
    display: grid;
    gap: 4px;
    min-height: 44px;
    min-width: 44px;
    padding: 0.65rem;
    place-content: center;
  }

  .menu-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    width: 22px;
  }

  .mobile-nav {
    background: var(--cream);
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
    padding-top: 0.8rem;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav .menu {
    display: grid;
  }

  .mobile-nav a {
    border-bottom: 1px solid var(--line);
    display: block;
    font-weight: 800;
    padding: 0.9rem 0;
  }

  .hero,
  .two-column,
  .app-section,
  .visit-section,
  .cards-row {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 48svh;
  }

  .hero-content {
    padding: 2rem 1.2rem 3rem;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    grid-column: 2;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .area-grid,
  .faq-grid,
  .landing-content {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .press-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .app-badges {
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 44px;
    max-width: 132px;
  }

  .pill-link {
    display: none;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 3.4rem);
    max-width: 9ch;
  }

  .quick-info,
  .feature-strip {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .feature-strip span {
    justify-content: flex-start;
    text-align: left;
  }

  .store-badge {
    width: 100%;
  }

  .hours-panel dl div {
    flex-direction: column;
  }
}
