/* Base styles */
body {
  margin: 0;
  font-family: 'Lora', serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/*--- Header CSS is menu23.css ----*/


/*--- Main Content ----*/
/* Default (desktop) */
.main-content {
  margin-top: 195px; /* Match desktop header height */
}

/* Mobile (adjust at your breakpoint, e.g., 768px) */
@media (max-width: 768px) {
  .main-content {
    margin-top: 125px; /* Match mobile header height */
  }
}
/* Video Wrapper */
.video-wrapper {
  max-width: 960px;
  margin: 40px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Gallery Section: thumbnails */
.my-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.my-gallery a {
  display: inline-block;
}

.my-gallery img {
  width: 200px;       /* Thumbnail size */
  height: auto;       /* Keeps aspect ratio */
  object-fit: cover;  /* Only affects thumbnails */
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

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

/* Desktop: grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Mobile: horizontal swipe for gallery with peek effect */
@media (max-width: 767px) {
  .gallery-grid {
    display: none; /* hide desktop grid */
  }

  .my-gallery {
    display: flex;
    flex-wrap: nowrap;           
    overflow-x: auto;            
    -webkit-overflow-scrolling: touch; 
    scroll-snap-type: x mandatory; 
    gap: 10px;
    padding: 0 10px;             /* optional side padding */
  }

  .my-gallery a {
    flex: 0 0 auto;              
    scroll-snap-align: start;    
    border-radius: 10px;          
    overflow: hidden;             
  }

  .my-gallery img {
    width: 85vw;                /* slightly smaller for peek */
    max-width: 400px;            
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* Optional: add a bit of spacing at the end so last image is not flush */
  .my-gallery a:last-child {
    margin-right: 10px;
  }
}

/* Mobile dots */
@media (max-width: 767px) {
  .gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 20px 0;
  }

  .gallery-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
  }

  .gallery-dots .dot.active {
    background: #f58820; /* highlight color */
  }
}


nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #f58820;
  font-weight: 500;
  font-size: 16px;
}

nav a:hover {
  color: #1FAAE4;
}

/* Content layout */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.section {
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #2c2c2c;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: #f5f5f5;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

dialog {
  border: none;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

#contactDialog {
  padding: 2rem;
  border: none;
  border-radius: 8px;
  max-width: 500px;
}

dialog h2 {
  margin-top: 0;
}

dialog input, dialog textarea {
  width: 100%;
  margin-top: 1rem;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

dialog menu {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
}

dialog button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

dialog button[value="cancel"] {
  background: #bbb;
  color: #fff;
}

dialog button[value="default"] {
  background: #2c2c2c;
  color: #fff;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #000;
}

.btn-header {
  background-color: #2c2c2c;
  color: #fff;
  padding: 12px 24px;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn-header:hover {
  background-color: #444;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-message {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 8px 12px;
  margin-top: 6px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 100%;
}