/* Reset and base styles */
:root {
  --primary-color: #322a25;
  --accent-color: #966d4a;
  --accent-color-dark: #7b5739;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75em;
}

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

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

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255);
  border-bottom: 1px solid #eaeaea;
  z-index: 100;
}

/* Header layout and logo sizing */
/*
 * Layout for the top header.  Previously the container only added
 * horizontal padding which left the logo image controlling the
 * overall header height.  To make the header feel more refined and
 * remove the excessive white space around the logo we add a small
 * vertical padding.  This ensures there is breathing room around
 * both the logo and the navigation without allowing the image to
 * dominate the header height.
 */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* vertical padding reduces logo dominance and horizontal padding
     keeps content away from the edges */
  padding: 5px 10px;
}

/*
 * Constrain the height of the logo rather than its width.  The original
 * implementation limited the width to 200–400px which caused the
 * imported PNG to fill a large area, especially on wide screens.  By
 * capping the height the logo remains proportional while reducing
 * white space around it.  Width will adjust automatically based on the
 * image’s aspect ratio.  A taller cap is provided on wider screens.
 */
.logo img {
  /* Reduce the default height slightly so the logo and surrounding white
     space don’t dominate the header.  At this height the text remains
     legible while the header feels lighter. */
  max-height: 50px;
  height: auto;
  width: auto;
}

@media (min-width: 769px) {
  .logo img {
    /* On larger screens allow a bit more height for clarity */
    max-height: 60px;
  }
}

@media (max-width: 768px) {
  .logo.hidden {
    display: none;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000;
}

nav a {
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Language toggle labels */
.lang-switch .mobile-label {
  display: none;
}

.lang-switch .desktop-label {
  display: inline;
}

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

/* Hero section */
.hero {
  height: 100vh;
  /* Background image is inserted via img.hero-bg */
  background: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px; /* space for fixed header */
}

@media (min-width: 769px) {
  .hero {
    padding-top: 80px; /* more space for larger desktop header */
  }
}

/* Hero background image styling */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Slightly transparent overlay to allow the dark flatlay to show through */
  background-color: rgba(250, 250, 250, 0.1);
  /* subtle overlay to improve text readability */
}

.hero-content {
  position: relative;
  max-width: 600px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: whitesmoke;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9)
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color:whitesmoke;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 1.2)
}



.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
  transition: background-color 0.3s ease;
}

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

/* Sections spacing */
section {
  padding: 60px 0;
}

/* About section */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1 1 300px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #2f2f2f;
}

.about-text p {
  margin-bottom: 15px;
  color: #555;
}

.about-image {
  flex: 1 1 300px;
}

/* Values section */
.values {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.values-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2f2f2f;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.value {
  flex: 1 1 250px;
  background-color: #faf7f4;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #322a25;
}

.value p {
  color: #555;
}

/* Offers section */
.offers-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.offers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.offer {
  flex: 1 1 280px;
  background-color: #f7f5f3;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.offer h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #322a25;
}

.offer ul {
  list-style: disc inside;
  color: #555;
}

.offer li + li {
  margin-top: 8px;
}

/* Gallery section */
.gallery-container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

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

/* Footer */
footer {
  background-color: #f4f2ef;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav#navbar {
    display: none;
    flex-direction: column;
  }
  nav#navbar.open {
    display: flex;
    /* Add vertical padding when the mobile menu is expanded */
    padding: 10px 0;
  }
  .nav-toggle {
    display: block;
  }
  nav ul {
    gap: 15px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .values-grid,
  .offers-grid {
    flex-direction: column;
  }
  .about-container {
    flex-direction: column;
  }
  .about-image,
  .about-text {
    flex: 1 1 100%;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 5px 10px; /* maintain horizontal padding on small screens */
  }
  .lang-switch .desktop-label {
    display: none;
  }
  .lang-switch .mobile-label {
    display: inline;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .nav-toggle {
    white-space: normal;
  }
}
