:root {
  --cloud: #f5f7fb;
  --white: #ffffff;
  --black: #0f172a;
  --muted: #64748b;
  --teal: rgb(15, 118, 110);
   --teal-dark:#064e4a;
  --danger: #dc2626;
  --gold: #c9a44c;
  --gold-light: #e9c888;
}

/* RESET */
* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system;
}

body {
  margin: 0;
  background: linear-gradient(135deg,#e9e9e9,#c4faf5);
  color: var(--black);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 48px;
  transition: background-image .6s ease;
 background-size: cover;
  background-position: center;
}


/* HERO INNER */
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  z-index: 2;
}

.hero-content {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* gap: 0.3rem; */
}

/* LOGO */
.logo-circle {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 2px solid var(--teal-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);

  background-color: #fff; /* fallback */
}

/* TEXT */
.hero h1 {
  margin: 0;
  font-size: 46px;
  font-weight: 700;
  color: var(--teal);
}

.hero p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 540px;
  color: var(--teal);
}

/* LIMIT ABOUT TO 2 LINES */
#heroAbout {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
}

/* ================= HERO ACTIONS ================= */
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-actions button {
  position: relative;
  border: none;
  /* background: linear-gradient(135deg,var(--teal), var(--teal-dark)); */
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all .35s ease;
}

/* SHINE EFFECT */
.hero-actions button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  transform: skewX(-25deg);
  transition: all .6s ease;
}

.hero-actions button:hover::before {
  left: 130%;
}

.hero-actions button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(187,141,86,.35);
}

/* VARIANTS */
.hero-actions .view {
  background: linear-gradient(135deg,var(--teal), var(--teal-dark));
}

.hero-actions .edit {
  background: linear-gradient(135deg,var(--gold-light), var(--gold));
}

.hero-actions .delete {
  background: linear-gradient(135deg, #dc2626, #fca5a5);
  color: #fff;
}

/* ================= CONTAINER ================= */
.container {
  padding: 5rem 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

h2 {
  margin: 24px 0 14px;
  font-size: 24px;
}


/* ================= CAROUSEL ================= */
.carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 28px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-wrap {
  position: relative;
}

/* RIGHT fade (always visible) */
.carousel-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to left,
    var(--cloud),
   rgba(1, 158, 179, 0.002)
  );
}

/* LEFT fade (only when scrolled) */
.carousel-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
   background: linear-gradient(
    to left,
    var(--cloud),
   rgba(1, 158, 179, 0.005)
  );
}

/* Show left fade only when active */
.carousel-wrap.scrolled::before {
  opacity: 1;
}


/* ================= TILE ================= */
.salon-card {
  width: 100%;
  max-width: 260px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.02);
  cursor: pointer;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  flex-shrink: 0;
}

.salon-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.edit-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 50%;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.edit-icon:hover {
  background: #0ea5a4;
  color: #fff;
}

.salon-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.salon-tags {
  color: #0ea5a4;
  font-size: 13px;
}

.salon-name {
  margin: 4px 0;
  font-size: 17px;
}

.salon-address {
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 6px;
}

.salon-rating {
  font-size: 14px;
  font-weight: 600;
}

.salon-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: flex-end;
}

.delete-btn {
  background: #fee2e2;
  border: none;
  color: #b91c1c;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
}

.delete-btn:hover {
  background: #ef4444;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .salon-card {
    max-width: 100%;
  }

  .salon-image {
    height: 160px;
  }
}

.salon-date {
  font-size: 12px;
  color: #64748b;
  margin: 5px 0px 10px;
}

#hero.skeleton {
  background: #e5e7eb;
  animation: pulse 1.5s infinite;
}


/* LOAD MORE */
.load-more-card {
  width: 260px;
  height: 320px;
  border: 2px dashed #94a3b8;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
}

/* SKELETON */
.skeleton {
  background: #e5e7eb;
  animation: pulse 1.5s infinite;
}

.skeleton-img {
  height: 180px;
  background: #d1d5db;
}

.skeleton-line {
  height: 12px;
  margin: 10px;
  background: #d1d5db;
  border-radius: 6px;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes pulse {
  0% { opacity: .5 }
  50% { opacity: 1 }
  100% { opacity: .5 }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .hero {
    padding: 32px 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .tile {
    min-width: 190px;
    height: 120px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions button {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
  }
}



/* ==============================
   CTA SECTION
============================== */
.cta-section {
  position: relative;
  width: 100%;
  padding: 10rem 5% 12rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  z-index: 2;
}
.cta-content span{
  font-size: 3rem;
   background: var(--teal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content h3 {
  font-size: 1rem;
  color:var(--muted);
  font-weight: 400;
  letter-spacing: 1px;
  transform: uppercase;
  margin-bottom: 0.8rem;
}

.cta-content .cta-subtitle {
  font-size: 1.2rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.cta-content .cta-description {
  font-size: 1.2rem;
  color:var(--teal-dark);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-section {
    padding: 5rem 7% 7rem;
  }
  .cta-content h3 {
    font-size: 1rem;
  }
  .cta-content .cta-subtitle {
    font-size: 1.5rem;
  }
  .cta-content .cta-description {
    font-size: 1rem;
  }
  .cta-content span{
  font-size: 1.5rem;
}
}


#space-bg{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  pointer-events:none;
}


@media (max-width: 500px) {
  .container {
    padding: 30px 20px 10px;
  }

  #heroTitle {
    margin-top: 15px;
    font-size: 1.5rem;
    text-align: center;
    color: var(--teal-dark);
  }
   #heroAbout {
    font-size: 1rem;
    text-align: center;
  }

  .hero-content{
    background-color: rgba(0, 255, 229, 0.171);
    padding: 2rem 1rem;
    border-radius: 12px;
  }
}