/* ---------------------------------
   Theme Base Styles (Swenson Properties)
----------------------------------- */

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80vh;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  background: url('https://www.swenson-properties.com/wp-content/uploads/2025/08/The-Lot.jpg') center/cover no-repeat;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

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

/* Sections */
.highlights, .gallery, .testimonials, .location, .faq {
  padding: 3rem 1rem;
}

/* FAQ styles */
.faq-question {
  width: 100%;
  background-color: #007fff;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 1rem;
  background-color: #f4f4f4;
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Booking Form */
.booking-form-wrapper {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 2rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.booking-form {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.booking-inputs-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 200px;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-book {
  background-color: #007fff;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 1rem;
  align-self: flex-end;
  transition: background-color 0.3s ease;
}

.btn-book:hover {
  background-color: #005bb5;
}

.booking-message {
  margin-top: 1.5rem;
  width: 100%;
  text-align: center;
  font-weight: 600;
  color: green;
  clear: both;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Responsive booking form */
@media (max-width: 720px) {
  .booking-form {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .form-group {
    flex: 1 1 100%;
    min-width: auto;
  }
  .btn-book {
    width: 100%;
    align-self: stretch;
    margin-top: 1rem;
  }
  .booking-message {
    margin-top: 1rem;
  }
}

/* Highlights Section */
.highlights-section {
  background: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #0073aa;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.highlight-box {
  background: white;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: block;
  color: #0073aa;
}

.highlight-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.highlight-box p {
  font-size: 0.95rem;
  color: #444;
}

/* Gallery Section */
.gallery-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

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

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

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

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

/* Testimonials Section */
.testimonials-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  position: relative;
}

.testimonial-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1rem;
  color: #555;
  margin: 0 0 15px 0;
}

.guest-name {
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
}

/* Location Section */
.location-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.location-section .section-title {
  font-size: 2.5rem;
  color: #0073aa;
  margin-bottom: 20px;
}

.location-description {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #444;
}

.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.faq-section .section-title {
  font-size: 2.5rem;
  color: #0073aa;
  text-align: center;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
}

/* FAQ question hover icon animation */
.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* ---------------------------------
   Header Styles (Polished)
----------------------------------- */

header.bg-dark {
  background-color: #212529; /* Bootstrap dark */
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/*------------------
header .container.py-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
------------------*/

header .container.py-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem; /* Optional spacing for wrap */
}

header h1.m-0 {
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0;
}

header h1 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

header h1 a:hover,
header h1 a:focus {
  color: #ffc107; /* Bootstrap warning color */
  outline: none;
}

/* CTA container */
.cta-longterm {
  max-width: 320px;
  background-color: #fff8e1; /* light warm yellow */
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: right;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  user-select: none;
  margin-left: auto;
}

.cta-longterm:hover,
.cta-longterm:focus-within {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cta-longterm p {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  user-select: text;
}

.cta-longterm .btn {
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-longterm .btn:hover,
.cta-longterm .btn:focus {
  background-color: #e0a800; /* darker warning */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  outline: none;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  header .container.py-3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cta-longterm {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 1rem;
    margin-left: 0;
  }

  .cta-longterm p {
    font-size: 1rem;
  }

  .cta-longterm .btn {
    width: 100%;
    padding: 0.75rem 0;
  }
}
