/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Coming Soon Banner */
.coming-soon-banner {
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  text-align: center;
  padding: 15px 0;
  position: fixed;
  top: 80px; /* Position directly under the header */
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.banner-text {
  font-weight: 700;
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
}

.banner-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 300;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: #8b4513;
}

h2 {
  font-size: 2.2rem;
  color: #8b4513;
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
  color: #a0522d;
}

h4 {
  font-size: 1.4rem;
  color: #a0522d;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Header and Navigation */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0; /* Header stays at the very top */
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.header-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo h1 {
  font-size: 1.8rem;
  color: #8b4513;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #8b4513;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #8b4513;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: #faf8f5; /* Warm beige background */
  padding: 150px 60px; /* Increased padding for taller hero */
  min-height: 60vh; /* Make hero take up 80% of viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1; /* Make hero section grow to fill available space */
  gap: 4rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-title {
  font-size: 2rem;
  color: #8b4513;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #665;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Hero Logo Mobile */
.hero-logo-mobile {
  display: none;
  width: 200px;
  height: auto;
  margin: 0 auto 1rem auto;
  object-fit: contain;
}

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

.coming-soon-info {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: rgba(139, 69, 19, 0.1);
  border-radius: 10px;
  border-left: 4px solid #8b4513;
}

.coming-soon-info p {
  color: #8b4513;
  font-style: italic;
  margin: 0;
}

/* Social Media Section */
.social-section {
  background-color: white;
  padding: 60px 0;
}

/* Social Feeds Layout */
.social-feeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.social-feed {
  text-align: center;
}

.social-feed h3 {
  color: #8b4513;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Instagram Feed */
.instagram-embed-container {
  margin: 0 auto;
  max-width: 500px;
  text-align: center;
  min-height: 425px;
}

.instagram-embed-container iframe {
  margin: 0 auto;
  max-width: 100%;
  height: 425px;
  min-height: 425px;
}

/* Facebook Posts Feed */
.facebook-posts-container {
  margin: 0 auto;
  max-width: 500px;
  text-align: center;
  min-height: 425px;
}

.facebook-posts-container .fb-page {
  margin: 0 auto;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.facebook-fallback {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 1rem;
  text-align: center;
}

.facebook-fallback p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.facebook-btn {
  background: #1877f2;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.facebook-btn:hover {
  background: #166fe5;
  color: white;
}

/* Instagram Skeleton Loader */
.instagram-skeleton {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  margin-right: 12px;
}

.skeleton-text {
  flex: 1;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 6px;
  margin-bottom: 8px;
}

.skeleton-line-short {
  width: 60%;
}

.skeleton-line-medium {
  width: 80%;
}

.skeleton-image {
  width: 100%;
  height: 425px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 15px;
}

.skeleton-content {
  margin-top: 15px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes skeleton-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

/* Facebook Skeleton Loader */
.facebook-skeleton {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  max-width: 500px;
}

/* Image Mural */
.image-mural {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 15px;
  width: 425px;
  height: 320px;
  perspective: 1000px;
}

.mural-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.mural-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.mural-large {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.mural-small {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.mural-small:nth-of-type(3) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.mural-medium {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.mural-medium:nth-of-type(5) {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
}

.mural-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Add subtle overlay for better text readability */
.mural-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(139, 69, 19, 0.1),
    rgba(160, 82, 45, 0.05)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

.mural-item:hover::after {
  opacity: 1;
}

/* Hero Logo */
.hero-logo {
  width: 400px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #8b4513;
  color: white;
}

.btn-primary:hover {
  background-color: #a0522d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #8b4513;
  border-color: #8b4513;
}

.btn-secondary:hover {
  background-color: #8b4513;
  color: white;
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 40px 0;
}

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

.section-header p {
  font-size: 1.2rem;
  color: #665;
  max-width: 600px;
  margin: 0 auto;
}

/* Error Section */
.error-section {
  background: linear-gradient(135deg, #f5f5dc 0%, #fff8dc 100%);
  padding: 180px 0 60px; /* Adjusted for header + banner */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  min-height: 60vh;
  gap: 4rem;
}

.error-content {
  flex: 1;
  max-width: 600px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.error-number {
  font-size: 8rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #8b4513;
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.error-title {
  font-size: 3rem;
  color: #8b4513;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.error-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
}

.error-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-info {
  padding: 1.5rem;
  background-color: rgba(139, 69, 19, 0.1);
  border-radius: 10px;
  border-left: 4px solid #8b4513;
}

.error-info p {
  color: #8b4513;
  font-style: italic;
  margin: 0;
}

.error-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  max-width: 500px;
}

.error-img {
  width: 350px;
  height: 280px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background-color: #8b4513;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #f5f5dc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #a0522d;
  color: #f5f5dc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .coming-soon-banner {
    padding: 10px 0;
  }

  .banner-text {
    font-size: 1rem;
  }

  .banner-subtitle {
    font-size: 0.8rem;
  }

  .hamburger {
    display: flex;
  }

  .header-logo {
    height: 40px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 140px; /* Adjusted for header + banner */
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 0 60px; /* Reduced top padding for mobile */
    min-height: 85vh; /* Taller on mobile */
    gap: 2rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-logo-mobile {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-img {
    width: 280px;
    height: 200px;
    margin-top: 1rem;
  }

  .hero-logo {
    width: 300px;
    max-width: 90%;
  }

  .error-section {
    flex-direction: column;
    text-align: center;
    padding: 160px 0 40px;
    gap: 2rem;
  }

  .error-content {
    align-items: center;
    text-align: center;
  }

  .error-number {
    font-size: 6rem;
  }

  .error-title {
    font-size: 2.5rem;
  }

  .error-subtitle {
    font-size: 1.1rem;
  }

  .error-img {
    width: 280px;
    height: 200px;
    margin-top: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .image-mural {
    width: 100%;
    max-width: 380px;
    height: 300px;
    gap: 12px;
  }

  .instagram-media {
    max-width: 300px !important;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .hero-placeholder {
    width: 250px;
    height: 150px;
  }

  .image-mural {
    width: 100%;
    max-width: 400px;
    height: 300px;
    gap: 10px;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }
}

/* Mobile Social Section */
@media (max-width: 768px) {
  .social-section {
    padding: 40px 0;
  }

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

  .instagram-embed-container,
  .facebook-posts-container {
    max-width: 350px;
    min-height: 425px;
  }

  .facebook-fallback {
    padding: 1.5rem;
  }

  .instagram-embed-container iframe {
    height: 425px;
    min-height: 425px;
  }

  .instagram-skeleton,
  .facebook-skeleton {
    max-width: 350px;
    padding: 15px;
  }

  .skeleton-image {
    height: 350px;
  }

  .skeleton-avatar {
    width: 35px;
    height: 35px;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
  outline: 2px solid #8b4513;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    background: #faf8f5;
  }

  .about,
  .order {
    background-color: #f0f0f0;
  }
}
