/*
Theme Name: ArraStay Neo
Theme URI: https://arrakiweb.xyz
Author: ArrakiWeb
Description: Tema minimalis untuk integrasi dengan plugin Arrastay Core, Elementor-ready.
Version: 1.0
*/

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #2b2b2b;
}

/* ===== HEADER ===== */
.arrastay-header {
  background: #fff;
  box-shadow: 0 2px 8px #0001;
  border-bottom: 1.5px solid #f1f1f1;
  position: relative;
  z-index: 2000;
}
.arrastay-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 16px 32px 12px 32px;
  max-width: 1200px;
  margin: auto;
  min-height: 70px;
}
.arrastay-logo {
  display: flex;
  align-items: center;
  max-width: 150px;
  height: 56px;
  margin-right: 22px;
}
.arrastay-logo img,
.custom-logo-link img {
  max-height: 54px !important;
  width: auto;
  height: auto;
  display: block;
}
.arrastay-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.arrastay-nav li { margin: 0; padding: 0; }
.arrastay-nav a {
  color: #674F27;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.08em;
  transition: .2s;
}
.arrastay-nav a:hover { color: #e1056b; }
.arrastay-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.arrastay-currency-switcher select {
  border: 1px solid #ddd;
  padding: 6px 15px;
  border-radius: 10px;
  font-size: 1em;
  background: #f6f6ff;
  min-width: 95px;
  margin-right: 8px;
}
.btn-host {
  background: #fff;
  color: #e1056b;
  border: 2px solid #e1056b;
  padding: 8px 24px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 1em;
  margin-right: 8px;
  transition: .2s;
  text-decoration: none;
  box-shadow: 0 2px 8px #0001;
}
.btn-host:hover {
  background: #e1056b;
  color: #fff;
  border-color: #e1056b;
}
.btn-user-profile, .btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 100%;
  background: #f8f6fb;
  margin-left: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px #0001;
  transition: background .18s;
}
.btn-user-profile img, .btn-user-profile svg {
  width: 26px; height: 26px; border-radius: 100%;
}
.btn-user-profile:hover, .btn-login:hover { background: #fde5f0; }

.arrastay-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none; border: none; cursor: pointer;
  margin-left: 8px;
  z-index: 2100;
}
.arrastay-burger span {
  display: block;
  height: 4px; width: 28px;
  background: #e1056b;
  border-radius: 4px;
  transition: all .22s;
}

/* ====== MOBILE & TABLET HEADER ====== */
@media (max-width: 900px) {
  .arrastay-header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 8px 6px 8px;
    min-height: 52px;
    flex-direction: row;
  }
  .arrastay-logo {
    max-width: 110px;
    height: 44px;
    margin-right: 7px;
  }
  .arrastay-nav ul { gap: 16px; }
  .btn-host { padding: 7px 13px; font-size: 0.97em; }
  .arrastay-header-right,
  .arrastay-nav {
    display: none !important;
  }
  .arrastay-burger {
    display: flex;
    margin-left: auto;
    z-index: 2100;
  }
  .arrastay-mobile-controls {
    display: none !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 0 18px 0;
    background: none;
    margin: 0 auto 0 auto;
    border-bottom: 1.5px solid #f7e6ef;
  }
  .arrastay-currency-switcher select {
    min-width: 75px;
    max-width: 120px;
  }
  .btn-host {
    margin: 0 8px;
  }
  .btn-user-profile {
    margin-left: 0;
  }
}

