/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  display: block;
}

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

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #CDA34F;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-menu a:hover {
  color: #CDA34F;
}

/* Hero */
#hero {
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video background styling */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
  pointer-events: none;
}

.hero-video.loaded {
  opacity: 1;
}

/* Hide video on mobile - keep image carousel */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  background: #CDA34F;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: #b6913a;
}

/* Sections */
.section {
  padding: 4rem 0;
}
.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #CDA34F;
}
.section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0.5rem auto;
  text-align: center;
}
.bg-light {
  background: #f7f7f7;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.service-card h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
  color: #CDA34F;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.4s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
form {
  margin-top: 2rem;
}
form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
form textarea {
  resize: vertical;
}
form button {
  width: 100%;
  background: #CDA34F;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}
form button:hover {
  background: #b6913a;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  padding: 1rem 0;
  font-size: 0.9rem;
}
.footer-container {
  text-align: center;
}
footer a {
  color: #CDA34F;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Floating WhatsApp Button (Mobile Only) */
.floating-whatsapp {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #CDA34F;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(205, 163, 79, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-whatsapp:hover {
  background: #b6913a;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(205, 163, 79, 0.6);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(205, 163, 79, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(205, 163, 79, 0.8);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 4px 12px rgba(205, 163, 79, 0.4);
    transform: scale(1);
  }
}

/* Layout for email and phone inputs side by side in the contact form */
.form-row {
  display: flex;
  gap: 1rem;
}
.form-row input {
  flex: 1;
}
/* Stack inputs on smaller screens */
@media (max-width: 480px) {
  .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .nav-menu {
    display: none; /* hide on small screens; further improvements could add mobile menu */
  }
  
  /* Show floating WhatsApp button on mobile */
  .floating-whatsapp {
    display: flex !important;
  }
}