/*
Theme Name: Skyline Laundry
Theme URI: https://skylinelaundry.com
Author: Skyline Laundry
Description: Custom multi-page WordPress theme for Skyline Laundry in Taylor, TX with restaurant-style dropdown navigation, pricing boards, photo gallery, events, and Customizer logo sizing.
Version: 9.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: skyline-laundry
*/

:root {
  --sky-blue: #0284c7;
  --sky-dark: #0369a1;
  --navy: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --border: #e2e8f0;
  --logo-height: 84px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--sky-blue);
  text-decoration: none;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Info Bar */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.top-bar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.top-bar-badge {
  background: rgba(2, 132, 199, 0.28);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.top-bar a {
  color: #fde68a;
  font-weight: 600;
}

/* Sticky Header & Restaurant-Style Navigation */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex-shrink: 0;
}

.brand-logo-img {
  height: var(--logo-height);
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--sky-blue);
  font-weight: 600;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover {
  background: #f0f9ff;
  color: var(--sky-blue);
}

.caret {
  font-size: 0.7rem;
  opacity: 0.75;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 285px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--navy);
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: #f0f9ff;
}

.dropdown-title {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.dropdown-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.header-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s;
}

.header-cta:hover {
  background: var(--amber-dark);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

/* Compact Hero Section (No Empty Blue Gap) */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #0369a1 100%);
  color: var(--white);
  padding: 36px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-grid.no-hero-image {
  grid-template-columns: 1fr;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  color: #bae6fd;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.08rem;
  color: #e0f2fe;
  margin-bottom: 22px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 8px;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--amber-dark);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.hero-pill {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 8px;
  color: #f0f9ff;
}

.hero-media-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

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

.hero-media-caption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.65);
}

/* Highlight Banner */
.highlight-strip {
  background: #f0f9ff;
  border-bottom: 1px solid #bae6fd;
  padding: 18px 0;
}

.highlight-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.highlight-box strong {
  color: var(--sky-dark);
  font-size: 1.05rem;
}

.highlight-box span {
  color: var(--slate);
  font-size: 0.95rem;
}

/* Sections & Cards */
.section {
  padding: 54px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-desc {
  color: var(--slate);
  font-size: 1.02rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.card-badge {
  display: inline-block;
  background: #e0f2fe;
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
  color: var(--navy);
}

.card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.price-list {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-top: 12px;
  padding-top: 12px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.95rem;
}

.price-list li:last-child {
  border-bottom: none;
}

.price-tag {
  font-weight: 800;
  color: var(--sky-dark);
}

.callout-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  border-radius: 14px;
  padding: 26px 30px;
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.callout-banner h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.callout-banner p {
  color: #e0f2fe;
  max-width: 680px;
}

/* Photo Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-caption {
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

/* Page Header for Subpages */
.page-banner {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0;
}

.page-banner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-banner p {
  color: #cbd5e1;
  max-width: 700px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fde68a;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mobile-toggle {
    display: inline-block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-top: 12px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-light);
    margin-top: 4px;
  }
}
