/* ====================================================
   Massage Galini — Modern Redesign
   High-Premium, Serene Aesthetic | © 2026
   ==================================================== */

:root {
  /* Color Palette - Serene & Organic */
  --sage-deep: #4A5D4E;
  --sage-light: #A8B5A2;
  --sand: #E5DED4;
  --sand-light: #F8F5F1;
  --gold-muted: #C9A96E;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --accent: #C18C5D;
  /* Terracotta-ish */

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Misc */
  --radius-lg: 24px;
  --radius-md: 12px;
  --radius-sm: 4px;
  --transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 50px rgba(74, 93, 78, 0.1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--sand-light);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--sage-deep);
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 2.25vw, 2.2rem);
}

.tagline {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8C6A36; /* Darker gold for accessibility */
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--sage-deep);
  opacity: 0.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}



.btn-primary {
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.btn-outline {
  border: 1px solid var(--sage-deep);
  color: var(--sage-deep);
}

.btn-outline:hover {
  background: var(--sage-deep);
  color: var(--white);
  transform: translateY(-5px);
}

.btn-outline-white {
  border: 1px solid var(--white);
  color: var(--white);
}

.btn-outline-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-5px);
}

/* ---------- Layout & Shell ---------- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section {
  padding: 8rem 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(248, 245, 241, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sage-deep);
  font-weight: 700;
}

.logo img {
  width: 150px !important;
  max-width: 38vw;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.language-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: var(--sage-deep);
}

.language-links a {
  letter-spacing: 0.08em;
}

.language-links a.active {
  color: var(--accent);
}

.language-links span {
  opacity: 0.35;
}

html[lang="el"] .nav-links {
  gap: 1.9rem;
}

html[lang="el"] .nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

html[lang="el"] .nav-btn-desktop {
  padding: 1rem 2rem;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em;
}

html[lang="el"] .language-links {
  gap: 0.35rem;
}

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--sage-deep);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-only {
  display: none;
}

/* ---------- Hero Section ---------- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--sand);
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/hero.webp') center/cover no-repeat;
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

#reviews .reveal:not(.badges-container) > div {
  overflow: hidden;
}

#FeedbackApp {
  display: block;
}

/* ---------- Services / Diensten ---------- */
.services-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(74, 93, 78, 0.05);
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
}

.accordion-header h3 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.accordion-header h3 a {
  color: inherit;
  text-decoration: none;
}

.accordion-header h3 a:hover {
  color: var(--accent);
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border: 1px solid var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.accordion-item.active {
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-light);
}

.accordion-item.active .accordion-icon {
  background: var(--sage-deep);
  color: var(--white);
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;
  padding: 0 2rem;
}

.accordion-item.active .accordion-content {
  max-height: 420px;
  padding-bottom: 2rem;
}

.service-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Reviews & Awards ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.review-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--sage-light);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  color: var(--gold-muted);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-style: italic;
  opacity: 0.8;
  font-size: 1.05rem;
  flex-grow: 1;
}

.review-author {
  font-weight: 600;
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-date {
  font-size: 0.8rem;
  opacity: 0.6;
  font-weight: 400;
}

.badges-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid rgba(74, 93, 78, 0.1);
  padding-top: 4rem;
}

.badge {
  text-align: center;
  color: var(--sage-deep);
}

.badge-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-muted);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-text {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Contact Section ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage-deep);
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand);
  background: var(--white);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage-deep);
  outline: none;
  box-shadow: var(--shadow-sm);
}

