body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #333;
}
.site-header {
  position: relative;
  text-align: center;
  padding: 5rem 1rem 6rem;
  color: white;

  background-color: #34495e;
  background-size: cover;
  background-position: center;

  box-shadow: inset 0 -10px 25px rgba(0, 0, 0, 0.4);
 overflow: hidden;
}

/* Semi-circle bottom shape */
.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -90px;
  width: 100%;
  height: 180px;
  background: #34495e;
  transform: translateX(-50%);
  border-radius: 0 0 100% 100%;
}

/* Content stays above the curve */
.header-content,
.book-now {
  position: relative;
  z-index: 2;
}

.header-content {
  max-width: 900px;
  margin: 0 auto;
}

.site-header h1 {
  font-size: 3rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  text-shadow: 0 3px 6px rgba(0,0,0,0.7);
}

.site-header p {
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.95;
}

/* Book now button */
.book-now {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

.book-now:hover {
  background: #007fd3;
}




main {
  max-width: 1100px;
  margin: auto;
  padding: 1.5rem;
}

/* ABOUT US */
.about {
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  max-width: 1100px;
  margin-inline: auto;
  font-family: Georgia, "Times New Roman", serif;
}

.about2 {
  background: white;
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  max-width: 1100px;
  margin-inline: auto;
  font-family: Georgia, "Times New Roman", serif;
}

.about h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* TEXT */
.about-text {
  line-height: 1.75;
  font-size: 1.05rem;
}

.about-text p {
  margin-bottom: 1.25rem;
}

/* IMAGE FLOAT */
.about-image {
  float: right;
  margin: 0 0 1.5rem 2rem;
}

.about-image img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: #f5f5f5;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.02);
}

/* CLEAR FLOAT AFTER TEXT */
.about-text::after {
  content: "";
  display: block;
  clear: both;
}



/* Details section refinements */
.details-grid {
  align-items: center;
}

.details-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1f2937;
}

.details-text p {
  color: #4b5563;
  margin-bottom: 1.2rem;
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.details-list li {
  padding: 0.4rem 0;
  color: #374151;
  font-size: 0.95rem;
}

.airbnb-button {
    display: inline-block;
    margin-left: 10px;
    padding: 10px 16px;
    background-color: #5a6bff; /* Airbnb red */
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
}

.airbnb-button:hover {
    background-color: #5a6bff;;
}


/* Card matches postcard image width */
.details-card {
  max-width: 360px;
  height: 240px;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9fafb, #eef2f7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6366f1;
  font-weight: 600;
}

.details-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}


/* === 3D CAROUSEL (FIXED) === */

.image-carousel-container {
  position: relative;
  width: 100%;
  height: 220px;               /* IMPORTANT */
  perspective: 1200px;
}

.image-carousel-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;           /* IMPORTANT */
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.image-carousel img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transform-origin: center center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  opacity: 0;
}

/* Visible positions */
.image-carousel img.center {
  transform: translate(-50%, -50%) translateZ(120px) scale(1.05);
  opacity: 1;
  z-index: 3;
}

.image-carousel img.left {
  transform: translate(-160%, -50%) rotateY(30deg);
  opacity: 0.85;
  z-index: 2;
}

.image-carousel img.right {
  transform: translate(60%, -50%) rotateY(-30deg);
  opacity: 0.85;
  z-index: 2;
}

/* Buttons */
.image-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #34495e;
  color: white;
  border: none;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.image-carousel-btn.left {
  left: -10px;
}

.image-carousel-btn.right {
  right: -10px;
}

.image-carousel-btn:hover {
  background: #2c3e50;
}

/* CALENDAR */

.calendar-section {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 6px;
}

.calendar-controls {
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  max-width: 360px;
  margin: 0 auto;
}
.calendar-controls button * {
  pointer-events: none;
}


.calendar-controls button {
  display: flex;               
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 44px;

  font-size: 1.2rem;
  cursor: pointer;

  background: #f4f6f7;
  border: none;
  border-radius: 6px;
  position: relative;
  z-index: 2;
}



.calendar-controls button:hover {
  background: #e5e8e8;
}

#monthLabel {
  text-align: center;
  font-size: 1.2rem;
  white-space: nowrap;
  pointer-events: none;
}


#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 1.5rem;
}

.day {
  padding: 0.75rem;
  text-align: center;
  border-radius: 4px;
}

