/*
  Global Styles
  A vibrant yet polished palette evokes sunsets and hibiscus tones while
  maintaining readability and performance. Designed for both mobile and
  desktop experiences.
*/

/* CSS Variables for easy theming */
:root {
  --primary-color: #e85a4f; /* hibiscus red */
  --secondary-color: #f3a712; /* sunset orange */
  --dark-color: #0d1b2a; /* deep navy for contrast */
  --light-color: #f9f9f9; /* near-white background */
  --accent-color: #4a90e2; /* calming blue for highlights */
  --max-width: 1200px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 0;
}

.section {
  padding: 4rem 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    transform var(--transition-fast);
}

.primary-btn {
  color: #fff;
  background-color: var(--primary-color);
}

.primary-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Hero section */
.hero {
  position: relative;
  height: 90vh;
  width: 100%;
  background-image: url('https://images.unsplash.com/photo-1752761400309-83ce512dce78?auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

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

/* About section */
.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.about p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--dark-color);
}

/* Packages section */
.packages h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  text-align: center;
}

.packages p {
  text-align: center;
  margin-bottom: 1.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.packages-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.packages-table th,
.packages-table td {
  padding: 0.75rem;
  text-align: center;
  border-bottom: 1px solid #ececec;
}

.packages-table th {
  background-color: var(--dark-color);
  color: #fff;
  font-weight: 600;
}

.packages-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

.packages .small-text {
  text-align: center;
  font-size: 0.9rem;
}

/* Booking section */
.booking h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.booking p {
  text-align: center;
  margin-bottom: 2rem;
}

form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-row {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-row.two-col {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-row.two-col > div {
  flex: 1 1 48%;
}

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

.form-row label span {
  color: var(--primary-color);
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fdfdfd;
  color: var(--dark-color);
  font-size: 1rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(232, 90, 79, 0.2);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

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

/* Error state for contact/booking forms */
.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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

/* Testimonials */
.testimonials h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial p {
  margin-bottom: 0.5rem;
  font-style: italic;
}

.testimonial .author {
  font-weight: bold;
  color: var(--primary-color);
}

/* FAQ */
.faq h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.faq-item p {
  color: var(--dark-color);
}

/* Social */
.social h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.social-icon:hover {
  color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
}

.footer p {
  margin-bottom: 0.5rem;
}

/* Custom additions for the new booking form */
.hidden {
  display: none;
}

.price-breakdown {
  background-color: #f7f7f7;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.price-breakdown h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.breakdown-item.total {
  font-weight: 600;
}

.breakdown-item.deposit {
  font-weight: 600;
  color: var(--secondary-color);
}

.breakdown-item.discount span:last-child {
  color: var(--primary-color);
}

/* Contact section styling */
.section.contact {
  background-color: var(--light-color);
  text-align: center;
  padding: 4rem 0;
}
.section.contact h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.contact-email {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--primary-color);
}
.contact-email:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .form-row.two-col {
    flex-direction: column;
  }
  .form-row.two-col > div {
    flex: 1 1 100%;
  }
}