/* ============================================
   JAMESON'S LOUNGE — Stylesheet
   Palette: Charcoal (#3D3D3D) + Coral (#F4A261)
   Fonts: Playfair Display + Inter
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #3D3D3D;
  background-color: #FDF8F5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #3D3D3D;
  color: #FDF8F5;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
  color: #3D3D3D;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F4A261;
  margin-bottom: 0.75rem;
}

.section-eyebrow-center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.section-title-center {
  text-align: center;
}

.section-title-left {
  text-align: left;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.8rem 1.75rem;
  border-radius: 6px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: #F4A261;
  color: #3D3D3D;
  border-color: #F4A261;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #e08e4a;
  border-color: #e08e4a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244, 162, 97, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: #3D3D3D;
  border-color: #3D3D3D;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #3D3D3D;
  color: #FDF8F5;
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: #F4A261;
  border-color: #F4A261;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: #F4A261;
  color: #3D3D3D;
  transform: translateY(-1px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(253, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 61, 61, 0.08);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(61, 61, 61, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #3D3D3D;
  text-decoration: none;
}

.nav-logo-text {
  letter-spacing: 0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #3D3D3D;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #F4A261;
  transition: width 0.25s ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #F4A261;
}

.nav-cta {
  background-color: #3D3D3D;
  color: #FDF8F5 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transition: background-color 0.2s, transform 0.2s !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: #F4A261;
  color: #3D3D3D !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #3D3D3D;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #FDF8F5;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F4A261;
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #3D3D3D;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #5A5A5A;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(61, 61, 61, 0.12);
  aspect-ratio: 640 / 800;
}

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

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 3px solid #F4A261;
  border-radius: 12px;
  z-index: -1;
  opacity: 0.5;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 6rem 0;
  background-color: #F7EDE6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 61, 61, 0.1);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 640 / 480;
}

.about-content p {
  color: #5A5A5A;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(61, 61, 61, 0.12);
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #F4A261;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: #7A7A7A;
  letter-spacing: 0.03em;
}

/* ---------- SPECIALTIES ---------- */
.specialties {
  padding: 6rem 0;
  background-color: #FDF8F5;
}

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

.specialty-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(61, 61, 61, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(61, 61, 61, 0.08);
}

.specialty-card-icon {
  margin-bottom: 1.25rem;
}

.specialty-card-title {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
  color: #3D3D3D;
}

.specialty-card p {
  font-size: 0.9375rem;
  color: #5A5A5A;
  line-height: 1.7;
}

/* ---------- PRODUCTS ---------- */
.products {
  padding: 6rem 0;
  background-color: #3D3D3D;
}

.products-header {
  margin-bottom: 3rem;
}

.products-header .section-eyebrow {
  color: #F4A261;
}

.products-header .section-title {
  color: #FDF8F5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 480 / 360;
  cursor: pointer;
}

.product-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 61, 61, 0.85) 0%, rgba(61, 61, 61, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-item:hover .product-item-overlay {
  opacity: 1;
}

.product-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F4A261;
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #FDF8F5;
  margin-bottom: 0.35rem;
}

.product-item-overlay p {
  font-size: 0.875rem;
  color: rgba(253, 248, 245, 0.75);
  line-height: 1.5;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 6rem 0;
  background-color: #F7EDE6;
}

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

.testimonial-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(61, 61, 61, 0.06);
  position: relative;
}

.testimonial-quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #5A5A5A;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: #3D3D3D;
}

.testimonial-location {
  font-size: 0.8125rem;
  color: #9A9A9A;
}

/* ---------- VISIT ---------- */
.visit {
  padding: 6rem 0;
  background-color: #FDF8F5;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.visit-info .section-title {
  margin-bottom: 2rem;
}

.visit-address {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  color: #5A5A5A;
  line-height: 1.6;
}

.visit-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail a {
  color: #F4A261;
  font-weight: 500;
  transition: color 0.2s;
}

.visit-detail a:hover {
  color: #e08e4a;
  text-decoration: underline;
}

.visit-hours {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  color: #5A5A5A;
}

.visit-hours strong {
  color: #3D3D3D;
  display: block;
  margin-bottom: 0.25rem;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.visit-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(61, 61, 61, 0.1);
}

.visit-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 640 / 520;
}

.visit-map-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(61, 61, 61, 0.9);
  backdrop-filter: blur(8px);
  color: #FDF8F5;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background-color: #3D3D3D;
  color: rgba(253, 248, 245, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FDF8F5;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #F4A261;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(253, 248, 245, 0.7);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #F4A261;
}

.footer-contact address {
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer-contact a {
  color: #F4A261;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #e08e4a;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 248, 245, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(253, 248, 245, 0.4);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2rem;
  }

  .about-grid {
    gap: 2.5rem;
  }

  .specialties-grid {
    gap: 1.5rem;
  }

  .testimonials-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FDF8F5;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 100;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 1.125rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0 3rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-image-accent {
    display: none;
  }

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

  .about-image-wrap {
    max-width: 560px;
    margin: 0 auto;
  }

  .about-stats {
    justify-content: flex-start;
  }

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

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

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

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .visit-map {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-headline {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .visit-actions {
    flex-direction: column;
  }

  .visit-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
