/*
Theme Name: i8 Commune Coming Soon
Theme URI: https://www.instagram.com/i8commune
Author: Rubaish
Author URI: https://www.instagram.com/i8commune
Description: A sleek coming-soon theme for i8 Commune by Rubaish in I-8 Markaz, Islamabad.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: i8-commune
Tags: custom-logo, one-column, responsive-layout, food-and-drink
*/

:root {
  --ink: #151313;
  --muted: #6e625b;
  --paper: #fffaf3;
  --panel: #ffffff;
  --spice: #a7351e;
  --spice-dark: #742512;
  --leaf: #1d5b45;
  --gold: #d59b48;
  --line: rgba(21, 19, 19, 0.14);
  --shadow: 0 18px 60px rgba(44, 28, 16, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(213, 155, 72, 0.16), transparent 30%),
    linear-gradient(135deg, #fffaf3 0%, #f7efe5 45%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 243, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(167, 53, 30, 0.18);
}

.brand__name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.brand__meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--spice);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--spice);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(167, 53, 30, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--spice-dark);
  box-shadow: 0 16px 32px rgba(167, 53, 30, 0.28);
}

.button--ghost {
  background: #fff;
  color: var(--spice);
  border-color: rgba(167, 53, 30, 0.22);
  box-shadow: none;
}

.button--ghost:hover {
  color: #fff;
  border-color: var(--spice-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -24% 52%;
  height: 380px;
  background:
    linear-gradient(45deg, rgba(29, 91, 69, 0.08), rgba(167, 53, 30, 0.08)),
    repeating-linear-gradient(90deg, rgba(21, 19, 19, 0.08) 0 1px, transparent 1px 22px);
  border-radius: 50%;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: 24px 0 0;
  color: #4c433e;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.contact-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
}

.visual {
  position: relative;
  min-height: 470px;
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(21, 19, 19, 0.74), rgba(21, 19, 19, 0.22)),
    url("assets/i8logo.jpeg") center / cover no-repeat;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
}

.visual-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.visual-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-card h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.section {
  padding: 48px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.58);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.menu-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(36, 24, 14, 0.06);
}

.menu-card b {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(167, 53, 30, 0.1);
  color: var(--spice);
  font-size: 1.2rem;
}

.menu-card h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.info-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.info-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.info-band p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  margin-top: auto;
  padding: 26px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .site-header__inner {
    min-height: 70px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid,
  .info-band {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 360px;
  }

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

@media (max-width: 620px) {
  .site-header__inner,
  .section-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand__mark {
    width: 46px;
    height: 46px;
  }

  .brand__name {
    font-size: 1.25rem;
  }

  .brand__meta {
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .visual-card h2 {
    font-size: 1.8rem;
  }

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