/* ============================================
   amMEER — Apartamenty w Gdańsku
   Motyw: morski / nadmorski
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Kolory morskie */
  --deep-sea:    #0b2545;
  --ocean:       #13497b;
  --wave:        #1a6fb5;
  --sky:         #4da8da;
  --light-sky:   #a7d8f0;
  --foam:        #dceefb;
  --sand:        #f5efe6;
  --warm-sand:   #e8dcc8;
  --shell:       #d4c4a8;
  --white:       #ffffff;
  --off-white:   #fafbfc;
  --dark:        #1a1a2e;
  --text:        #2c3e50;
  --text-light:  #5a6c7d;
  --accent:      #c9953c;
  --accent-light:#e6c77b;

  /* Typografia */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1200px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul, ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--wave);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--deep-sea);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-subtitle.centered {
  margin: 0 auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  text-transform: uppercase;
}

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

.btn-primary:hover {
  background: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 111, 181, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--deep-sea);
  border-color: var(--white);
}

.btn-dark {
  background: var(--deep-sea);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 37, 69, 0.35);
}

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

.btn-accent:hover {
  background: var(--accent-light);
  color: var(--deep-sea);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(11, 37, 69, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600 !important;
}

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

.nav-cta:hover {
  background: var(--accent-light) !important;
  color: var(--deep-sea) !important;
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switcher a {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--white);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    rgba(11, 37, 69, 0.85) 0%,
    rgba(19, 73, 123, 0.65) 50%,
    rgba(26, 111, 181, 0.4) 100%
  );
}

.hero-content {
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--light-sky);
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 37, 69, 0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-features .container {
  display: flex;
  justify-content: space-around;
  padding: 28px 24px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-feature-text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.hero-feature-text strong {
  display: block;
  font-size: 0.95rem;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  padding: var(--section-pad) 0;
  background: var(--sand);
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.8;
  margin-top: 16px;
}

.section-dark {
  background: var(--deep-sea);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- About / Intro ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(11, 37, 69, 0.15);
}

.intro-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--light-sky);
  border-radius: 20px;
  z-index: -1;
}

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

.intro-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--warm-sand);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--wave);
  line-height: 1;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Apartments ---------- */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.apartment-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.08);
  transition: all 0.4s var(--ease);
}

.apartment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(11, 37, 69, 0.15);
}

.apartment-card-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.apartment-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.apartment-card:hover .apartment-card-image img {
  transform: scale(1.05);
}

.apartment-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.apartment-card-body {
  padding: 28px;
}

.apartment-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 12px;
}

.apartment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.apartment-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.apartment-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--wave);
}

.apartment-card-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.apartment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--foam);
}

.apartment-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--deep-sea);
  font-weight: 600;
}

.apartment-price small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
}

.apartment-card-link {
  color: var(--wave);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
}

.apartment-card-link:hover {
  gap: 12px;
  color: var(--ocean);
}

/* ---------- Amenities ---------- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.amenity-item {
  text-align: center;
  padding: 36px 20px;
  background: var(--white);
  border-radius: 16px;
  transition: all 0.3s var(--ease);
}

.amenity-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.1);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--foam);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--wave);
}

.amenity-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--deep-sea);
  margin-bottom: 6px;
}

.amenity-desc {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 37, 69, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.lightbox-close:hover {
  background: var(--white);
  color: var(--dark);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.lightbox-nav:hover {
  background: var(--white);
  color: var(--dark);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ---------- Location / Map ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(11, 37, 69, 0.12);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-info {
  padding-top: 20px;
}

.location-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.location-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--wave);
}

.location-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--deep-sea);
  margin-bottom: 4px;
}

.location-text p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.distances-list {
  margin-top: 40px;
}

.distances-list h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--deep-sea);
  margin-bottom: 20px;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--foam);
}

.distance-item:last-child {
  border-bottom: none;
}

.distance-name {
  font-size: 0.92rem;
  color: var(--text);
}

.distance-value {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--wave);
  white-space: nowrap;
}

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.review-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
  transition: all 0.3s var(--ease);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 37, 69, 0.12);
}

.review-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.9rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--wave);
  font-size: 0.85rem;
}

.review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-sea);
}

.review-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

.review-quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--foam);
  line-height: 1;
}

/* ---------- Booking / Reservation ---------- */
.booking-section {
  background: linear-gradient(135deg, var(--deep-sea), var(--ocean));
  padding: var(--section-pad) 0;
}

