/*
Theme Name: Cielo Hiriketiya
Theme URI: https://cielohiriketiya.com
Author: Cielo Hiriketiya
Author URI: https://cielohiriketiya.com
Description: A luxury boutique hotel theme for Cielo Hiriketiya, Sri Lanka. Features a full-screen hero, amenities grid, room gallery, location section, guest reviews, and WhatsApp booking integration.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: Private
License URI: #
Text Domain: cielo-hiriketiya
Tags: hotel, boutique, luxury, travel, full-width-template
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: #fdfaf5;
  color: #1c2b2a;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --sand: #f5f0e8;
  --warm-white: #fdfaf5;
  --deep-ocean: #1a3045;
  --teal: #2a7a6b;
  --teal-light: #3a9d8a;
  --gold: #c5a55a;
  --text-dark: #1c2b2a;
  --text-muted: #6b7c7a;
  --wa-green: #25D366;
}

/* =============================================
   NAVIGATION
   ============================================= */
.cielo-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 3rem;
  background: rgba(253,250,245,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,165,90,0.2);
  transition: all 0.3s;
}
.cielo-nav__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; letter-spacing: 0.15em;
  color: var(--deep-ocean);
}
.cielo-nav__logo span { color: var(--gold); font-style: italic; }
.cielo-nav__links {
  display: flex; gap: 2.5rem; list-style: none;
}
.cielo-nav__links a {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted); transition: color 0.2s;
}
.cielo-nav__links a:hover { color: var(--teal); }
.cielo-nav__book {
  background: var(--teal); color: white;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  border: none; padding: 0.7rem 1.8rem; cursor: pointer;
  display: inline-block; transition: background 0.2s;
}
.cielo-nav__book:hover { background: var(--teal-light); color: white; }

/* =============================================
   HERO
   ============================================= */
.cielo-hero {
  height: 100vh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
}
.cielo-hero__bg {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: brightness(1.1) contrast(1.05);
  transform: scale(1.0);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.cielo-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.3) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.03); }
}
.cielo-hero__content {
  position: relative; z-index: 2;
  padding: 0 5rem 6rem;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.cielo-hero__tag {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.cielo-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300; color: white; line-height: 1.05; margin-bottom: 1.5rem;
}
.cielo-hero__title em { font-style: italic; color: rgba(255,255,255,0.85); }
.cielo-hero__sub {
  font-size: 0.85rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}
.cielo-hero__cta {
  display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--wa-green); color: white;
  padding: 1rem 2rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  transition: all 0.3s; border-radius: 2px;
}
.cielo-hero__cta:hover { background: #1ebe5a; transform: translateY(-2px); color: white; box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.cielo-hero__cta svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

/* =============================================
   STATS STRIP
   ============================================= */
.cielo-strip {
  background: var(--deep-ocean);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 2.5rem 5rem;
}
.cielo-strip__item {
  text-align: center; padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.cielo-strip__item:last-child { border-right: none; }
.cielo-strip__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 0.4rem;
}
.cielo-strip__label {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.cielo-section { padding: 6rem 5rem; }
.cielo-section--sand { background: var(--sand); }
.cielo-section--white { background: white; }
.cielo-section--dark { background: var(--deep-ocean); }
.cielo-section__tag {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.cielo-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1; color: var(--deep-ocean);
}
.cielo-section__title em { font-style: italic; }
.cielo-section__title--light { color: white; }
.cielo-section__body {
  font-size: 0.95rem; line-height: 1.85; color: var(--text-muted);
  max-width: 520px; font-weight: 300;
}
.cielo-section__body--light { color: rgba(255,255,255,0.6); max-width: 100%; }
.cielo-ornament {
  text-align: center; padding: 2rem 0;
  font-size: 0.85rem; color: var(--gold); letter-spacing: 0.3em;
}

/* =============================================
   ABOUT
   ============================================= */
.cielo-about { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.cielo-about__text > * + * { margin-top: 1.5rem; }
.cielo-about__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cielo-about__img-wrap { overflow: hidden; }
.cielo-about__img-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.6s ease; }
.cielo-about__img-wrap:first-child { margin-top: 3rem; }
.cielo-about__img-wrap:hover img { transform: scale(1.04); }

/* =============================================
   AMENITIES
   ============================================= */
.cielo-amenities__header { margin-bottom: 3.5rem; }
.cielo-amenities__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(26,48,69,0.12);
}
.cielo-amenity {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid rgba(26,48,69,0.12);
  border-bottom: 1px solid rgba(26,48,69,0.12);
  transition: background 0.3s;
}
.cielo-amenity:hover { background: white; }
.cielo-amenity:nth-child(4n) { border-right: none; }
.cielo-amenity__icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.cielo-amenity__name {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--deep-ocean); font-weight: 500;
}

/* =============================================
   PHOTO GALLERY
   ============================================= */
.cielo-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto; gap: 6px;
}
.cielo-gallery__item { overflow: hidden; aspect-ratio: 3/4; }
.cielo-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.cielo-gallery__item:hover img { transform: scale(1.05); }

/* =============================================
   ROOMS
   ============================================= */
