/* Lystar Reviews - Travel Publication Design System */
:root {
  --color-cream-bg: #f9f6f0;
  --color-ink-text: #1a1a1a;
  --color-deep-teal: #0b3c3f;
  --color-gold-accent: #bfa05a;
  --color-soft-green: #e8efea;
  --color-pure-white: #ffffff;
  --color-charcoal: #2d2d2d;
  --color-muted-text: #5f5f5f;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  --spacing-unit: 8px;
  --max-width: 1200px;
  --lx-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --lx-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --lx-radius: 10px;
  --lx-radius-lg: 18px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-ink-text);
  background-color: var(--color-cream-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--color-deep-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-gold-accent);
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-unit);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-unit);
  position: relative;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

p {
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-primary {
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
  border-color: var(--color-deep-teal);
}

.btn-primary:hover {
  background-color: var(--color-gold-accent);
  color: var(--color-ink-text);
  border-color: var(--color-gold-accent);
  box-shadow: 0 6px 20px rgba(191, 160, 90, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-deep-teal);
  border-color: var(--color-deep-teal);
}

.btn-secondary:hover {
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-deep-teal);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-text:hover {
  background-color: var(--color-soft-green);
  color: var(--color-deep-teal);
}

.site-header {
  background-color: var(--color-deep-teal);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-pure-white);
  letter-spacing: 1px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-gold-accent);
}

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

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--color-pure-white);
  border-radius: 2px;
}

/* Hero sections */
.hero-section {
  background: linear-gradient(135deg, var(--color-cream-bg) 0%, #e8efea 50%, #d5e3de 100%);
  padding: 48px 24px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--color-deep-teal);
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--color-muted-text);
  max-width: 650px;
  margin: 0 auto 32px;
}

/* Intro and featured layout */
.introduction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0 24px;
  align-items: center;
}

.intro-image img {
  border-radius: var(--lx-radius-lg);
  box-shadow: var(--lx-shadow);
}

.intro-text h2 {
  color: var(--color-deep-teal);
  margin-bottom: 16px;
}

.selection-criteria {
  max-width: var(--max-width);
  margin: 32px auto;
  padding: 0 24px;
}

.selection-criteria h2 {
  text-align: center;
  color: var(--color-deep-teal);
  margin-bottom: 24px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.criteria-grid article {
  background-color: var(--color-pure-white);
  padding: 24px;
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow);
}

.criteria-grid h3 {
  color: var(--color-deep-teal);
  margin-bottom: 8px;
}

/* Featured properties */
.featured-properties {
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0 24px;
}

.featured-properties h2 {
  text-align: center;
  color: var(--color-deep-teal);
  margin-bottom: 24px;
}

.property-filter {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
  padding: 16px;
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow);
}

.property-filter select,
.property-filter button {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: var(--color-cream-bg);
}

.property-filter select:focus {
  outline: 2px solid var(--color-gold-accent);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.property-card {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  box-shadow: var(--lx-shadow);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.property-card:hover {
  box-shadow: var(--lx-shadow-hover);
  transform: translateY(-6px);
}

.property-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  color: var(--color-deep-teal);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.property-info p {
  color: var(--color-muted-text);
  font-size: 1rem;
  margin-bottom: 12px;
}

.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Responsible block */
.responsible-block {
  background-color: var(--color-ink-text);
  color: var(--color-pure-white);
  padding: 40px 24px;
  text-align: center;
  margin-top: 48px;
}

.responsible-block h2 {
  color: var(--color-gold-accent);
}

.responsible-block a {
  color: var(--color-gold-accent);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--color-charcoal);
  color: #ccc;
  padding: 48px 24px 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-pure-white);
}

.footer-nav h4,
.footer-contact h4 {
  color: var(--color-gold-accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav a {
  color: #ccc;
  line-height: 2.2;
}

.footer-nav a:hover {
  color: var(--color-gold-accent);
}

.footer-contact p {
  margin-bottom: 8px;
  color: #ccc;
}

.footer-contact a {
  color: var(--color-gold-accent);
}

.footer-bottom {
  border-top: 1px solid #555;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom p:last-child {
  color: var(--color-gold-accent);
  font-weight: 600;
  margin-top: 8px;
}

/* Age notice */
.age-notice-lx {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-gold-accent);
  pointer-events: none;
  opacity: 0.9;
}

/* Cookie banner */
.cookie-banner-lx {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background-color: var(--color-pure-white);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2);
  padding: 24px;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.cookie-banner-lx.hidden-cookie-lx {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-content p {
  margin-bottom: 0;
  flex: 1;
  min-width: 280px;
}

.cookie-banner-content a {
  color: var(--color-deep-teal);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-deep-teal);
  border-radius: 50px;
  background: transparent;
  color: var(--color-deep-teal);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept-all {
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
}

.cookie-accept-all:hover {
  background-color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
}

.cookie-btn:hover {
  background-color: var(--color-soft-green);
}

.cookie-banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-muted-text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.cookie-banner-close:hover {
  color: var(--color-ink-text);
}

/* Mobile nav */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    width: 100%;
    margin-top: 16px;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .intro-image {
    display: none;
  }

  .introduction {
    grid-template-columns: 1fr;
  }

  .criteria-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-filter select {
    flex: 1 1 100%;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

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

  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    padding: 10px 18px;
  }
}

/* Review pages layout */
.review-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.review-article {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius-lg);
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--lx-shadow);
}