.day-header {
  font-weight: bold;
  background: #ecf0f1;
}

.available {
  background: #eafaf1;
  color: #1e8449;
}

.booked {
  background: #fdecea;
  color: #922b21;
}

.legend {
  margin-top: 1rem;
}

.legend-box {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 6px -2px 12px;
  border-radius: 3px;
}
/* Awards Section */
.awards-container {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.award-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-logo {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.award-logo img {
    max-width: 280px;
    max-height: 120px;
    object-fit: contain;
}

.award-name {
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem;
  color: rgb(7, 7, 7);
}

/* BOOKING */

.booking-section {
  background: white;
  padding: 2rem;
  border-radius: 6px;
}

.booking-frame {
  width: 100%;
  height: 600px;
  border: none;
}
.booked {
  background: linear-gradient(135deg, #f7adb4, #f5b7b1);
  font-weight: bold;
}
.selected {
  background: #d6eaf8 !important;
  color: #1b4f72;
  font-weight: bold;
}

.selected-start,
.selected-end {
  background: #5dade2 !important;
  color: white;
}
.calendar-booking {
  text-align: center;
  margin-top: 1rem;
}

.calendar-booking button {
  background: #34495e;
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.calendar-booking button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.calendar-message {
  font-size: 0.9rem;
  color: #b00020;
  margin: 8px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.calendar-message.show {
  opacity: 1;
}

.day.blocked-flash {
  animation: flashBooked 0.8s ease;
}
.price-summary {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}
.day {
  position: relative;
}

.day-price {
  font-size: 11px;
  color: #555;
  position: absolute;
  bottom: 4px;
  right: 4px;
}

@keyframes flashBooked {
  0%   { background-color: #ffb3b3; }
  100% { background-color: inherit; }
}

.house-details {
  position: relative;
  padding: 4rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  background: linear-gradient(135deg, #f7f9fc, #eef2f7);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
  overflow: hidden;
}

/* Decorative accent */
.house-details::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent 40%);
  pointer-events: none;
}

.house-details h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.house-details p {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.property-details-grid {
  max-width: 1100px;
  margin: 0 auto;
background: white;
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Optional styling polish */
.details-card {
  padding: 2rem;
  border-radius: 12px;
  background: #f7f7f7;
}

.card-label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}


.history-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;

  background: radial-gradient(
    circle at top left,
    #f7eed2 0%,
    #e6d3a3 60%,
    #d6c08a 100%
  );

  border: 2px solid rgba(90, 70, 40, 0.4);
  border-radius: 8px;

  box-shadow:
    inset 0 0 40px rgba(90, 70, 40, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Heading styling */
.house-history h2 {
  font-family: "Cinzel", "Garamond", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 2rem;
  color: #4a3b1f;
}

/* Body text */
.house-history p {
  font-family: "Garamond", "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #3f2f18;
  margin-bottom: 1.5rem;
}
.history-container {
  position: relative;
}

.history-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: url("/images/paper-texture.png");
  opacity: 0.15;
  pointer-events: none;
}
.history-container {
  filter: sepia(0.15);
}

 /* Footer */
footer {
  background-color: #34495e;
  padding: 40px 0 10px;
  color: white;
}
#footer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #34495e;
}

#social-media-list {
  list-style: none;
  padding: 0;
}


.social-media-links {
  font-size: 20px; /* Adjusts the icon size */
}

#social-media-list-footer {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.social-media-links {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-size: 26px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-media-links:hover {
  background-color: white;
  color: #418dfe;
}

footer h4 {
  font-size: 32px;
}
#copyright {
  font-size: 14px;
  opacity: 0.5;
  text-align: center;
}
#copyright strong {
  line-height: 2em;
  font-size: 16px;
}
a {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

/* RESPONSIVE */


/* MOBILE FRIENDLY */
@media (max-width: 768px) {
  .about-image {
    float: none;
    margin: 0 auto 1.5rem;
    text-align: center;
  }

  .about-image img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .site-header {
    padding: 4rem 1rem 5rem;
  }

  /* Semi-circle adjustment for mobile */
  .site-header::after {
    bottom: -60px;
    width: 160%;
    height: 120px;
    border-radius: 0 0 100% 100%;
  }

  .site-header h1 {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
  }

  .site-header p {
    font-size: 1rem;
  }

  /* Book now button */
  .book-now {
    top: 1rem;
    right: 1rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