.cielo-room { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
.cielo-room__gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; }
.cielo-room__main { grid-row: 1 / 3; overflow: hidden; }
.cielo-room__main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: transform 0.6s ease; }
.cielo-room__main:hover img { transform: scale(1.05); }
.cielo-room__side { overflow: hidden; }
.cielo-room__side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: transform 0.6s ease; }
.cielo-room__side:hover img { transform: scale(1.05); }
.cielo-room__text > * + * { margin-top: 1.5rem; }
.cielo-room__features { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.5rem 0; }
.cielo-room__tag {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(26,48,69,0.25); padding: 0.4rem 0.9rem; color: var(--text-muted);
}
.cielo-room__note { font-size: 0.8rem; color: var(--gold); }
.cielo-room__btn {
  margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.8rem;
  background: var(--wa-green); color: white;
  padding: 1rem 2rem; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: all 0.3s; font-family: 'Jost', sans-serif;
}
.cielo-room__btn:hover { background: #1ebe5a; color: white; }
.cielo-room__btn svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

/* =============================================
   LOCATION
   ============================================= */
.cielo-location { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.cielo-distances { margin-top: 2.5rem; }
.cielo-dist__item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}
.cielo-dist__item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.cielo-dist__place { color: rgba(255,255,255,0.75); }
.cielo-dist__val { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.1em; }
.cielo-map {
  aspect-ratio: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
}
.cielo-map__pin { font-size: 3rem; }
.cielo-map__coords { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold); font-style: italic; }
.cielo-map__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.cielo-map__link {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); padding: 0.7rem 1.5rem;
  transition: all 0.2s;
}
.cielo-map__link:hover { background: var(--gold); color: white; }

/* =============================================
   REVIEWS
   ============================================= */
.cielo-reviews__header { text-align: center; margin-bottom: 4rem; }
.cielo-reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.cielo-review {
  background: white; padding: 2.5rem;
  border: 1px solid rgba(26,48,69,0.07); transition: box-shadow 0.3s;
}
.cielo-review:hover { box-shadow: 0 8px 40px rgba(26,48,69,0.08); }
.cielo-review__stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.cielo-review__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; line-height: 1.7; font-style: italic;
  color: var(--text-dark); margin-bottom: 1.5rem;
}
.cielo-review__author { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.cielo-score {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--teal); color: white;
  padding: 0.3rem 0.8rem; font-size: 0.85rem;
  font-family: 'Cormorant Garamond', serif; margin-top: 1rem;
}

/* =============================================
   BOOK CTA
   ============================================= */
.cielo-book {
  background-position: center; background-size: cover; background-repeat: no-repeat;
  padding: 8rem 5rem; text-align: center; color: white; position: relative;
}
.cielo-book__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(26,48,69,0.78), rgba(26,48,69,0.85));
}
.cielo-book__inner { position: relative; z-index: 2; }
.cielo-book__title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 300; color: white; margin: 0 auto 1.5rem; max-width: 600px; }
.cielo-book__body { font-size: 0.95rem; line-height: 1.85; color: rgba(255,255,255,0.65); margin: 0 auto 3rem; max-width: 520px; font-weight: 300; }
.cielo-book__btn {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--wa-green); color: white;
  padding: 1.2rem 3rem; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: all 0.3s; font-family: 'Jost', sans-serif; border-radius: 2px;
}
.cielo-book__btn:hover { background: #1ebe5a; transform: translateY(-3px); color: white; box-shadow: 0 12px 40px rgba(37,211,102,0.35); }
.cielo-book__btn svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
.cielo-book__note { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.45); letter-spacing: 0.1em; }

/* =============================================
   FOOTER
   ============================================= */
.cielo-footer {
  background: #0f1e2d; padding: 3rem 5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.cielo-footer__logo { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; letter-spacing: 0.15em; color: white; }
.cielo-footer__logo span { color: var(--gold); font-style: italic; }
.cielo-footer__info { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; line-height: 1.8; }
.cielo-footer__wa { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--wa-green); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; transition: opacity 0.2s; }
.cielo-footer__wa:hover { opacity: 0.75; color: var(--wa-green); }
.cielo-footer__wa svg { width: 18px; height: 18px; fill: var(--wa-green); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .cielo-nav { padding: 1.2rem 1.5rem; }
  .cielo-nav__links { display: none; }
  .cielo-section { padding: 4rem 1.5rem; }
  .cielo-hero__content { padding: 0 1.5rem 4rem; }
  .cielo-strip { grid-template-columns: repeat(2, 1fr); padding: 1.5rem; }
  .cielo-about { grid-template-columns: 1fr; gap: 3rem; }
  .cielo-about__imgs { display: none; }
  .cielo-amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .cielo-gallery { grid-template-columns: 1fr 1fr; }
  .cielo-room { grid-template-columns: 1fr; }
  .cielo-room__gallery { display: none; }
  .cielo-location { grid-template-columns: 1fr; gap: 3rem; }
  .cielo-map { display: none; }
  .cielo-reviews__grid { grid-template-columns: 1fr; }
  .cielo-footer { flex-direction: column; padding: 2rem 1.5rem; text-align: center; }
  .cielo-book { padding: 5rem 1.5rem; }
}
