/* ===================================================== */
/* LOVE ANTIBES — MASTER STYLE SHEET                     */
/* Luxury • Boxed Sections • Blue Header/Footer Restored */
/* ===================================================== */

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

body {
  font-family: "Georgia", serif;
  background: #f9f8f6;
  color: #1b1b1b;
  line-height: 1.6;
  padding-top: 85px;
}

h1, h2 {
  font-weight: 500;
  letter-spacing: 0.5px;
}

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

/* ===================================================== */
/* NAVIGATION (BLUE BAR + STICKY)                        */
/* ===================================================== */

nav {
  background: #0d3b57;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.nav-inner {
  width: 90%;
  max-width: 1150px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-main {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 3px;
  color: white;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #d8b35c;
  margin-top: 4px;
  padding-left: 12px;
}

/* Menu Links */
.menu a {
  margin-left: 28px;
  font-size: 15px;
  color: white;
  transition: 0.25s ease;
}

.menu a:hover {
  color: #d8b35c;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 230px;
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 14px 18px;
  font-size: 14px;
  color: #1f3a52;
}

.dropdown-content a:hover {
  background: #f5f1e6;
  color: #d8b35c;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  margin: 5px 0;
}

/* ===================================================== */
/* HERO SECTION + LUXURY TEXT STANDOUT                   */
/* ===================================================== */

.hero {
  height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Softer Riviera Overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.10)
  );
  z-index: 1;
}

/* Hero text above overlay */
.hero-text {
  position: absolute;
  z-index: 2;
  color: white;
  max-width: 520px;
  text-align: center;
}

.hero-text h1 {
  font-size: 62px;
  margin-bottom: 18px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.85);
  white-space: nowrap;
}

.hero-text p {
  font-size: 20px;
  font-style: italic;
  margin-bottom: 35px;
  text-shadow: 0 8px 22px rgba(0,0,0,0.80);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.hero-bottom-right {
  bottom: 70px;
  right: 140px;
}

/* Outline Button (older) */
.button.outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.button.outline:hover {
  background: white;
  color: #0d3b57;
}

/* ===================================================== */
/* SECTION BOXES                                         */
/* ===================================================== */

section {
  max-width: 1050px;
  margin: 85px auto;
  padding: 65px 55px;
  background: rgba(255,255,255,0.88);
  border-radius: 22px;
  border-top: 4px solid #d8b35c;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.center {
  text-align: center;
}

.reveal-line {
  font-size: 32px;
  margin-bottom: 25px;
  color: #1f3a52;
}

/* ===================================================== */
/* PROPERTY GALLERY — 2x2 SQUARE GRID                    */
/* ===================================================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  aspect-ratio: 1 / 1; /* MAKES PERFECT SQUARE */
  transition: 0.35s ease;
}

/* Put the link ABOVE the overlay */
.photo-card a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover lift */
.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.22);
}

/* Caption overlay */
.photo-card p {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: white;
  font-size: 16px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.75);
  z-index: 3;
  pointer-events: none; /* ✅ caption never blocks click */
}

/* Dark overlay */
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
  pointer-events: none; /* ✅ overlay never blocks click */
}

/* ===================================================== */
/* FEATURED PROPERTY FIX (IMAGE VISIBLE + LARGE)         */
/* ===================================================== */

.featured-property {
  display: flex;
  gap: 45px;
  align-items: center;
  margin-top: 55px;
}

.featured-image {
  flex: 1;
  min-width: 320px;
}

.featured-image img {
  width: 100%;
  max-width: 520px;
  height: 360px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.featured-text {
  flex: 1;
}

/* ===================================================== */
/* LIFESTYLE IMAGE — LUXURY SIZE                         */
/* ===================================================== */

.lifestyle-image img {
  width: 100%;
  max-width: 520px;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  transition: 0.35s ease;
}

.lifestyle-image img:hover {
  transform: scale(1.02);
}

/* ===================================================== */
/* TAGLINE TEXT                                          */
/* ===================================================== */

.tagline {
  font-size: 20px;
  font-style: italic;
  color: #4a5a63;
  margin-top: 18px;
  margin-bottom: 35px;
  line-height: 1.7;
}

.fade-tagline {
  animation: fadeTag 1.6s ease;
}

@keyframes fadeTag {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alternate Lifestyle Background */
.alt-lifestyle {
  background: rgba(245,241,230,0.75);
}

/* Gold Divider Accent */
.lux-divider {
  width: 85px;
  height: 3px;
  margin: 0 auto 35px auto;
  background: linear-gradient(to right, #d8b35c, #f5e6b0, #d8b35c);
  border-radius: 5px;
}

/* Larger Antibes Lifestyle Photo */
.featured-large img {
  max-width: 560px;
  height: 390px;
}

/* ===================================================== */
/* EXPERIENCE STRIP — PHOTO TILES                        */
/* ===================================================== */

.intro-clean {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 20px 0 !important;
  margin: 50px auto 0 auto !important;
  max-width: 1100px;
}

.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 20px;
}

.experience-photo {
  height: 230px;
  border-radius: 22px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  transition: 0.35s ease;
}

.experience-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
}

.experience-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 25px;
  color: white;
}

