/* ============================================
   The Hall At Talianos — Styles
   Burgundy + Blush | Cormorant Garamond + Inter
   ============================================ */

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

:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5C1F2B;
  --burgundy-light: #9A3D4E;
  --blush: #F5E6D0;
  --blush-light: #FBF5EE;
  --blush-dark: #E8D0B8;
  --cream: #FDF9F4;
  --white: #FFFFFF;
  --text-dark: #1A1210;
  --text-mid: #4A3F3A;
  --text-light: #7A6F6A;
  --line: #E8DDD4;
  --line-light: #F0E8DF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-dark);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- Typography --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

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

.section-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.btn--primary:hover {
  background-color: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

.btn--ghost {
  background-color: transparent;
  color: var(--burgundy);
  border-color: var(--burgundy);
}

.btn--ghost:hover {
  background-color: var(--burgundy);
  color: var(--white);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background-color: var(--white);
  color: var(--burgundy);
  border-color: var(--white);
}

.btn--full {
  width: 100%;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(253, 249, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-light);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.06);
}

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

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background-color: var(--burgundy);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--blush);
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.logo--light .logo-text {
  color: var(--blush);
}

.logo--light .logo-mark {
  background-color: var(--blush);
}

.logo--light .logo-mark::after {
  border-color: var(--burgundy);
}

/* --- Navigation --- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-menu a:not(.btn):hover {
  color: var(--burgundy);
}

.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--burgundy);
  transition: width var(--transition);
}

.nav-menu a:not(.btn):hover::after {
  width: 100%;
}

/* --- Nav Toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-dark);
  transition: all var(--transition);
  transform-origin: center;
}

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

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

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

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 16, 0.45) 0%,
    rgba(26, 18, 16, 0.55) 50%,
    rgba(26, 18, 16, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 72px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  color: rgba(245, 230, 208, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 230, 208, 0.6);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(245, 230, 208, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* --- About --- */
.about {
  padding: var(--space-2xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-content {
  padding: var(--space-md) 0;
}

.about-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--burgundy);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background-color: var(--line);
}

/* --- Products --- */
.products {
  padding: var(--space-2xl) 0 var(--space-xl);
  background-color: var(--blush-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line-light);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(123, 45, 59, 0.1);
  border-color: var(--blush-dark);
}

.product-card-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
  transform: scale(1.03);
}

.product-card-image {
  overflow: hidden;
}

.product-card-content {
  padding: var(--space-md);
}

.product-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-card-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* --- Divider / Quote --- */
.divider {
  padding: var(--space-xl) 0;
  background-color: var(--burgundy);
}

.divider-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.divider-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--blush);
  line-height: 1.5;
}

/* --- Visit --- */
.visit {
  padding: var(--space-2xl) 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.visit-detail {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line-light);
}

.visit-detail:last-of-type {
  border-bottom: none;
}

.visit-icon {
  width: 24px;
  height: 24px;
  color: var(--burgundy);
  flex-shrink: 0;
  margin-top: 4px;
}

.visit-detail-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
}

.visit-detail p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.visit-detail a {
  color: var(--burgundy);
  transition: color var(--transition);
}

.visit-detail a:hover {
  color: var(--burgundy-dark);
  text-decoration: underline;
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 400px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* --- Contact --- */
.contact {
  padding: var(--space-2xl) 0;
  background-color: var(--blush-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-text {
  padding-top: var(--space-sm);
}

.contact-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--burgundy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-success {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--burgundy);
  text-align: center;
  padding: var(--space-sm);
  background-color: rgba(123, 45, 59, 0.06);
  border-radius: var(--radius-sm);
  margin-top: var(--space-xs);
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: var(--blush);
}

.footer-inner {
  padding: var(--space-xl) 0 var(--space-lg);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  color: rgba(245, 230, 208, 0.6);
  line-height: 1.7;
  margin-top: var(--space-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blush-dark);
  margin-bottom: var(--space-sm);
}

.footer-col p,
.footer-col a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(245, 230, 208, 0.6);
  line-height: 1.8;
}

.footer-col a:hover {
  color: var(--blush);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 230, 208, 0.1);
  padding: var(--space-md) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: rgba(245, 230, 208, 0.4);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid,
  .visit-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 360px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-links {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: rgba(253, 249, 244, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

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

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .stat-divider {
    display: none;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-line {
    animation: none;
    opacity: 0.6;
  }
}