/* ======= MOBILE NAV MENU (BURGER) ======= */
@media (max-width: 900px) {
  .arrastay-mobile-controls {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 0 18px 0;
    background: none;
    margin: 0 auto 0 auto;
    border-bottom: 1.5px solid #f7e6ef;
  }     
  .arrastay-nav.open {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 60px; /* harus sama dengan .arrastay-header-inner min-height + padding */
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 8px 20px #0001;
    z-index: 2002;
    padding: 32px 0 16px 0;
    gap: 18px;
  }
  .arrastay-nav.open ul {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 0;
    margin: 0;
  }
  .arrastay-nav.open li {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

/* ===== HERO & SEARCH BAR ===== */
.arrastay-hero-wrap {
  background: linear-gradient(180deg, #fff 30%, #f4f4f7 100%);
  text-align: center;
  padding: 48px 0 16px 0;
}
.arrastay-hero-title {
  color: #e1056b;
  font-size: 2.5em;
  font-weight: 800;
  margin-bottom: 10px;
  margin-top: 8px;
}
.arrastay-hero-sub {
  font-size: 1.18em;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
}
.arrastay-search-bar {
  margin: 0 auto 30px auto;
  max-width: 900px;
  display: flex;
  gap: 14px;
  padding: 13px 14px 13px 24px;
  background: #fff;
  border-radius: 42px;
  box-shadow: 0 5px 18px #0001;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 8px;
}
.arrastay-search-bar input,
.arrastay-search-bar select {
  font-size: 1.13em;
  padding: 11px 14px;
  border: none;
  border-radius: 18px;
  background: #f8f8fa;
  min-width: 125px;
  outline: none;
}
.arrastay-search-bar input[type="date"] { min-width: 110px; }
.arrastay-search-bar button {
  background: #e1056b;
  color: #fff;
  border: none;
  border-radius: 22px;
  font-size: 1em;
  padding: 12px 34px;
  font-weight: 600;
  box-shadow: 0 3px 8px #e1056b11;
  transition: background .18s;
}
.arrastay-search-bar button:hover { background: #ad0055; }
@media (max-width: 900px) {
  .arrastay-hero-title { font-size: 1.7em; }
  .arrastay-search-bar { flex-direction: column; gap: 8px; border-radius: 20px; padding: 12px; }
}

/* ===== POPULAR LISTING & GRID ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.arrastay-popular-title {
  font-size: 1.23em;
  font-weight: 700;
  color: #222;
  margin-bottom: 14px;
  margin-top: 22px;
  padding-left: 10px;
}
.arrastay-listings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin: 0 auto 38px auto;
  padding: 0 10px 0 10px;
}
.arrastay-listing-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px #0002;
  width: 305px;
  min-width: 260px;
  max-width: 100%;
  padding: 0 0 24px 0;
  text-align: left;
  transition: box-shadow .2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative;
  margin-bottom: 10px;
}
.arrastay-listing-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}
.arrastay-listing-card h3,
.arrastay-listing-location,
.arrastay-listing-review,
.arrastay-listing-price {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.arrastay-listing-card h3 {
  font-size: 1.10em;
  font-weight: 700;
  margin: 18px 0 6px 0;
  line-height: 1.22em;
}
.arrastay-listing-location {
  color: #888;
  font-size: .98em;
  margin-bottom: 5px;
  margin-top: 0;
}
.arrastay-listing-review {
  margin: 4px 0 7px 0;
  color: #ffa600;
  font-size: 1.09em;
  letter-spacing: 1.5px;
}
.arrastay-listing-price {
  color: #e1056b;
  font-weight: 700;
  font-size: 1.09em;
  margin: 0 0 8px 0;
}
.arrastay-detail-btn {
  display: block;
  margin: 18px auto 0 auto;
  width: 80%;
  max-width: 160px;
  background: #e1056b;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 1.07em;
  font-weight: 600;
  padding: 13px 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 3px 10px #e1056b14;
  transition: background .18s;
  text-decoration: none;
}
.arrastay-detail-btn:hover { background: #fcdce7; }
@media (max-width: 900px) {
  .arrastay-listings-grid { justify-content: center; gap: 14px; padding: 0 4vw; }
  .arrastay-listing-card { width: 98vw; max-width: 370px; }
}
@media (max-width: 700px) {
  .arrastay-popular-title { padding-left: 0; }
  .arrastay-listings-grid { padding: 0 1vw; }
  .arrastay-listing-card h3,
  .arrastay-listing-location,
  .arrastay-listing-review,
  .arrastay-listing-price { padding-left: 14px; padding-right: 14px; }
}

/* ===== LOCATION GRID ===== */
.arrastay-location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 auto 28px auto;
  padding: 0 10px;
  justify-content: flex-start;
}
.arrastay-location-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #0001;
  min-width: 220px;
  max-width: 320px;
  width: 26vw;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 8px;
  transition: box-shadow .18s, transform .14s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  padding: 0;
}
.arrastay-location-card:hover {
  box-shadow: 0 8px 24px #e1056b11;
  transform: translateY(-2px) scale(1.025);
  background: #fce5f2;
}
/* Thumbnail lokasi */
.arrastay-location-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
  background: #f3f3fa;
  box-shadow: 0 1px 8px #0001;
  display: block;
}
/* Konten lokasi */
.arrastay-location-card > div {
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.arrastay-location-name {
  font-size: 1.13em;
  font-weight: 700;
  color: #e1056b;
  margin-bottom: 4px;
}
.arrastay-location-count {
  color: #674F27;
  font-size: 0.98em;
}
@media (max-width: 900px) {
  .arrastay-location-grid { gap: 11px; }
  .arrastay-location-card { width: 90vw; max-width: 350px; min-width: 170px; }
  .arrastay-location-thumb { height: 82px; }
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 32px 0 18px 0;
  text-align: center;
  color: #999;
  font-size: 0.98em;
  background: #f3f3fa;
}
.footer-container {
  max-width: 1100px;
  margin: auto;
}
@media (max-width: 700px) {
  .site-footer, .footer-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 0.91em;
  }
}

/* ===== MISC ===== */
* { box-sizing: border-box; }
::-webkit-scrollbar { width: 9px; background: #eee; }
::-webkit-scrollbar-thumb { background: #e4e4e9; border-radius: 7px; }
a { color: #e1056b; text-decoration: none; }
a:hover { color: #ad0055; text-decoration: underline; }
input, select, button { font-family: inherit; }

/* ===== DEBUG ONLY ===== */
/* .debug { border: 1px solid red; } */

/* ===== FIX: Mobile controls hanya muncul di mobile ===== */
.arrastay-mobile-controls {
  display: none !important;
}
@media (max-width: 900px) {
  .arrastay-header-right {
    display: none !important;
  }
  .arrastay-mobile-controls {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 0 0 0;
    padding-bottom: 17px;
    background: none;
  }
}
/* ===== Review Section ===== */
.arrastay-review-section { background:#fff; border-radius:12px; box-shadow:0 2px 8px #0002; margin:24px 0; padding:32px 18px; }
.review-title { font-size:1.22em; font-weight:700; color:#e1056b; margin-bottom:12px; }
.arrastay-review-list { list-style:none; margin:0; padding:0; }
.arrastay-review-list li { border-bottom:1px solid #eee; padding:16px 0; }
.review-header { display:flex; align-items:center; gap:8px; margin-bottom:2px; }
.review-name { font-weight:600; margin-right:8px; }
.review-stars { color:#ffbb44; font-size:1.1em; letter-spacing:1px; }
.review-date { color:#888; font-size:.93em; margin-top:3px; }
.arrastay-review-form-wrap { margin-top:28px; }
.arrastay-review-form .form-group { margin-bottom:12px; }
.arrastay-review-form label { display:block; margin-bottom:4px; color:#333; font-size:.97em;}
.arrastay-review-form input[type="text"],
.arrastay-review-form input[type="email"],
.arrastay-review-form select,
.arrastay-review-form textarea {
    width:100%; border-radius:8px; border:1px solid #ddd; padding:9px 10px; font-size:1em; background:#f8f8fc;
}
.arrastay-review-form textarea { min-height:60px; }
.arrastay-review-form button,
.arrastay-review-form input[type="submit"] {
    background:#e1056b; color:#fff; border:none; border-radius:14px; padding:10px 26px; font-weight:600; cursor:pointer;
}
.arrastay-review-form button:hover,
.arrastay-review-form input[type="submit"]:hover { background:#ad0055; }

/* ===== Review Rating Stars ===== */
.arrastay-rating-stars {
  direction: rtl;
  display: inline-flex;
  gap: 3px;
}
.arrastay-rating-stars input[type="radio"] {
  display: none;
}
.arrastay-rating-stars label {
  font-size: 2em;
  color: #ccc;
  cursor: pointer;
  transition: color .15s;
  padding: 0 1px;
}
.arrastay-rating-stars input[type="radio"]:checked ~ label,
.arrastay-rating-stars label:hover,
.arrastay-rating-stars label:hover ~ label {
  color: #e1056b;
}
.arrastay-listing-price {
    color: #e1056b !important;
    font-size: 1.12em !important;
    font-weight: 700 !important;
    margin-bottom: 7px;
    margin-top: 0;
    letter-spacing: 0.2px;
}
.arrastay-listing-price span {
    font-weight: 400 !important;
    color: #333 !important;
    font-size: 0.93em !important;
}