.experience-overlay h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-shadow: 0 6px 20px rgba(0,0,0,0.75);
}

.experience-overlay p {
  font-size: 15px;
  opacity: 0.95;
  text-shadow: 0 5px 18px rgba(0,0,0,0.65);
}

.experience-photo:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
}

/* ===================================================== */
/* BOTTOM BANNER — MATCH HERO STYLE                      */
/* ===================================================== */

.bottom-banner {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bottom-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.10)
  );
  z-index: 1;
}

.bottom-banner-overlay {
  position: absolute;
  bottom: 55px;
  right: 120px;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 520px;
}

.bottom-banner-overlay h2 {
  font-size: 44px;
  margin-bottom: 12px;
  text-shadow: 0 8px 22px rgba(0,0,0,0.85);
}

.bottom-banner-overlay p {
  font-size: 18px;
  font-style: italic;
  text-shadow: 0 6px 18px rgba(0,0,0,0.75);
}

/* ===================================================== */
/* FOOTER                                                */
/* ===================================================== */

.site-footer {
  background: #0d3b57;
  color: white;
  text-align: center;
  padding: 65px 20px;
}

/* ===================================================== */
/* BUTTONS — ORIGINAL LOVE ANTIBES STYLE (ALL PAGES)     */
/* ===================================================== */

.button {
  display: inline-block;
  background: #0d3b57;
  color: white;
  padding: 14px 34px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}

.button:hover {
  background: #08283d;
  transform: translateY(-2px);
}

.button.outline {
  background: #0d3b57;
  border: none;
  color: white;
}

.button.outline:hover {
  background: #08283d;
  color: white;
}

/* Secondary hero button */
.button-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.button-secondary:hover {
  background: white;
  color: #0d3b57;
}

/* ===================================================== */
/* FOOTER — SPACED + CLICKABLE LUXURY STYLE              */
/* ===================================================== */

.footer-inner {
  max-width: 1100px;
  margin: auto;
}

.footer-title {
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 25px;
  color: white;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  color: #d8b35c;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-note {
  font-size: 12px;
  opacity: 0.75;
  line-height: 1.6;
}

/* ===================================================== */
/* PROPERTY HERO TITLE FIX (MATCH HOMEPAGE STYLE)        */
/* ===================================================== */

.hero.property-hero .hero-text h1 {
  white-space: normal;
  line-height: 1.15;
  max-width: 520px;
  letter-spacing: 0.2px;
}

/* ===================================================== */
/* EXCITING PROPERTY HIGHLIGHTS                          */
/* ===================================================== */

.property-highlights.exciting {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.property-highlights.exciting .highlight {
  padding: 28px 18px;
  border-radius: 22px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.95),
    rgba(245,241,230,0.65)
  );
  border: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  box-shadow: 0 16px 35px rgba(0,0,0,0.07);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.property-highlights.exciting .highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #d8b35c, #f5e6b0, #d8b35c);
  opacity: 0.85;
}

.property-highlights.exciting .highlight:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px rgba(0,0,0,0.15);
}

.property-highlights.exciting .icon {
  font-size: 30px;
  margin-bottom: 14px;
}

.property-highlights.exciting .label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6a7a85;
  margin-bottom: 6px;
}

.property-highlights.exciting .value {
  font-size: 18px;
  color: #1f3a52;
  font-weight: 500;
}

/* ===================================================== */
/* MOBILE RESPONSIVE                                     */
/* ===================================================== */

