/* =============================================
   PATINE - Wine Bistro Antwerp
   Design System & Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Oswald:wght@400;500;600;700&family=Sue+Ellen+Francisco&display=swap');

/* --- CSS Variables (Design Tokens) --- */
:root {
  --primary: #345750;
  --primary-rgb: 52, 87, 80;
  --secondary: #2D2723;
  --secondary-rgb: 45, 39, 35;
  --accent: #C5A480;
  --accent-hover: #b8956d;
  --gold: #c3a27c;
  --cream: #FAF1E3;
  --text: #171412;
  --text-light: #666666;
  --white: #FFFFFF;
  --white-soft: #f6e7d0;
  --divider: #dedede;
  --body-bg: #ffffff;

  --font-heading: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-script: 'Sue Ellen Francisco', cursive;

  --max-width: 1200px;
  --header-height: 80px;
  --radius: 5px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.67;
  letter-spacing: 0.01em;
  color: var(--text-light);
  background: var(--body-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
h4 { font-size: 25px; }
h5 { font-size: 22px; }
h6 { font-size: 16px; }

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

/* --- Top Bar --- */
.top-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 10px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-item i {
  color: var(--primary);
  font-size: 18px;
}

.top-bar-item .label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.top-bar-item .value {
  color: #ccc;
  font-size: 14px;
}

/* --- Navigation --- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--secondary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-width: 180px;
  height: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-links li a {
  display: block;
  padding: 0 22px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  line-height: var(--header-height);
  transition: color var(--transition);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
}

/* Dropdown */
.nav-links li {
  position: relative;
}

.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  border-radius: 25px;
  min-width: 180px;
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all var(--transition);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown a {
  padding: 8px 25px;
  line-height: 1.4;
  font-size: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.nav-links .dropdown a:last-child {
  border-bottom: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: 35px;
  color: var(--white-soft);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 65px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  color: var(--white);
  max-width: 650px;
  line-height: 1.7;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0 40px;
  height: 50px;
  line-height: 50px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.25px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

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

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

.btn-teal:hover {
  background: var(--secondary);
  color: var(--white);
}

/* --- Wave Divider --- */
.wave-divider {
  position: relative;
  margin-top: -80px;
  z-index: 10;
}

.wave-divider img {
  width: 100%;
  display: block;
}

/* --- Section Styles --- */
.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-dark {
  background: var(--secondary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-cream {
  background: var(--cream);
}

.section-teal {
  background: var(--primary);
  color: var(--white);
}

.section-teal h2,
.section-teal h3,
.section-teal h4 {
  color: var(--white);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .script-subtitle {
  font-family: var(--font-script);
  font-size: 35px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 42px;
  letter-spacing: 0.03em;
}

.section-header p {
  max-width: 600px;
  margin: 15px auto 0;
  font-size: 16px;
  line-height: 1.7;
}

/* --- About Section --- */
.about-section {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.about-section .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text {
  background: var(--white);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 60px 50px;
  margin: 50px 0 0 -60px;
}

.about-text .script-subtitle {
  font-family: var(--font-script);
  font-size: 35px;
  color: var(--accent);
  display: block;
  margin-bottom: 5px;
}

.about-text h2 {
  font-size: 38px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-info-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  margin: 70px 0 100px 0;
  color: var(--white);
}

.about-info-box h3 {
  color: var(--white);
  font-size: 22px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.about-info-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.about-info-row .icon-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.about-info-row .info-content .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.about-info-row .info-content .value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

.about-image-wrapper {
  text-align: right;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 570px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.7;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

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

/* --- Menu Page --- */
.page-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--secondary);
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,12,0.5);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-content .script-subtitle {
  font-family: var(--font-script);
  font-size: 35px;
  color: var(--white-soft);
  display: block;
  margin-bottom: 5px;
}

.page-hero-content h1 {
  font-size: 60px;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 15px;
}

.breadcrumb {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--gold);
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* Menu Display */
.menu-display {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.menu-display img {
  max-width: 800px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--divider);
}

.contact-info-card:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
}

.contact-info-card h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text);
}

.contact-info-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 500;
}

.contact-info-card a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* Contact Map */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Hours Table --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.hours-table tr {
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.hours-table td {
  padding: 10px 0;
  font-size: 15px;
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--white);
}

.hours-table td:last-child {
  text-align: right;
  color: rgba(255,255,255,0.7);
}

/* --- About Page Content --- */
.about-content-section {
  padding: 80px 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content-text h2 {
  font-size: 40px;
  margin-bottom: 25px;
}

.about-content-text .accent-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 25px;
}

.about-content-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-content-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner .bg {
  position: absolute;
  inset: 0;
  background: var(--secondary);
  z-index: 0;
}

.cta-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-banner-content h2 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 15px;
}

.cta-banner-content p {
  font-size: 17px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.85);
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0 0;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-logo img {
  max-width: 230px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.7;
  color: #DEDEDE;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 20px;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 3px;
}

.footer-contact-item .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  display: block;
  margin-bottom: 3px;
}

.footer-contact-item .value {
  font-size: 15px;
  color: var(--white);
}

.footer-contact-item a {
  color: var(--white);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .hero-title { font-size: 50px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-text {
    margin: 0;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
  }
  .about-image-wrapper {
    text-align: center;
  }
  .about-image-wrapper img {
    max-width: 100%;
  }
  .about-info-box {
    margin: 40px 0;
  }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 8px;
  }
  .top-bar-left {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--secondary);
    flex-direction: column;
    padding: 100px 30px 30px;
    transition: right var(--transition);
    z-index: 150;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links li a {
    padding: 12px 0;
    line-height: 1.4;
    font-size: 18px;
  }
  .nav-links li a::after { display: none; }
  .nav-links .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    min-width: auto;
    display: none;
  }
  .nav-links li.dropdown-open .dropdown { display: block; }
  .hero-title { font-size: 35px; letter-spacing: 1px; }
  .hero-subtitle { font-size: 28px; }
  .hero-desc { font-size: 15px; }
  .hero { min-height: 500px; }
  .page-hero { height: 300px; }
  .page-hero-content h1 { font-size: 38px; }
  .section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .btn { padding: 0 30px; font-size: 13px; }
  .about-text { margin-left: 0; }
  .contact-info-card { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 22px; }
  .section-header h2 { font-size: 28px; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
