
/* ===================================
   RESET & GLOBAL VARIABLES
   =================================== */
:root {
  --accent: #0b6b63;
  --accent-2: #0f9b8e;
  --accent-light: rgba(11, 107, 99, 0.1);
  --muted: #6b7176;
  --bg: #f7f9f9;
  --bg-gradient: linear-gradient(180deg, #f7f9f9 0%, #eef4f3 100%);
  --card: #ffffff;
  --text: #222;
  --radius: 12px;
  --max-width: 1100px;
  --glass: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 18px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 8px 20px rgba(17, 24, 39, 0.06);
  --shadow-xl: 0 10px 25px rgba(11, 107, 99, 0.1);
  --transition: all 0.3s ease;
  --font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ===================================
   BASE STYLES
   =================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-gradient);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

a:hover, a:focus {
  color: var(--accent-2);
  outline: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

button:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

.section {
  padding: 60px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   SKIP LINK (ACCESSIBILITY)
   =================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(11, 107, 99, 0.06);
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--accent);
}

.brand .logo {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  user-select: none;
}

.brand h1 {
  font-size: 18px;
  margin: 0;
  user-select: none;
}

.brand-location {
  font-size: 12px;
  color: var(--muted);
}

nav {
  position: relative;
}

nav ul {
  display: flex;
  gap: 14px;
  align-items: center;
}

nav a {
  color: #16383a;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

nav a:hover, nav a:focus {
  background: var(--accent-light);
}

.cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.cta:hover, .cta:focus {
  background: var(--accent-2);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--accent);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
  padding: 36px 20px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Hero Slider */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 28px;
  user-select: none;
  box-shadow: var(--shadow-xl);
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  border-radius: var(--radius);
}

.hero-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: white;
  font-weight: 700;
  user-select: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero-slide-content h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: 0.03em;
}

.hero-slide-content p {
  margin: 0;
  max-width: 65%;
  font-size: 18px;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  z-index: 20;
}

.slider-control {
  background: rgba(255, 255, 255, 0.6);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.slider-control:hover, .slider-control:focus {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(11, 107, 99, 0.5);
}

.slider-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 30;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.indicator.active {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-card {
  background: linear-gradient(180deg, rgba(11, 107, 99, 0.05), transparent);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: fit-content;
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--accent);
}

.hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.hero-features {
  margin-top: 18px;
}

.amenities {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amenity {
  background: var(--glass);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  user-select: none;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-actions a {
  text-decoration: none;
}

.secondary-link {
  color: var(--muted);
}

.why-guests {
  margin-top: 20px;
}

.why-guests h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--accent);
}

.why-guests ul {
  padding-left: 20px;
  color: var(--muted);
  font-weight: 500;
}

.why-guests li {
  margin-bottom: 8px;
}

/* ===================================
   QUICK BOOKING
   =================================== */
.quick-book {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid #d8e3e1;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.quick-book h3 {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--accent);
  font-size: 22px;
}

.quick-book label {
  display: block;
  font-size: 14px;
  margin: 10px 0 6px;
  color: var(--muted);
  font-weight: 600;
}

.quick-book input, .quick-book select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e6eceb;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
}

.quick-book input:focus, .quick-book select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 6px var(--accent-2);
}

.quick-book button {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.quick-book button:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.bookings {
  margin-top: 14px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(11, 107, 99, 0.05);
  display: none;
}

.bookings.show {
  display: block;
}

/* ===================================
   ROOMS SECTION
   =================================== */
#rooms h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent-2);
  padding-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 107, 99, 0.12);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #e6eceb;
}

.card .body {
  padding: 16px 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  font-size: 18px;
  letter-spacing: 0.03em;
}

/* ===================================
   GALLERY SECTION
   =================================== */
#gallery h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent-2);
  padding-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 6px 15px rgba(11, 107, 99, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.gallery img:hover, .gallery img:focus {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(11, 107, 99, 0.3);
}

/* ===================================
   ABOUT SECTION
   =================================== */
#about h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent-2);
  padding-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

#about p {
  max-width: 720px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
  margin: 0 auto;
}

/* ===================================
   CONTACT SECTION
   =================================== */
#contact h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--accent-2);
  padding-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-container {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 260px;
}

.contact-info p {
  margin-bottom: 12px;
}

.contact-info strong {
  color: var(--accent);
  font-weight: 600;
}

.contact-form {
  margin-top: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--muted);
  font-size: 14px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #d7e0dc;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 6px var(--accent-2);
}

.contact-form button {
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.contact-form button:hover {
  background: var(--accent-2);
}

.map-container {
  flex: 1;
  min-width: 260px;
}

.map-wrapper {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--accent);
  color: #f0f0f0;
  padding: 40px 20px 20px;
  font-size: 15px;
  font-weight: 400;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

footer h3, footer h4 {
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-about p {
  line-height: 1.5;
  color: #dceae7;
  max-width: 360px;
}

.footer-links a {
  color: #dceae7;
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.footer-subscribe form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-subscribe input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  flex: 1 1 auto;
  min-width: 180px;
  font-size: 15px;
  font-family: inherit;
}

.footer-subscribe button {
  padding: 10px 18px;
  background: var(--accent-2);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 15px;
}

.footer-subscribe button:hover {
  background: var(--accent);
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 16px;
}

.footer-social a {
  color: #dceae7;
  font-size: 22px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.footer-social a:hover {
  background: white;
  color: var(--accent-2);
  box-shadow: 0 2px 10px rgba(11, 107, 99, 0.5);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  color: #dceae7;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.back-to-top {
  color: #dceae7;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.back-to-top:hover {
  color: var(--accent-2);
}

/* ===================================
   NOTIFICATION COMPONENT
   =================================== */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  border-left: 4px solid #4caf50;
}

.notification.error {
  border-left: 4px solid #f44336;
}

.notification.info {
  border-left: 4px solid var(--accent);
}

.notification-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.notification-message {
  font-size: 14px;
  color: var(--muted);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  nav ul {
    position: absolute;
    top: 100%;
    right: 20px;
    flex-direction: column;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    width: 220px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    z-index: 70;
  }
  
  nav ul.show {
    max-height: 500px;
  }
  
  .mobile-nav-toggle {
    display: inline-block;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .hero-card {
    padding: 18px;
  }
  
  .quick-book {
    padding: 18px;
    max-width: 100%;
  }
  
  .hero-slider-container {
    height: 250px;
  }
  
  .hero-slide-content h2 {
    font-size: 20px;
  }
  
  .hero-slide-content p {
    max-width: 90%;
    font-size: 14px;
  }
  
  .footer-subscribe form {
    flex-direction: column;
  }
  
  .footer-subscribe input,
  .footer-subscribe button {
    width: 100%;
    border-radius: 8px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }
}