/* === General Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fffdf8;
  color: #333;
}

body.home {
  opacity: 0; 
  animation: fadeInPage 1.2s ease-in forwards; 
}

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #795242;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 10;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  color: #fdfdfd;
}

.navbar nav a {
  text-decoration: none;
  color: #ffffff;
  margin-left: 25px;
  font-weight: 600;
  font-size: 1em;
  position: relative;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: #cfc0c0;
}

.navbar nav a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  bottom: -5px;
  left: 0;
}

/* === Hero Section === */
.hero {
  height: 80vh;
  background: url('images/michal-parzuchowski-ItaV89TNkks-unsplash.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  color: white;
  padding: 40px;
  border-radius: 10px;
}
.hero-overlay {


  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
}

.about-hero-slideshow .hero-overlay {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



.btn {
  background-color: #976d43;
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 5px;
  transition: background0.3s;
}

.btn:hover {
  background-color: #a36329;
}

/* === Intro Section === */
.intro {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  padding: 20px;
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2em;
  color: #4a3c31;
  margin-bottom: 15px;
}

.intro p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555;
}

h4 {
    font-size: 2.5em;
  text-align: center;
  color: #6b3e26;
  font-family: 'Playfair Display', serif;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}

h4::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #b96d6779; 
  margin: 10px auto 0;
  border-radius: 2px;
}
/* === Footer === */
footer {
  text-align: center;
  padding: 25px 0;
  background-color: #f7d6b5;
  color: #4a3c31;
  font-size: 0.9em;
  margin-top: 80px;
}

/* Menu cards */
.menu-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 250px;
  text-align: center;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-top: 10px;
}

.card h3 {
  padding: 10px 0;
  color: #c47f3b;
}

.card p {
  padding: 0 15px 15px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px 20px;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .btn {
    padding: 10px 20px;
  }
}


/* === Inner Page Hero === */
.page-hero {
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.page-hero .hero-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 40px 20px;
  border-radius: 8px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5em;
  margin-bottom: 10px;
}

/* About Us Page */

.about-hero-slideshow {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
  animation: fade-slideshow 18s infinite;
}

@keyframes fade-slideshow {
  0%   { background-image: url('images/yuliia-dementsova-IGrNgaegzmM-unsplash.jpg'); }
  33%  { background-image: url('images/minku-kang-VhSHmz_9Cc4-unsplash.jpg'); }
  66%  { background-image: url('images/shayna-douglas-l4ir-0Q8Y4c-unsplash.jpg'); }
  100% { background-image: url('images/benjamin-cheng-IE_WqVs5l-0-unsplash.jpg'); }
}

.about-hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1; 
}

.about-hero-slideshow .hero-overlay {
  position: relative; 
  z-index: 2; 
  color: white;
  text-align: center;
}

.about-hero-slideshow .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

/* About Us Content Styling */ 

/* === About Us Text Styling === */
.about-hero-slideshow .hero-overlay h1 {
  font-family: 'Playfair Display', serif; 
  font-size: 3em; 
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 15px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5); 
}

.about-hero-slideshow .hero-overlay p {
  font-family: 'Open Sans', sans-serif; 
  font-size: 1.3em;
  color: #f9f5f0; 
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* === About Us Content Section === */
.about {
  max-width: 900px;
  margin: 100px auto; 
  padding: 0 30px;
  text-align: left;
  line-height: 1.8;
  color: #4a3c31;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2em;
  color: #795242; 
  margin-bottom: 20px;
  text-align: center;
}

.about p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
  color: #5a4c3c;
  margin-bottom: 20px;
}

.about strong {
  color: #c47f3b; 
  font-weight: 700;
}

.about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #c47f3b;
  margin: 10px auto 25px;
  border-radius: 2px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: fadeInUp 1.2s ease-in-out;
}


/* === Three-Column Photo Gallery === */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 30px;
}

.photo-gallery .photo {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05); /* soft zoom on hover */
}


/* chino pic */
.chino img {
  width: 800px;             
  height: auto;              
  border: 5px solid #6d4235; 
  border-radius: 20px;    
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
  display: block;
  margin: 0 auto;           

  
}

/* Responsive layout for tablets & phones */
@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}

/* === Contact Page Two-Column Section === */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  margin: 100px auto;
  max-width: 1100px;
  background-color: #fefaf5;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
}

.contact-form {
  flex: 1 1 500px;
  padding: 40px 50px;
  background-color: #fffdf8;
}

.contact-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8em;
  color: #795242;
  margin-bottom: 25px;
  line-height: 1.4;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #6b3e26;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c47f3b;
  outline: none;
  box-shadow: 0 0 4px rgba(196, 127, 59, 0.3);
}

.contact-form .btn {
  margin-top: 20px;
  background-color: #976d43;
  border: none;
  cursor: pointer;
}

.contact-form .btn:hover {
  background-color: #a36329;
}

.contact-image {
  flex: 1 1 400px;
  background-color: #f9f3ec;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive layout */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-form, .contact-image {
    flex: 1 1 100%;
  }
}

.email-line {
  font-size: 1.65em;
  margin-top: 15px;
  color: #6b3e26; 
  text-align: center;
}

.email-link {
  color: #c47f3b; 
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  border-bottom: 2px solid rgba(196, 127, 59, 0.4);
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.email-link:hover {
  color: #a36329;
  border-bottom-color: #a36329;
}

.about ul {
  margin: 40px 0 20px 40px; 
  color: #5a4c3c; 
  line-height: 1.7;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1em;
}

.about ul li {
  margin-bottom: 8px;
}

.gif-image {
  display: block;
  width: 170px;
  height: auto;
  margin: 0 auto 20px auto;  
}

.button-wrapper {
  text-align: center; 
  margin-top: 1rem;    
}

.button-wrapper .btn {
  width: 150px; 
}

.map-wrapper {
  text-align: center;
  margin: 40px 0;     
}

.map-wrapper iframe {
  width: 80%;         
  max-width: 600px; 
  height: 400px;     
  border: 0;
  border-radius: 10px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.video-wrapper {
  display: flex;
  justify-content: center;  

}
.video-wrapper video {
  width: 100%;          
  max-width: 800px;   
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* Slide-In Left Animation */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 0.8s forwards;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body.contact-page .slide-in-left {
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}