.booking-wrapper {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.booking-header {
  text-align: center;
  padding: 48px 32px 24px;
}

.booking-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--deep-sea);
  margin-bottom: 8px;
}

.booking-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.booking-iframe-container {
  padding: 0 32px 32px;
  min-height: 600px;
}

.booking-iframe-container iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 12px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--foam);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease);
  background: var(--off-white);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(11, 37, 69, 0.06);
  transition: all 0.3s var(--ease);
}

.contact-info-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(11, 37, 69, 0.1);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--wave);
}

.contact-info-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--deep-sea);
  margin-bottom: 2px;
}

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

.contact-info-text a {
  color: var(--wave);
  font-weight: 500;
}

.contact-info-text a:hover {
  color: var(--ocean);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 0;
  transition: all 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s var(--ease);
}

.footer-socials a:hover {
  background: var(--wave);
  border-color: var(--wave);
  color: var(--white);
}

/* ---------- Page Header (for subpages) ---------- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--deep-sea), var(--ocean));
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(77, 168, 218, 0.08);
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 149, 60, 0.06);
}

.page-header .section-label {
  color: var(--accent);
}

.page-header .section-title {
  color: var(--white);
}

.page-header .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wave);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 99;
  box-shadow: 0 4px 15px rgba(26, 111, 181, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--ocean);
  transform: translateY(-4px);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Apartment Detail Page ---------- */
.apartment-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.apartment-gallery-main {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 12px 40px rgba(11, 37, 69, 0.15);
}

.apartment-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apartment-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.apartment-gallery-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s var(--ease);
}

.apartment-gallery-thumbs img:hover,
.apartment-gallery-thumbs img.active {
  opacity: 1;
}

.apartment-info-section {
  padding-top: 10px;
}

.apartment-info-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--deep-sea);
  margin-bottom: 16px;
}

.apartment-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 20px;
  line-height: 1.2;
}

.apartment-specs {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: rgba(26, 111, 181, 0.06);
  border-radius: 12px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--deep-sea);
}

.spec-item svg {
  color: var(--wave);
  flex-shrink: 0;
}

.apartment-description {
  margin-bottom: 24px;
  line-height: 1.8;
  color: var(--text);
  font-size: 0.95rem;
}

.apartment-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.apartment-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.apartment-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--wave);
  flex-shrink: 0;
}

.bed-configuration {
  margin-bottom: 32px;
  padding: 20px 24px;
  background: rgba(201, 149, 60, 0.08);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
}

.bed-configuration h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-sea);
  margin-bottom: 10px;
}

.bed-configuration ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bed-configuration li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}

.bed-configuration li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.bed-configuration li:last-child {
  margin-bottom: 0;
}

.apartment-info-section > .btn {
  margin-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 80px;
  }

  .intro-grid,
  .location-grid,
  .contact-grid,
  .apartment-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--deep-sea);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero {
    min-height: auto;
    flex-direction: column;
  }

  .hero-content {
    padding: 100px 0 40px;
  }

  .hero-features {
    position: relative;
  }

  .hero-features .container {
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
  }

  .hero-feature {
    gap: 10px;
  }

  .hero-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
  }

  .hero-feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .hero-feature-text {
    font-size: 0.8rem;
  }

  .hero-feature-text strong {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
  }

  .intro-image::after {
    display: none;
  }

  .intro-stats {
    gap: 24px;
  }

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

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

  .gallery-item.tall {
    grid-row: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .apartment-features-list {
    grid-template-columns: 1fr;
  }

  .apartment-specs {
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .apartment-card-image {
    height: 220px;
  }

  .contact-form {
    padding: 24px;
  }
}
