/* ===== Regenesis Site — Base Styles =====
   Placeholder brand colors/fonts — update once client branding is provided. */

:root {
  --color-primary: #b08d57;
  --color-primary-dark: #8a6d3f;
  --color-bg: #faf8f5;
  --color-bg-alt: #ffffff;
  --color-text: #2b2b2b;
  --color-text-light: #6b6b6b;
  --color-accent: #d8c3a5;
  --color-border: #e7e0d6;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --container-width: 1160px;
  --radius: 10px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-header .eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--color-text-light);
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary-dark);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-name {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--color-text-light);
  white-space: nowrap;
}

.logo-img {
  height: 52px;
  width: auto;
}

.footer-grid .logo-img {
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-switch a {
  display: flex;
  padding: 2px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  line-height: 0;
}

.lang-switch a svg {
  display: block;
  width: 24px;
  height: 16px;
  border-radius: 2px;
}

.lang-switch a.active {
  border-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* ===== Hero ===== */

.hero {
  padding: 210px 0 190px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.42) 0%, rgba(20, 16, 12, 0.5) 100%),
    url('../img/hero-bg.jpg') center 20% / cover no-repeat;
}

.hero .eyebrow {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 3rem;
  max-width: 780px;
  margin: 18px auto 20px;
  color: #fff;
}

.hero p {
  max-width: 560px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== Page banner (inner pages) ===== */

.page-banner {
  padding: 70px 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.page-banner h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.breadcrumb {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--color-primary);
}

/* ===== Cards / Grid ===== */

.grid {
  display: grid;
  gap: 30px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.card-photo {
  position: relative;
  height: 320px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-photo .card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  padding: 26px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 5%, rgba(0, 0, 0, 0) 70%);
  transition: background 0.35s ease, inset 0.35s ease, border-radius 0.35s ease, box-shadow 0.35s ease;
}

.card-photo .card-body h3 {
  color: #fff;
  transition: color 0.35s ease;
}

.card-photo .card-body p,
.card-photo .card-body .card-link,
.card-photo .card-body .disclaimer-note {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.35s ease;
}

/* Revealed state: mouse hover on devices that support it, or a tap toggling
   .is-open (see main.js) on touch devices that have no hover. */
.card-photo.is-open img {
  transform: scale(1.06);
}

.card-photo.is-open .card-body {
  inset: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  justify-content: center;
  text-align: center;
}

.card-photo.is-open .card-body h3 {
  color: var(--color-text);
}

.card-photo.is-open .card-body p {
  max-height: 140px;
  opacity: 1;
  margin-top: 10px;
  color: var(--color-text-light);
}

.card-photo.is-open .card-body .card-link,
.card-photo.is-open .card-body .disclaimer-note {
  max-height: 40px;
  opacity: 1;
  margin-top: 12px;
}

@media (hover: hover) and (pointer: fine) {
  .card-photo:hover img {
    transform: scale(1.06);
  }

  .card-photo:hover .card-body {
    inset: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    justify-content: center;
    text-align: center;
  }

  .card-photo:hover .card-body h3 {
    color: var(--color-text);
  }

  .card-photo:hover .card-body p {
    max-height: 140px;
    opacity: 1;
    margin-top: 10px;
    color: var(--color-text-light);
  }

  .card-photo:hover .card-body .card-link,
  .card-photo:hover .card-body .disclaimer-note {
    max-height: 40px;
    opacity: 1;
    margin-top: 12px;
  }
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

.card .card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* ===== Stats ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.stats .stat h3 {
  font-size: 2.4rem;
  color: var(--color-primary-dark);
}

.stats .stat p {
  color: var(--color-text-light);
  margin-top: 6px;
}

/* ===== Two-column content ===== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
}

.split .eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
}

.split h2 {
  font-size: 2rem;
  margin: 12px 0 18px;
}

.split p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.img-placeholder {
  background: var(--color-accent);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

.split-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== Floating quick-action buttons ===== */

.floating-actions {
  position: fixed;
  right: 22px;
  top: 60%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
}

.floating-actions a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition);
}

.floating-actions a:hover {
  transform: scale(1.08);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-telegram {
  background: #26a5e4;
}

.fab-booking {
  background: var(--color-primary);
}

@media (max-width: 700px) {
  .floating-actions {
    right: 14px;
    gap: 10px;
  }

  .floating-actions a {
    width: 46px;
    height: 46px;
  }
}

/* ===== CTA banner ===== */

.cta-banner {
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-banner h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.cta-banner .btn-outline {
  border-color: #fff;
  color: #fff;
}

.cta-banner .btn-outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
}

/* ===== Contact page ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-list {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-bg-alt);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  min-height: 260px;
  border-radius: var(--radius);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-top: 30px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.disclaimer-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  font-style: italic;
}

.detail-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.detail-sidebar {
  flex: 0 0 260px;
  position: sticky;
  top: 24px;
}

.detail-sidebar h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.detail-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.detail-sidebar li {
  border-bottom: 1px solid var(--color-border);
}

.detail-sidebar a {
  display: block;
  padding: 12px 4px;
  font-size: 0.92rem;
  color: var(--color-text-light);
  transition: color var(--transition);
}

.detail-sidebar a:hover {
  color: var(--color-primary-dark);
}

.detail-sidebar a.active {
  color: var(--color-primary);
  font-weight: 600;
}

.detail-content {
  flex: 1;
  min-width: 0;
}

.detail-content h2 {
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.detail-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.detail-content .btn {
  margin-top: 10px;
}

@media (max-width: 800px) {
  .detail-wrap {
    flex-direction: column;
  }

  .detail-sidebar {
    flex: 1 1 auto;
    width: 100%;
    position: static;
  }
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.social-links a {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition), border-color var(--transition);
}

.social-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* ===== Footer ===== */

.site-footer {
  background: #211c16;
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-grid .logo {
  color: #fff;
}

.footer-grid p {
  font-size: 0.9rem;
  margin-top: 14px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-grid ul a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* ===== Team ===== */

.team-grid {
  grid-template-columns: repeat(4, 1fr);
  row-gap: 40px;
}

.team-member {
  text-align: center;
}

.team-member .avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.team-member h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-member p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 700px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .site-header .container {
    flex-wrap: wrap;
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    row-gap: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }
}