.review-header {
  border-bottom: 2px solid var(--color-soft-green);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.review-header h1 {
  color: var(--color-deep-teal);
}

.review-location {
  font-size: 1.2rem;
  color: var(--color-gold-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--color-muted-text);
  font-style: italic;
}

.review-header img {
  border-radius: var(--lx-radius);
  max-height: 500px;
  object-fit: cover;
  margin-top: 16px;
}

.review-section {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.review-section:last-child {
  border-bottom: none;
}

.review-section h2 {
  color: var(--color-deep-teal);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pros-cons h3 {
  font-size: 1.2rem;
  color: var(--color-deep-teal);
  margin-bottom: 8px;
}

.pros-cons ul {
  padding-left: 18px;
}

.pros-cons li {
  margin-bottom: 6px;
}

.pros-cons div:first-child {
  background-color: var(--color-soft-green);
  padding: 16px;
  border-radius: var(--lx-radius);
}

.pros-cons div:last-child {
  background-color: #fff5f0;
  padding: 16px;
  border-radius: var(--lx-radius);
}

.note-draft {
  background-color: #f0f0f0;
  border-left: 4px solid var(--color-gold-accent);
  padding: 12px 16px;
  font-size: 0.95rem;
  margin-top: 16px;
  border-radius: 0 8px 8px 0;
}

.source-line {
  font-size: 0.85rem;
  color: var(--color-muted-text);
  font-style: italic;
  margin-top: 16px;
}

/* About page */
.about-main,
.methodology-main,
.policy-main,
.rg-main,
.contact-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

.about-hero,
.methodology-hero,
.policy-hero,
.rg-hero,
.contact-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.about-hero h1,
.methodology-hero h1,
.policy-hero h1,
.rg-hero h1,
.contact-hero h1 {
  color: var(--color-deep-teal);
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: center;
}

.about-story img {
  border-radius: var(--lx-radius-lg);
  box-shadow: var(--lx-shadow);
}

.about-team {
  margin-bottom: 48px;
}

.about-team h2 {
  text-align: center;
  color: var(--color-deep-teal);
  margin-bottom: 24px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.team-card {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--lx-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lx-shadow-hover);
}

.team-card img {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto 12px;
}

.team-card h3 {
  color: var(--color-deep-teal);
  margin-bottom: 4px;
}

.team-card p {
  color: var(--color-muted-text);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.about-process h2 {
  color: var(--color-deep-teal);
  text-align: center;
  margin-bottom: 24px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.process-steps article {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  padding: 24px;
  box-shadow: var(--lx-shadow);
}

.about-values {
  background-color: var(--color-soft-green);
  border-radius: var(--lx-radius-lg);
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.about-values h2 {
  color: var(--color-deep-teal);
  margin-bottom: 12px;
}

.about-values ul {
  padding-left: 20px;
}

.about-values li {
  margin-bottom: 8px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.contact-info-block {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  padding: 24px;
  box-shadow: var(--lx-shadow);
}

.contact-info-block h2 {
  color: var(--color-deep-teal);
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  font-size: 1rem;
  color: var(--color-gold-accent);
  margin-bottom: 4px;
}

.contact-form-block {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  padding: 24px;
  box-shadow: var(--lx-shadow);
}

.contact-form-block h2 {
  color: var(--color-deep-teal);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: var(--color-cream-bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-deep-teal);
  border-color: transparent;
}

.lx-submit-btn {
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
  border: none;
  width: 100%;
  margin-top: 8px;
}

.map-section {
  margin-bottom: 32px;
}

.map-section h2 {
  color: var(--color-deep-teal);
  text-align: center;
  margin-bottom: 16px;
}

.map-placeholder {
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  box-shadow: var(--lx-shadow);
}

.map-placeholder img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Methodology and policy */
.methodology-section,
.policy-section,
.rg-section {
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--lx-shadow);
}

.methodology-section h2,
.policy-section h2,
.rg-section h2 {
  color: var(--color-deep-teal);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.methodology-section ul,
.policy-section ul,
.rg-section ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.methodology-section li,
.policy-section li,
.rg-section li {
  margin-bottom: 8px;
}

/* 404 error page */
.error-main {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.error-content h1 {
  font-size: 4rem;
  color: var(--color-deep-teal);
  margin-bottom: 16px;
}

.error-content p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.error-content .btn {
  margin: 8px;
}

/* Neon button effect */
.btn-neon {
  background-color: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
  box-shadow: 0 0 10px #00ffff, 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  transition: box-shadow 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
}

.btn-neon:hover {
  background-color: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 20px #00ffff, 0 0 40px rgba(0, 255, 255, 0.6), inset 0 0 15px rgba(0, 255, 255, 0.4);
  transform: scale(1.03);
}

/* Filter empty message */
.property-filter-message {
  text-align: center;
  padding: 24px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-muted-text);
}

/* Toast after form submission */
.form-toast-lx {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-deep-teal);
  color: var(--color-pure-white);
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.form-toast-lx.show-toast {
  opacity: 1;
}

/* Picture-first block with neon button (added after hero) */
.preview-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  background-color: var(--color-pure-white);
  border-radius: var(--lx-radius-lg);
  overflow: hidden;
  box-shadow: var(--lx-shadow-hover);
  max-width: var(--max-width);
  margin: 48px auto;
  padding: 0;
}

.preview-card .preview-media {
  flex: 1.2;
  min-height: 320px;
  background: url('../images/intro-card.jpg') center/cover no-repeat;
}

.preview-card .preview-body {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff, #f4f7f5);
}

.preview-card h2 {
  color: var(--color-deep-teal);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.preview-card p {
  color: var(--color-muted-text);
  margin-bottom: 24px;
}

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

  .preview-card .preview-media {
    min-height: 260px;
  }

  .preview-card .preview-body {
    padding: 24px;
  }
}