/* ══════════════════════════════════════════════
   Ren Head Spa — Home Page Styles
   assets/css/home.css
   ══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  height: 100vh; min-height: 700px;
  position: relative; display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

    .hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.glow-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(220,170,130,0.35) 0%, transparent 70%);
  animation: pulse 5s ease-in-out infinite;
}
.glow-orb.g1 { width: 500px; height: 200px; bottom: 12%; left: 3%; animation-delay: 0s; }
.glow-orb.g2 { width: 380px; height: 280px; bottom: 20%; left: 10%; animation-delay: 1.8s; }
.glow-orb.g3 { width: 340px; height: 340px; bottom: 8%; right: 8%; animation-delay: 3.2s; }
.glow-orb.g4 { width: 320px; height: 320px; bottom: 16%; right: 14%; animation-delay: 1s; }
@keyframes pulse { 0%,100%{ opacity:0.55; transform: scale(1); } 50%{ opacity:0.9; transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,12,8,0.2) 0%, rgba(20,12,8,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  animation: fadeUp 1.2s ease both;
}
.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.5vw, 90px);
  font-weight: 400; color: var(--cream);
  line-height: 1.15; letter-spacing: 0.01em;
  text-shadow: 0 2px 48px rgba(0,0,0,0.5);
  margin-bottom: 44px;
}

/* ── ABOUT ── */
.about { background: var(--cream); padding: 110px 60px; }
.about-inner { max-width: 1160px; margin: 0 auto; }
.about-text { max-width: 740px; margin: 0 auto 56px; }
.about-photos {
  display: grid;
  grid-template-columns: 462fr 393fr 462fr 394fr;
  gap: 10px; margin-bottom: 44px; align-items: center;
}
.about-photo { background: #c4b0a0; overflow: hidden; position: relative; }
.about-photo:nth-child(odd)  { aspect-ratio: 462/616; }
.about-photo:nth-child(even) { aspect-ratio: 393/492; }
.about-photo-inner { width: 100%; height: 100%; transition: transform 0.6s ease; display: flex; align-items: center; justify-content: center; }
.about-photo:hover .about-photo-inner { transform: scale(1.05); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap1 { background: linear-gradient(145deg, #3a2820 0%, #6a4530 60%, #4a3828 100%); }
.ap2 { background: linear-gradient(145deg, #2e3a28 0%, #4d5e3e 60%, #3a4830 100%); }
.ap3 { background: linear-gradient(145deg, #4a3828 0%, #7a5840 60%, #5a4030 100%); }
.ap4 { background: linear-gradient(145deg, #303828 0%, #526040 60%, #3e4e30 100%); }
.about-photo-inner svg { width: 44px; height: 44px; fill: rgba(255,243,234,0.18); }
.about-cta { text-align: center; }

/* ── OUR SERVICES ── */
.services {
    background-image: url('../images/ourservice_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 60px;
    position: relative;
    overflow: hidden;
}
.services::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,243,234,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.services-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 1; }
.services-slider { position: relative; margin-top: 56px; }
.services-track {
  display: flex; gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px; cursor: grab;
}
.services-track:active { cursor: grabbing; }
.services-track::-webkit-scrollbar { display: none; }
.service-card {
  flex: 0 0 280px; scroll-snap-align: start;
  border: 1px solid rgba(255,243,234,0.12);
  background: rgba(255,243,234,0.04); overflow: hidden;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.service-card:hover { transform: translateY(-8px); background: rgba(255,243,234,0.09); border-color: rgba(175,117,95,0.4); }
.service-thumb { height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st1 { background: linear-gradient(145deg, #5a3828 0%, #8a5840 100%); }
.st2 { background: linear-gradient(145deg, #3a4828 0%, #5e7040 100%); }
.st3 { background: linear-gradient(145deg, #503020 0%, #7a5038 100%); }
.st4 { background: linear-gradient(145deg, #283830 0%, #4a6050 100%); }
.service-thumb svg { width: 52px; height: 52px; fill: rgba(255,243,234,0.2); }
.service-info { padding: 22px 24px 28px; }
.service-tag { font-family: var(--font-sans); font-size: 11.5px; color: var(--terracotta); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.service-name { font-family: var(--font-serif); font-size: 22px; color: var(--cream); font-weight: 400; line-height: 1.3; }
.services-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; }
.snav-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,243,234,0.3); background: transparent;
  color: var(--cream); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s;
}
.snav-btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.services-cta { text-align: center; margin-top: 44px; }

/* ── GALLERY ── */
.gallery {
    background-image: url('../images/gallery_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 110px 0;
}

.gallery-head {
    text-align: center;
    padding: 0 60px;
    margin-bottom: 56px;
}

.gallery-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    padding: 0 60px;
}

.gallery-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    transition: none;
}

.gallery-item {
    flex: 0 0 200px;
    height: 300px;
    overflow: hidden;
    opacity: 0.5;
    transform: scale(0.88);
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
}

    .gallery-item.active {
        flex: 0 0 320px;
        height: 420px;
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,243,234,0.4);
    background: transparent;
    color: var(--cream);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

    .gallery-prev:hover, .gallery-next:hover {
        background: var(--terracotta);
        border-color: var(--terracotta);
    }

.gallery-cta {
    text-align: center;
    margin-top: 44px;
    padding: 0 60px;
}

/* ── LOCATION ── */
.location { background: var(--cream); padding: 110px 60px; }
.location-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.location-map { aspect-ratio: 5/4; background: #d8cfc4; overflow: hidden; position: relative; }
.map-ph {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #cfc4b5 0%, #b8aa98 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.map-ph svg { width: 52px; height: 52px; fill: var(--terracotta); opacity: 0.7; }
.map-ph p { font-size: 13px; color: var(--dark); opacity: 0.55; letter-spacing: 0.04em; text-align: center; padding: 0 24px; }
.loc-line { font-family: var(--font-sans); font-size: 16px; color: var(--dark); line-height: 1.8; margin-bottom: 10px; }
.loc-line strong { font-weight: 500; }

/* ── HOME RESPONSIVE ── */
@media (max-width: 1024px) {
  .about, .location { padding: 80px 40px; }
  .services { padding: 80px 40px; }
  .gallery { padding: 80px 0; }
  .gallery-head { padding: 0 40px; }
  .gallery-strip { padding: 0 40px; }
  .gallery-cta { padding: 0 40px; }
}
@media (max-width: 900px) {
  .hero-content h1 { font-size: clamp(38px, 8vw, 64px); }
  .btn-primary { padding: 13px 38px; font-size: 12px; }
  .about { padding: 72px 32px; }
  .about-photos { grid-template-columns: 1fr 1fr; gap: 8px; }
  .about-photo:nth-child(odd),
  .about-photo:nth-child(even) { aspect-ratio: 4/5; }
  .services { padding: 72px 32px; }
  .service-card { flex: 0 0 240px; }
  .gallery { padding: 72px 0; }
  .gallery-head { padding: 0 32px; }
  .gallery-strip { padding: 0 32px; }
  .gallery-cta { padding: 0 32px; }
  .gallery-item { flex: 0 0 160px; height: 260px; }
  .gallery-item:hover { flex: 0 0 280px; }
  .location { padding: 72px 32px; }
  .location-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .hero { min-height: 600px; }
  .hero-content h1 { font-size: clamp(32px, 9vw, 48px); margin-bottom: 32px; }
  .glow-orb.g1 { width: 260px; height: 120px; }
  .glow-orb.g2 { width: 200px; height: 160px; }
  .glow-orb.g3 { width: 180px; height: 180px; }
  .glow-orb.g4 { width: 160px; height: 160px; }
  .about { padding: 60px 20px; }
  .about-photos { grid-template-columns: 1fr 1fr; gap: 6px; }
  .about-photo:nth-child(odd),
  .about-photo:nth-child(even) { aspect-ratio: 1/1; }
  .section-label { font-size: clamp(28px, 7vw, 40px); }
  .section-body { font-size: 15px; }
  .services { padding: 60px 20px; }
  .service-card { flex: 0 0 200px; }
  .service-thumb { height: 160px; }
  .gallery { padding: 60px 0; }
  .gallery-head { padding: 0 20px; margin-bottom: 36px; }
  .gallery-strip { padding: 0 20px; gap: 4px; }
  .gallery-cta { padding: 0 20px; }
  .gallery-item { flex: 0 0 140px; height: 220px; }
  .gallery-item:hover { flex: 0 0 220px; }
  .location { padding: 60px 20px; }
  .location-inner h2 { font-size: 36px !important; }
}
