/* westbay.css */

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

body {
  font-family: 'Georgia', serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 750px;
  /* background-image is set inline via PHP to use ACF image */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-description {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 15px;
  margin: 0 auto;
  max-width: 700px;
  color: #333;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  animation: fadeInUp 1.2s ease-out;
}

.hero-description p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 1;
  text-shadow: none;
  color: #444;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 300;
  color: #2c3e50;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #3498db;
}

/* Section Styles */
.section {
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  position: relative;
  z-index: 2;
  background: white;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #2c3e50;
  font-weight: 300;
}

.section-content {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Single Image Styles */
.single-image-container {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

.single-image {
  width: 100%;
  max-width: 1000px;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.single-image:hover {
  transform: translateY(-5px);
}

/* Master Plan Section */
.master-plan {
  background: #f8f9fa;
}

.master-plan-image {
  width: 50%;
  max-width: 1000px;
  margin: 2rem auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Quote Section */
.quote-section {
  background: #2c3e50;
  color: white;
  text-align: center;
}

.quote {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.quote-author {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

/* FAQ Section */
.faq {
  background: #f8f9fa;
}

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

.faq-category {
  margin-bottom: 3rem;
}

.faq-category h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  font-weight: 300;
  text-align: center;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.1rem;
  color: #2c3e50;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #3498db;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: #3498db;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer.active {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-answer p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #3498db;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Learn More Section */
.learn-more {
  background: #f8f9fa;
  text-align: center;
}

.email-form {
  max-width: 500px;
  margin: 2rem auto 0;
}

.form-group {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  background: white;
}

.form-group input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}

.form-group input::placeholder {
  color: #999;
}

.form-group button {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: inherit;
  font-weight: 500;
}

.form-group button:hover {
  background: #34495e;
}

.form-group button:active {
  transform: translateY(1px);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.footer p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.8rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-description {
    padding: 1.5rem;
    margin: 0 10px;
    border-radius: 10px;
  }

  .hero-description p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .single-image {
    height: 250px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature {
    padding: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-content {
    font-size: 1rem;
    padding: 0 10px;
  }

  .email-form {
    max-width: 100%;
    margin: 1.5rem auto 0;
  }

  .form-group {
    flex-direction: column;
    border-radius: 10px;
    gap: 0;
  }

  .form-group input {
    border-radius: 10px 10px 0 0;
    padding: 1rem;
  }

  .form-group button {
    border-radius: 0 0 10px 10px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-description {
    padding: 1.2rem;
  }

  .hero-description p {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