@media (max-width: 768px) {

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Mobile menu behavior */
  .menu {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: #0d3b57;
    padding: 18px 0;
    text-align: center;
  }

  .menu a {
    display: block;
    margin: 14px 0;
  }

  .menu.show {
    display: block;
  }

  /* Dropdown inside mobile menu */
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    min-width: auto;
  }

  .dropdown-content a {
    color: white;
    padding: 10px 0;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  /* Layout stacks */
  .featured-property {
    flex-direction: column;
    text-align: center;
  }

  .featured-image img {
    max-width: 100%;
    height: 280px;
  }

  /* ✅ KEEP 2 COLUMNS FOR THE GALLERY ON TABLET */
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-strip {
    grid-template-columns: 1fr;
  }

  .experience-photo {
    height: 250px;
  }

  /* Hero positioning on mobile */
  .hero-text {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 92%;
  }

  .hero-bottom-right {
    bottom: 40px;
    right: auto;
  }

  .hero-text h1 {
    font-size: 44px;
    white-space: normal;
  }

  .hero-text p {
    font-size: 18px;
  }

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

/* ✅ ONLY SWITCH TO 1 COLUMN ON SMALL PHONES */
@media (max-width: 520px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Hidden lightbox links should not affect layout */
.lightbox-hidden {
  display: none;
}
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Living Room | Villa Antibes Ramparts</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="style.css">

  <!-- GLightbox (CSS) -->
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css">
</head>

<body>

<nav>
  <div class="nav-inner">

    <a href="index.html" class="logo-link">
      <div class="logo">
        <span class="logo-main">LOVE ANTIBES</span>
        <span class="logo-sub">SEASIDE RETREATS</span>
      </div>
    </a>

    <div class="hamburger" onclick="toggleMenu()">
      <span></span><span></span><span></span>
    </div>

    <div class="menu" id="mobileMenu">
      <a href="index.html">Home</a>

      <div class="dropdown">
        <a href="properties.html" class="dropbtn">Properties ▾</a>
        <div class="dropdown-content">
          <a href="property-1.html">Villa Antibes Ramparts</a>
          <a href="property-2.html">Apartment Vieil Antibes</a>
          <a href="property-3.html">Villa Vue Mer</a>
          <a href="property-4.html">Villa Joyeux</a>
        </div>
      </div>

      <a href="antibes.html">Antibes</a>
      <a href="contact.html">Contact</a>
    </div>

  </div>
</nav>

<section>
  <h2 class="center reveal-line">Living Room</h2>
  <p class="center tagline fade-tagline">
    Bright Riviera interiors designed for relaxed coastal living.
  </p>

  <!-- Top navigation buttons -->
  <div class="center" style="margin: 30px 0 45px;">
    <a class="button button-secondary" href="p1-kitchen.html">← Previous</a>
    <a class="button" href="property-1.html" style="margin: 0 10px;">Back to Villa</a>
    <a class="button button-secondary" href="p1-bedroom.html">Next →</a>
  </div>

  <div class="photo-grid">
    <div class="photo-card">
      <a class="glightbox" href="images/p1-living.jpg" data-gallery="p1-living" data-title="Living Room">
        <img src="images/p1-living.jpg" alt="Living room photo 1">
        <p><strong>Living Room View 1</strong></p>
      </a>
    </div>

    <div class="photo-card">
      <a class="glightbox" href="images/p1-living2.jpg" data-gallery="p1-living" data-title="Living Room">
        <img src="images/p1-living2.jpg" alt="Living room photo 2">
        <p><strong>Living Room View 2</strong></p>
      </a>
    </div>

    <div class="photo-card">
      <a class="glightbox" href="images/p1-living3.jpg" data-gallery="p1-living" data-title="Living Room">
        <img src="images/p1-living3.jpg" alt="Living room photo 3">
        <p><strong>Living Room View 3</strong></p>
      </a>
    </div>
  </div>

  <!-- Bottom navigation buttons -->
  <d

.lightbox-hidden { display: none; }

/* ===================================================== */
/* SCROLL REVEAL ANIMATION                               */
/* ===================================================== */
.reveal-init {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

/* Respect reduced motion settings */
@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================================== */
/* GUEST COMMENTS SLIDER                                 */
/* ===================================================== */
.reviews-wrap {
  position: relative;
  margin-top: 35px;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3); /* 3 cards visible, 2 gaps of 18px */
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 6px 14px;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  height: 8px;
}
.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(13,59,87,0.25);
  border-radius: 99px;
}

.review-card {
  scroll-snap-align: start;
  border-radius: 22px;
  padding: 22px 20px;
  background: rgba(245,241,230,0.70);
  border: 1px solid rgba(216,179,92,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: #1f3a52;
}

.review-meta {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.6px;
  color: #6a7a85;
}

/* Arrows (desktop) */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  color: #0d3b57;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  z-index: 5;
}

.reviews-arrow.left { left: -10px; }
.reviews-arrow.right { right: -10px; }

.reviews-arrow:hover {
  transform: translateY(-50%) scale(1.03);
}

/* Tablet: 2 cards visible */
@media (max-width: 900px) {
  .reviews-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

/* Mobile: 1 card visible + hide arrows (swipe) */
@media (max-width: 620px) {
  .reviews-track {
    grid-auto-columns: 88%;
  }
  .reviews-arrow {
    display: none;
  }
}



