/* ========================================= */
/* SHANAYA — SAVED VILLAS PAGE               */
/* ========================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #EAE6DF;
  color: #2E2A27;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========================================= */
/* AMBIENT BACKGROUND                        */
/* ========================================= */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.ambient-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  filter: saturate(0.5) blur(3px);
}

.ambient-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F4F1EC 0%, rgba(244, 241, 236, 0.88) 100%);
}

/* ========================================= */
/* PAGE LAYOUT                               */
/* ========================================= */

.saved-villas-layout {
  position: relative;
  z-index: 1;
  width: min(1100px, 95%);
  margin: 0 auto;
  padding: 120px 0 80px;
}

/* ========================================= */
/* PAGE HEADER                               */
/* ========================================= */

.saved-header {
  margin-bottom: 30px;
  text-align: center;
}

.saved-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C4AB74;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.saved-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #C4AB74;
}

.saved-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a1410;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.saved-subtitle {
  font-size: 15px;
  color: rgba(46, 42, 39, 0.72);
  line-height: 1.6;
}

/* ========================================= */
/* MAIN CONTAINER WITH SIDEBAR               */
/* ========================================= */

.saved-main {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px;
}

/* ========================================= */
/* SIDEBAR NAVIGATION                        */
/* ========================================= */

.saved-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.saved-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 171, 116, 0.15);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
}

.saved-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(46, 42, 39, 0.72);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.saved-nav-item:hover {
  background: rgba(196, 171, 116, 0.08);
  border-color: rgba(196, 171, 116, 0.2);
}

.saved-nav-item.active {
  background: rgba(196, 171, 116, 0.15);
  border-color: rgba(196, 171, 116, 0.3);
  color: #C4AB74;
}

.saved-nav-item.logout {
  color: rgba(200, 100, 100, 0.75);
  margin-top: 8px;
  border-top: 1px solid rgba(196, 171, 116, 0.1);
  padding-top: 12px;
}

.saved-nav-item.logout:hover {
  background: rgba(200, 100, 100, 0.08);
  border-color: rgba(200, 100, 100, 0.2);
  color: rgba(200, 100, 100, 1);
}

.nav-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.nav-label {
  flex: 1;
}

/* ========================================= */
/* SAVED CONTENT                             */
/* ========================================= */

.saved-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========================================= */
/* VILLAS GRID                               */
/* ========================================= */

.saved-villas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.villa-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 171, 116, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.villa-card:hover {
  border-color: rgba(196, 171, 116, 0.3);
  box-shadow: 0 12px 40px rgba(196, 171, 116, 0.15);
  transform: translateY(-6px);
}

.villa-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.villa-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.villa-card:hover .villa-image {
  transform: scale(1.05);
}

.villa-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.villa-save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.villa-save-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.save-icon {
  font-size: 20px;
  line-height: 1;
}

.villa-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.villa-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #1a1410;
}

.villa-location {
  font-size: 12px;
  color: rgba(46, 42, 39, 0.66);
}

.villa-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
}

.villa-price {
  font-size: 14px;
  font-weight: 600;
  color: #C4AB74;
}

.villa-price-label {
  font-size: 11px;
  color: rgba(46, 42, 39, 0.54);
}

.villa-view-btn {
  padding: 10px 16px;
  border: 1px solid rgba(196, 171, 116, 0.2);
  border-radius: 6px;
  background: transparent;
  color: #C4AB74;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.villa-view-btn:hover {
  background: rgba(196, 171, 116, 0.1);
  border-color: rgba(196, 171, 116, 0.3);
}

/* ========================================= */
/* EMPTY STATE                               */
/* ========================================= */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 171, 116, 0.15);
  border-radius: 16px;
  text-align: center;
  min-height: 500px;
}

.empty-icon {
  font-size: 64px;
  opacity: 0.5;
}

.empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: #1a1410;
  margin-bottom: 8px;
}

.empty-description {
  font-size: 14px;
  color: rgba(46, 42, 39, 0.72);
  max-width: 400px;
  line-height: 1.6;
}

.empty-cta {
  padding: 12px 28px;
  background: linear-gradient(135deg, #C4AB74 0%, #A08B5C 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 12px;
  text-decoration: none;
  display: inline-block;
}

.empty-cta:hover {
  box-shadow: 0 6px 20px rgba(196, 171, 116, 0.3);
  transform: translateY(-2px);
}

/* ========================================= */
/* TOAST NOTIFICATION                        */
/* ========================================= */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: rgba(26, 20, 16, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ========================================= */
/* RESPONSIVE                                */
/* ========================================= */

@media (max-width: 900px) {
  .saved-villas-layout {
    width: 96%;
  }

  .saved-main {
    grid-template-columns: 250px 1fr;
    gap: 24px;
  }

  .saved-villas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .saved-villas-layout {
    padding: 100px 0 80px;
  }

  .saved-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .saved-sidebar {
    position: relative;
    top: 0;
  }

  .saved-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .saved-nav-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    gap: 8px;
  }

  .nav-label {
    font-size: 11px;
  }

  .saved-title {
    font-size: 32px;
  }

  .saved-villas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .saved-villas-layout {
    width: 96%;
  }

  .saved-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .saved-nav-item {
    padding: 10px 6px;
    font-size: 10px;
    gap: 4px;
  }

  .nav-icon {
    font-size: 14px;
  }

  .saved-title {
    font-size: 26px;
  }

  .saved-villas-grid {
    grid-template-columns: 1fr;
  }

  .empty-state {
    padding: 40px 20px;
    min-height: 300px;
  }

  .empty-icon {
    font-size: 48px;
  }

  .empty-title {
    font-size: 22px;
  }

  .villa-info {
    padding: 16px;
  }

  .villa-name {
    font-size: 16px;
  }
}