.form-status {
  min-height: 1.5rem;
  color: var(--sage-deep);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status.error {
  color: #8C3D2F;
}

/* ---------- Detail Pages ---------- */
.detail-page {
  padding-top: 10rem;
}

.detail-hero {
  max-width: 820px;
  margin-bottom: 4rem;
}

.detail-hero h1 {
  margin-bottom: 1.5rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 4rem;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 3rem;
}

.detail-content section {
  display: grid;
  gap: 1rem;
}

.detail-content h2 {
  font-size: clamp(1.75rem, 2.5vw, 2.6rem);
  margin-bottom: 0;
}

.detail-content p,
.detail-content li {
  font-size: 1.02rem;
}

.bullet-list {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.detail-panel {
  background: var(--white);
  border: 1px solid rgba(74, 93, 78, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 7rem;
}

.detail-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0;
}

.detail-panel a:not(.btn),
.text-link {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold-muted);
  text-underline-offset: 0.25em;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-list article {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(74, 93, 78, 0.08);
}

.faq-list h2 {
  font-size: 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--sage-deep);
  color: var(--white);
  padding: 6rem 0 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer h3,
.footer h4 {
  color: var(--gold-muted);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.8; /* Increased for accessibility */
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1025px) and (max-width: 1440px) {
  h1 {
    font-size: clamp(3.1rem, 4.65vw, 4.75rem);
  }

  .hero-content {
    max-width: 600px;
    transform: translateY(1.25rem);
  }

  .hero .lead {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .hero-buttons .btn {
    padding: 1rem 2.35rem;
    font-size: 0.82rem;
  }
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .services-container,
  .contact-wrapper,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .detail-panel {
    position: static;
  }

  .hero-bg {
    display: none;
  }

  .hero {
    background: url('../images/hero.webp') center/cover no-repeat;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(248, 245, 241, 0.8);
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    width: 100vw;
    max-width: 100vw;
  }

  .nav .container,
  .nav-inner {
    max-width: 100vw;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--sand-light);
    padding: 2rem 0;
    gap: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    clip-path: circle(0% at top right);
    transition: clip-path 0.5s ease-in-out;
  }

  .language-links {
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .nav-btn-desktop {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile-only .btn {
    display: inline-flex;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  .section {
    padding: 5rem 0;
  }

  .nav {
    padding: 1.25rem 0;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3rem);
    letter-spacing: 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

  .tagline {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .hero {
    min-height: 100svh;
    height: auto;
    padding: 6.75rem 0 2rem;
    align-items: center;
  }

  .hero-content {
    max-width: 21rem;
    transform: translateY(1rem);
  }

  .hero .lead {
    margin-bottom: 1.6rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    width: min(100%, 21rem);
    gap: 0.65rem;
    margin: 0 auto;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .detail-page {
    padding-top: 9rem;
  }

  .detail-page .container {
    padding: 0 1.6rem;
  }

  .detail-hero {
    margin-bottom: 3.25rem;
  }

  .detail-hero h1 {
    font-size: clamp(2.3rem, 9.2vw, 2.85rem);
    line-height: 1.12;
    letter-spacing: 0;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .detail-hero .lead {
    font-size: 0.98rem;
    line-height: 1.68;
    max-width: 19.5rem;
  }

  .detail-content {
    gap: 2.6rem;
  }

  .detail-content h2 {
    font-size: clamp(1.75rem, 7.2vw, 2.1rem);
    line-height: 1.16;
    text-wrap: balance;
  }

  .detail-content p,
  .detail-content li {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .detail-actions {
    gap: 0.75rem;
  }

  .detail-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 3.1rem;
    padding: 0.8rem 1rem;
  }

  .accordion-header {
    padding: 1.25rem 1.4rem;
  }

  .accordion-header h3 {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .accordion-content {
    padding: 0 1.4rem;
  }

  .accordion-item.active .accordion-content {
    max-height: 560px;
    padding-bottom: 1.4rem;
  }

  .accordion-content p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .service-meta {
    gap: 0.55rem !important;
    align-items: center !important;
  }

  .service-meta > div {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.45rem !important;
  }

  .service-meta span {
    font-size: 0.76rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .service-meta .btn {
    flex: 0 0 auto;
    min-width: 5rem;
    padding: 0.48rem 0.82rem !important;
    font-size: 0.66rem !important;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  #reviews .container {
    padding: 0 1.25rem;
  }

  #reviews .reveal:has(#FeedbackApp) {
    margin-bottom: 2.5rem !important;
  }

  #reviews .reveal:not(.badges-container) > div {
    max-width: 100% !important;
    height: 620px !important;
    padding: 0.65rem !important;
    border-radius: 18px !important;
    overflow: hidden;
  }

  #FeedbackApp {
    width: 145% !important;
    height: 899px !important;
    transform: scale(0.69);
    transform-origin: top left;
    border-radius: 14px !important;
    filter: none !important;
  }

  .badges-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: start;
    padding-top: 2rem;
  }

  .badges-container.reveal {
    opacity: 1;
    transform: none;
  }

  .badge-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .badge-text {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}
