/* Base Styles */
:root {
  --color-cream: #f8f5f0;
  --color-green: #8a9a5b;
  --color-green-light: #a3b18a;
  --color-gold: #d4af37;
  --color-gold-light: #e9d498;
  --color-pink: #e8d0d0;
  --color-text: #333333;
  --color-text-light: #666666;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

/* Bubble Animation */
.bubbles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -100px;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0.5;
  animation: rise 15s infinite ease-in;
}

.bubble:nth-child(1) {
  left: 10%;
  width: 80px;
  height: 80px;
  animation-duration: 18s;
}

.bubble:nth-child(2) {
  left: 20%;
  width: 25px;
  height: 25px;
  animation-duration: 20s;
  animation-delay: 1s;
}

.bubble:nth-child(3) {
  left: 35%;
  width: 50px;
  height: 50px;
  animation-duration: 16s;
  animation-delay: 2s;
}

.bubble:nth-child(4) {
  left: 50%;
  width: 60px;
  height: 60px;
  animation-duration: 22s;
  animation-delay: 0s;
}

.bubble:nth-child(5) {
  left: 65%;
  width: 30px;
  height: 30px;
  animation-duration: 18s;
  animation-delay: 1s;
}

.bubble:nth-child(6) {
  left: 80%;
  width: 45px;
  height: 45px;
  animation-duration: 20s;
  animation-delay: 3s;
}

@keyframes rise {
  0% {
    bottom: -100px;
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(100px);
    opacity: 0.8;
  }
  100% {
    bottom: 1080px;
    transform: translateX(-200px);
    opacity: 0;
  }
}

/* Header Styles */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 50px;
  background-color: rgba(248, 245, 240, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.logo {
  text-align: center;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--color-green);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("./images/home.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h3 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-button {
  background-color: var(--color-gold);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Info Section */
.info-section {
  padding: 100px 50px;
  background-color: white;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.info-image {
  flex: 1;
  max-width: 500px;
}

.info-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-content {
  flex: 1;
}

.info-content h2 {
  font-size: 2.5rem;
  color: var(--color-green);
  margin-bottom: 20px;
}

.info-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 50px;
  text-align: center;
  background-color: var(--color-cream);
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--color-green);
}

.testimonial-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial {
  margin-bottom: 30px;
}

.testimonial-image {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--color-gold-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.testimonial-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  padding: 100px 50px;
  background-color: var(--color-green-light);
  color: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.about p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.footer-links {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.footer-link:hover {
  border-bottom: 1px solid white;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text-light);
  transition: var(--transition);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  color: var(--color-text);
  background-color: var(--color-cream);
  border-radius: 50%;
}

.modal-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--color-green);
}

.modal-content p {
  margin-bottom: 25px;
  color: var(--color-text-light);
  font-size: 1rem;
}

#emailForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#emailInput {
  padding: 15px 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: var(--transition);
}

#emailInput:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.submit-button {
  background-color: var(--color-gold);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
}

.submit-button:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.success-message {
  display: none;
  animation: successFadeIn 0.8s ease;
}

@keyframes successFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
  }
  50% {
    transform: scale(1.1) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  color: white;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
  animation: checkmarkPulse 2s infinite;
}

@keyframes checkmarkPulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.6);
    transform: scale(1.05);
  }
}

.success-message p {
  font-size: 1.3rem;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: 10px;
}

.success-subtext {
  font-size: 1rem !important;
  color: var(--color-text-light) !important;
  font-weight: 400 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .logo h1 {
    font-size: 1.4rem;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero h3 {
    font-size: 1.3rem;
  }

  .info-container {
    flex-direction: column;
    gap: 30px;
  }

  .info-content h2 {
    font-size: 2rem;
  }

  .testimonials {
    padding: 80px 20px;
  }

  .about {
    padding: 80px 20px;
  }

  .about p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero h3 {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .info-section {
    padding: 60px 20px;
  }

  .modal-content {
    padding: 30px 20px;
  }
}
