/* Arome Café - Matching Reference Site Style */
/* Based on https://aromeartcafe.com */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Mr+De+Haviland&display=swap');

:root {
  --primary-color: #2f4f4f;
  --bg-light: rgb(216, 250, 250);
  --text-color: #575757;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
  background: #fff;
}

/* HEADER */
header {
  background: #fff;
  padding: 32px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 84px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  letter-spacing: 0.214em;
  text-transform: uppercase;
  color: #151515;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.phone-number {
  font-size: 22px;
  color: var(--primary-color);
  text-decoration: none;
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* HERO SECTION */
.hero-section {
  padding: 80px 24px;
  background: #fff;
}

.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.hero-image {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  min-height: 500px;
}

.hero-content {
  flex: 1 1 50%;
  background: var(--bg-light);
  padding: 60px 40px;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h2 {
  font-family: 'Crimson Text', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.125em;
  text-transform: none;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.hero-content h1 {
  font-family: 'Crimson Text', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #151515;
}

.hero-content p {
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 0;
  color: var(--text-color);
}

/* SECTIONS */
section {
  padding: 72px 24px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

section h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.125em;
  color: #1b1b1b;
  font-weight: 600;
}

.menu-category-section {
  margin-bottom: 64px;
}

.menu-category-section:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--primary-color);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.category-description {
  text-align: center;
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--text-color);
}

/* MENU GRID */
.menu-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-right: -12px;
  margin-left: -12px;
  margin-bottom: -24px;
  margin-top: 40px;
}

.menu-card {
  flex-shrink: 1;
  flex-basis: 100%;
  max-width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin-bottom: 24px;
}

/* Responsive card layout */
@media (min-width: 768px) {
  .menu-card {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .menu-card {
    flex-basis: 33.33333%;
    max-width: 33.33333%;
  }
}

.menu-card-wrapper {
  display: flex;
  flex-direction: column;
  background: rgb(255, 255, 255);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.menu-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.menu-card-image-wrapper {
  position: relative;
  width: 100%;
  /* Removed fixed height to allow natural image proportions */
  overflow: visible;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.menu-card-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 300px;
  max-width: 400px;
  /* Use object-fit: contain to preserve full cropped image */
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  /* Removed transform on hover to prevent any distortion */
}

.menu-card-content {
  flex-shrink: 1;
  flex-basis: 100%;
  padding: 12px 14px;
  text-align: center;
  background-color: rgb(255, 255, 255);
}

.menu-card-content h4 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #333;
  line-height: 1.5;
}

.menu-card-content .price {
  font-size: 1rem;
  font-weight: bold;
  color: #c47b00;
  margin-bottom: 8px;
  display: block;
}

.menu-card-content p {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* CONTACT INFO SECTION */
.contact-info-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-info-content {
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-item h3 {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--primary-color);
}

.contact-item p {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin: 8px 0;
}

.phone-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  display: inline-block;
}

.phone-link:hover {
  color: #1a3333;
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem !important;
  color: #666 !important;
  font-style: italic;
  margin-top: 4px !important;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.contact-map iframe {
  display: block;
  min-height: 350px;
}

@media (max-width: 767px) {
  .contact-map iframe {
    min-height: 300px;
    height: 300px !important;
  }

  .contact-item {
    padding: 16px;
  }

  .contact-item h3 {
    font-size: 1.2rem;
  }

  .phone-link {
    font-size: 1.2rem;
  }
}

/* FOOTER */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 14px;
}

/* SOCIAL LINKS */
.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

.social-links a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* SVG Icon Styling */
.social-links a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: all 0.3s ease;
}

/* Facebook Brand Color */
.social-links a.facebook-icon {
  background: #1877f2;
  color: #fff;
}

.social-links a.facebook-icon:hover {
  background: #0d65d9;
  transform: translateY(-4px) scale(1.05);
}

/* Instagram Gradient Effect */
.social-links a.instagram-icon {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-links a.instagram-icon:hover {
  background: linear-gradient(45deg, #e08423 0%, #d6582c 25%, #cc1733 50%, #bc1356 75%, #ac0878 100%);
  transform: translateY(-4px) scale(1.05);
}

/* Ensure icons are centered */
.social-links a.social-icon {
  position: relative;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .social-links {
    gap: 20px;
  }

  .social-links a {
    width: 44px;
    height: 44px;
  }

  .social-links a svg {
    width: 22px;
    height: 22px;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .hamburger {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    z-index: 999;
  }

  .main-nav.active {
    max-height: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .main-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .phone {
    order: 3;
    display: none;
  }

  .hero-section {
    padding: 48px 16px;
  }

  .hero-container {
    flex-direction: column;
    gap: 32px;
  }

  .hero-image img {
    max-height: 400px;
  }

  .hero-content {
    padding: 40px 24px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content h2 {
    font-size: 18px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 16px;
  }
}

@media (max-width: 599px) {
  .menu-card {
    max-width: 90%;
    margin: 0 auto 24px;
  }

  /* Removed fixed height constraint to preserve original image proportions on mobile */
}

/* ABOUT SECTION */
.about-content {
  max-width: 1000px;
  margin: 40px auto 0;
  display: flex;
  gap: 48px;
  align-items: center;
}

.about-image {
  flex: 1 1 45%;
  min-width: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: block;
  object-fit: cover;
  max-height: 500px;
}

.about-text {
  flex: 1 1 55%;
  text-align: left;
}

/* Responsive About Section */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-image,
  .about-text {
    flex: 1 1 100%;
  }

  .about-text {
    text-align: center;
  }

  .about-image img {
    max-height: 400px;
  }
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 32px; }
.mt-5 { margin-top: 40px; }
