/* Core resets */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.9);
  z-index: 10;
}
.logo { font-weight: 600; letter-spacing: .5px; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; font-size: 0.95rem; }

/* Hero slider */
.slider {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slide-item {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: crossfade 15s infinite;
}

.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 5s; }
.slide-item:nth-child(3) { animation-delay: 10s; }

@keyframes crossfade {
  0% { opacity: 0; }
  6.67% { opacity: 1; }  /* Fade in over 1 second */
  33.33% { opacity: 1; } /* Hold for 4 seconds */
  40% { opacity: 0; }    /* Fade out over 1 second */
  100% { opacity: 0; }   /* Stay hidden for remainder */
}

/* Overlay */
.slider-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.slider-overlay h1{ 
  font-size: 2.8rem; 
  font-weight: 600; 
  color: #fff !important;
}
.slider-overlay p { 
  font-size: 1.1rem; 
  color: #fff !important;
}
.btn{
  background:#ffb703;
  color:#111;
  padding:.75rem 1.75rem;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  transition:background .3s;
}
.btn:hover{ background:#ffa200; }

/* Cards */
.cards{
  display:grid;
  gap:2rem;
  padding:6rem 2rem 4rem; /* 6rem top to clear fixed nav */
  max-width:1200px;
  margin:auto;
}
@media(min-width:720px){
  .cards{ grid-template-columns:repeat(3,1fr); }
}
.card{
  background:#fff;
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.card img{ width:100%; height:220px; object-fit:cover; }
.card h2{ padding:1rem 1.25rem .5rem; font-size:1.4rem; }
.card p { padding:0 1.25rem 1rem; font-size:.95rem; line-height:1.45; }
.amenities{
  list-style:none;
  padding:0 1.25rem 1rem;
  font-size:.85rem;
  line-height:1.6;
}
.btn-secondary{
  align-self:flex-start;
  margin:0 1.25rem 1.5rem;
  padding:.5rem 1.25rem;
  background:#219ebc;
  color:#fff;
  border-radius:4px;
  text-decoration:none;
  font-size:.85rem;
  transition:background .3s;
}
.btn-secondary:hover{ background:#1a8eb0; }

/* Sticky Book button */
.book-btn{
  position:fixed;
  bottom:1.5rem;
  right:1.5rem;
  background:#e63946;
  color:#fff;
  padding:1rem 1.5rem;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
  z-index:11;
  transition:background .3s;
}
.book-btn:hover{ background:#ce2b39; }

/* Enhanced Footer with Map */
footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: grid;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media(min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3,
.map-section h3 {
  color: #ffb703;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #ff6b6b;
  text-decoration-thickness: 2px;
}

.contact-info p {
  margin: 0.6rem 0;
  font-size: 1.1rem;
  line-height: 1.4;
}

.contact-info p:first-of-type {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
}

.contact-info a {
  color: #4ecdc4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #ffb703;
  text-decoration: underline;
}

.contact-info a[href^="tel:"] {
  font-size: 1.2rem;
  color: #ffb703;
}

.contact-info a[href^="mailto:"] {
  font-size: 1.1rem;
  color: #4ecdc4;
}

/* Address Styling */
.address-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.address-section h4 {
  color: #ffb703;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

address {
  font-style: normal;
  line-height: 1.6;
  color: #ecf0f1;
  font-size: 0.95rem;
}

/* Map Section */
.map-section {
  display: flex;
  flex-direction: column;
}

.map-container {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  position: relative;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

.directions-link {
  display: block;
  background: #ff6b6b;
  color: white;
  text-align: center;
  padding: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.directions-link:hover {
  background: #e63946;
}

/* Footer Bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: #bdc3c7;
}

.powered-by {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.powered-by strong {
  color: #ffb703;
}

.powered-by a {
  color: #bdc3c7;
  text-decoration: none;
}

.powered-by a:hover {
  text-decoration: underline;
  color: #4ecdc4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .map-container iframe {
    height: 250px;
  }
}
