/* ===== Miramar — Kavala ===== */
:root {
  --blue-deep: #0d3d6b;
  --blue-mid: #1a6bb5;
  --blue-light: #4da3e0;
  --blue-pale: #e8f4fc;
  --blue-whisper: #f5fafd;
  --white: #ffffff;
  --sand: #f8f6f2;
  --gold: #c9a227;
  --text: #2c3e50;
  --text-muted: #5a7184;
  --shadow: 0 4px 24px rgba(13, 61, 107, 0.08);
  --shadow-lg: 0 12px 48px rgba(13, 61, 107, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --header-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-deep); }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 107, 181, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  height: var(--header-h);
}

.header-inner .main-nav { margin-left: auto; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-link img { height: 64px; width: auto; max-height: calc(var(--header-h) - 12px); }

.logo-link:hover { opacity: 0.85; }

.lang-select {
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--blue-pale);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--white);
  cursor: pointer;
}

.lang-select:focus {
  outline: none;
  border-color: var(--blue-mid);
}

.main-nav { display: flex; align-items: center; gap: 2rem; }

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-mid);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.main-nav a.active { color: var(--blue-mid); }

.nav-cta {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--blue-deep) !important;
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-deep);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 61, 107, 0.55) 0%,
    rgba(26, 107, 181, 0.35) 50%,
    rgba(77, 163, 224, 0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 4rem 0;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--blue-deep);
}

.btn-primary:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-blue {
  background: var(--blue-mid);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Property stats ===== */
.property-stats { padding: 2rem 0; }

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 80px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--blue-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Sections ===== */
section { padding: 5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

.bg-pale { background: var(--blue-whisper); }
.bg-blue-pale { background: var(--blue-pale); }

/* ===== Features grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 107, 181, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 380px; }
.gallery-item:nth-child(2) { grid-column: span 5; min-height: 185px; }
.gallery-item:nth-child(3) { grid-column: span 5; min-height: 185px; }
.gallery-item:nth-child(4) { grid-column: span 4; min-height: 220px; }
.gallery-item:nth-child(5) { grid-column: span 4; min-height: 220px; }
.gallery-item:nth-child(6) { grid-column: span 4; min-height: 220px; }

/* ===== Two column layout ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.split-content h2 { margin-bottom: 1.25rem; }

.split-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  list-style: none;
}

.amenities-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.amenities-list li::before {
  content: '✓';
  color: var(--blue-mid);
  font-weight: 700;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  margin-top: var(--header-h);
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, var(--blue-pale) 0%, var(--white) 60%);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ===== Kavala attractions ===== */
.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.attraction-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 107, 181, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

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

.attraction-card-body { padding: 1.75rem; }

.attraction-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.attraction-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.attraction-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  background: var(--blue-pale);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

/* ===== Pricing ===== */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--blue-mid);
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background: var(--blue-mid);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1;
}

.pricing-amount span {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
}

.pricing-period {
  color: var(--text-muted);
  margin: 0.5rem 0 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--blue-pale);
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: '●';
  color: var(--blue-light);
  font-size: 0.6rem;
}

.pricing-note {
  background: var(--blue-whisper);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item div h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 0.25rem;
}

.contact-item div p,
.contact-item div a {
  font-size: 1.05rem;
  color: var(--text);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 107, 181, 0.06);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--blue-pale);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--blue-whisper);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.25rem;
}

.form-feedback:empty { display: none; }

.form-feedback.success { color: #1a7f4b; }

.form-feedback.error { color: #c0392b; }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  margin: 2rem 0;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.88;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand img { height: 48px; margin-bottom: 1rem; opacity: 0.95; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .gallery-item:nth-child(n) {
    grid-column: span 12 !important;
    min-height: 240px !important;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .lang-select {
    margin-left: 0;
    margin-right: 0.5rem;
    order: 1;
  }

  .logo-link { order: 0; }
  .menu-toggle { order: 2; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition), opacity var(--transition);
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .amenities-list { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
}
