
/*Universal styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  
}

h1, h2, h3, p, a {
    font-family: 'Inter', 'Helvetica', Arial, sans-serif;
    letter-spacing: -0.01em; /* Makes modern fonts look professional */
}

/* 2. Give the Search Bar container some space from the top */
.search-container {
    margin-top: 50px; /* Push it down so it doesn't hit the nav */
    position: relative;
    z-index: 100; /* Lower layer than the Navbar */
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

/*navigation bar*/
.navbar {
  display: fixed;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(0, 0, 0, 0.95);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #222;
}

.header {
  color: gold;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: 0.3s;
}

.nav-links a:hover {
  color: gold;
}


/* This triggers for screens smaller than 768px (Tablets and Phones) */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Stacks Logo above the Links */
        padding: 15px;
    }

    .nav-links {
        display: flex;
        flex-direction: column; /* Stacks Home, About, etc. vertically */
        align-items: center;
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }

    .nav-links li {
        margin: 10px 0; /* Adds space between the stacked links */
    }

    .logo {
        margin-bottom: 10px;
        font-size: 1.5rem; /* Makes logo a bit bigger/easier to tap */
    }
}
/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 4px;
}

.hero-btn {
  padding: 15px 40px;
  border: 2px solid white;
  background: transparent;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.4s;
}

.hero-btn:hover {
  background: white;
  color: black;
  transform: scale(1.05);

}

.logo {
  color: gold;
}

.glass-search {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

.gold-search-btn {
    background: gold;
    color: #111;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: 0.3s;
}

.luxe-search-pill {
    background: rgba(17, 17, 17, 0.7); /* Our Dark Grey */
    backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Gold Border */
    border-radius: 100px;
    padding: 10px 15px 10px 35px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
}

.luxe-single-bar {
    display: flex;
    align-items: center;
    background: rgba(17, 17, 17, 0.6); /* Transparent Charcoal */
    backdrop-filter: blur(25px);
    padding: 10px 10px 10px 25px;
    border-radius: 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.4s ease;
}

/* The Glow Effect on Focus */
.luxe-single-bar:focus-within {
    border-color: gold;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), 0 15px 50px rgba(0,0,0,0.6);
}

.bar-icon {
    color: gold;
    margin-right: 15px;
    font-size: 1.1rem;
}

#unified-search {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 1rem;
    outline: none;
    font-family: 'Segoe UI', sans-serif;
}

#unified-search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #111;
  color: white;
  width: 90%;
  max-width: 500px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
}

.close-btn {
  float: right;
  font-size: 25px;
  cursor: pointer;
  color: gold;
}

.modal-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  background: gold;
  color: black;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

.luxe-go-btn {
    background: gold;
    color: #111;
    padding: 12px 35px;
    border-radius: 40px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    z-index: 999;
}

.luxe-go-btn:hover {
    background: #fff; /* Shifts to white for a "high-contrast" luxury feel */
    transform: scale(1.05);
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.luxe-view-map {
    background: transparent;
    border: 1px solid gold;
    color: gold;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.luxe-view-map:hover {
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.luxe-grid {
    display: grid;
    /* This makes 1 column on phones, 2 on tablets, 3 on desktops */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 25px;
}

/*About.html  Section*/
.about {
  padding: 120px 5%;
  background: #0d0d0d;
}
.aboutp {
  color: gold;
}


.team {
  font-size: 2.5rem;
  color: gold;
  text-align: center;
  margin-bottom: 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-text {
  border-left: 1px solid rgba(212, 175, 55, 0.3); /* Thin gold vertical line */
  padding-left: 40px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 40px;
  color: #fff;
}

.about-text p {
  margin-bottom: 25px;
  color: #ccc;
  font-size: 1.1rem;
}

.btn {
  padding: 15px 40px;
  border: 2px solid white;
  background: transparent;
  color: white;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.4s;

}

.btn:hover {
  background: gold;
  color: black;
  transform: scale(1.05);
}

.about-image img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(30%);
}
.about-modern {
  background-color: #050505;
  padding: 120px 8%;
  overflow: hidden; /* Keeps the overlap from causing horizontal scroll */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  margin: 0 auto;
}

/* 1. TEXT COLUMN (Left) */
.about-text-content {
  flex: 1;
  background: #111; /* Slightly lighter than the background to create a "card" */
  padding: 60px;
  z-index: 2; /* Ensures text stays on top */
  margin-right: -100px; /* THE OVERLAP: Pulls the image under the text */
  box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
  border-bottom: 2px solid gold; /* Subtle gold base line */
}

.gold-label {
  color: gold;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.7rem;
  display: block;
  margin-bottom: 15px;
}

.modern-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: white;
  margin-bottom: 30px;
  line-height: 1.1;
}

.highlight-para {
  font-size: 1.2rem;
  color: #fff;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.description-box p:not(.highlight-para) {
  color: #888;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* 2. image column (Right) */
.about-image-wrapper {
  flex: 1.2; /* Image takes slightly more space */
  position: relative;
  z-index: 1;
}

.main-team-img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
  filter: grayscale(20%); /* High-end photography tone */
}

/* The Gold Decorative Frame */
.gold-accent-frame {
  position: absolute;
  top: 40px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: -1; /* Behind the image */
}

/* 3. BUTTON STYLING */
.luxe-button {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  border: 1px solid white;
  color: gold;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: 0.4s ease;
}

.luxe-button:hover {
  background: transparent;
  color: white;
}

/* responsivity Stack them on mobile */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
  }
  
  .about-text-content {
    margin-right: 0;
    margin-bottom: -50px; /* Overlaps vertically on mobile */
    width: 90%;
    padding: 40px 30px;
  }

  .about-image-wrapper {
    width: 100%;
  }

  .main-team-img {
    height: 400px;
  }
}

/*Property Gallery*/
.gallery {
  padding: 100px 5%;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  color: gold;
  letter-spacing: 5px;
  font-size: 0.9rem;
}

.gallery-header h1 {
  font-size: 2.5rem;
  margin-top: 10px;
}

.grid {
  display: grid;
  /* This creates the responsive columns automatically */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  transition: 0.4s;
  border: 1px solid #222;
}

.card:hover {
  transform: translateY(-10px);
  border-color: gold;
}

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

.card p {
  padding: 5px 20px;
}

.type {
  color: gold;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 15px;
}

.title {
  font-size: 1.2rem;
  font-weight: bold;
}

.price {
  color: #888;
  padding-bottom: 20px !important;
}

/*Footer Section */
.aside {
  background: linear-gradient(135deg, #111);
  margin: 60px 5%;
  padding: 80px 40px;
  border: 2px solid gold;
  border-radius: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aside-section {
  font-size: 2rem;
  max-width: 700px;
  margin-bottom: 20px;
}

.aside-text {
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 40px;
}

.aside-btn {
  padding: 15px 40px;
  border: 2px solid white;
  background: transparent;
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.4s;
  
}

.aside-btn:hover {
  background: gold;
  color: #000;
  transform: scale(1.05);
}

.social-proof-parallax {
  position: relative;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/background.jpeg'); /* Replace with a wide luxury house image */
  background-attachment: fixed; /* This is the "Altman" Parallax secret */
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 1;
}

.parallax-container {
  position: relative;
  z-index: 2;
  width: 90%;
  max-content: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive sizing */
  color: gold;
  margin-bottom: 5px;
  letter-spacing: -2px;
}

.stat-item p {
  font-family: 'Montserrat', sans-serif;
  color: white;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 3px;
  font-weight: 600;
  opacity: 0.9;
}

/* Glass Dividers */
.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 215, 0, 0.2);
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .social-proof-parallax {
    background-attachment: scroll; /* Fixed BG often glitches on mobile browsers */
    height: auto;
    padding: 80px 20px;
  }
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr; /* Stacks image and text */
    text-align: center;
  }
  
  .about-text {
    border-left: none; /* Remove line on mobile */
    border-top: 1px solid gold; /* Add line on top instead */
    padding-left: 0;
    padding-top: 40px;
  }

  .about::after {
    font-size: 40vw; /* Make watermark even bigger on mobile for texture */
  }
}

.neighborhoods {
  padding: 100px 5%;
  background: #000;
  text-align: center;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 50px;
}

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

.area-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: brightness(70%);
}

/* Hover Effect: Image Zooms slightly */
.area-card:hover img {
  transform: scale(1.1);
  filter: brightness(50%);
}

.area-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  text-align: left;
  z-index: 2;
}

.area-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: gold;
  margin-bottom: 10px;
}

.area-content p {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.area-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid gold;
  padding-bottom: 5px;
  transition: 0.3s;
}

.area-link:hover {
  color: gold;
}


#osm-map {
    height: 60vh; /* Essential: The map needs a height to show up */
    width: 100%;
    min-height: 300px;
    margin-top: 40px;
    border: 1px solid #333;
    background-color: white;
    margin: 20px 0;
    z-index: 1; /* Ensures it stays behind navigation menus but above the background */
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    display: block;

}
.listings-container {
    padding: 60px 10%;
    background: #111; /* Matches our charcoal theme */
    min-height: 400px;
}

.luxe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

/* The Listing Card */
.property-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px; /* Sharp edges feel more premium than round ones */
    overflow: hidden;
    transition: 0.5s ease;
}

.property-card:hover {
    border-color: #D4AF37;
    transform: translateY(-10px);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

section {
  width: 100%;
}


.location-showcase {
    background: #050505;
    padding: 100px 8%;
    text-align: center;
}

.custom-marker {
  background-color: gold;
  border: 2PX solid#fff;
  border-radius: 50%;
}
.map-header {
    text-align: center;
    padding-bottom: 20px;
}
.main-footer {
  background-color: #050505; /* Deepest black */
  color: #fff;
  padding: 80px 5% 20px 5%;
  border-top: 1px solid #1a1a1a;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

/* Column Styling */
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  color: gold;
  font-size: 1.2rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.footer-logo span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 8px;
  color: gold;
  margin-top: -5px;
}

.footer-about {
  font-size: 0.85rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 25px;
}

/* Links and Lists */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: gold;
  padding-left: 5px;
}

/* Newsletter Input */
.footer-form {
  display: flex;
  margin-top: 20px;
  border-bottom: 1px solid #333;
}

.footer-form input {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 0;
  width: 100%;
  font-size: 0.9rem;
}

.footer-form input:focus {
  outline: none;
}

.footer-form button {
  background: transparent;
  border: none;
  color: gold;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 1px;
}

/* Social Icons */
.footer-socials a {
  color: #fff;
  margin-right: 15px;
  font-size: 1.1rem;
  transition: 0.3s;
}

.footer-socials a:hover {
  color: gold;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 25px;
  text-align: center;
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
}
/*Mobile Responsiveness*/
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Hide links for mobile, add burger menu later */
  }
  .navbar {
    justify-content: center;
  }
  .about {
    padding: 60px 5%;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  #osm-map {
    height: 50vh;
    min-height: 250px;
  }
}

/* about.css*/

/* General Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: gold; /* Gold */
}

/* Hero Section */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1500');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Story Section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 80px 0;
    align-items: center;
}

.story-text h2 { color: gold; font-size: 2rem; }
.story-text p { line-height: 1.8; color: white; margin-bottom: 20px; }
.story-image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.story-image img {
    width: 100%;
    height: 500px; /* Set this to match the height of your text block */
    object-fit: cover; /* This is the magic line - it crops the image to fit */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.choice {
  color: #000;
}
/* Values Section */
.values-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-card:hover { transform: translateY(-10px); }
.value-card i { font-size: 3rem; color: gold; margin-bottom: 20px; }

/* Responsive */
@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; }
}

/* Stats Strip */
.stats-strip {
    background-color: #111;
    color: gold;
    padding: 60px 0;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.stat-item h2 { font-size: 2.5rem; margin-bottom: 5px; color: #fff; }

/* Mission & Vision Boxes */
.mission-vision { padding: 100px 0; background: #fff; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mv-box {
    padding: 40px;
    border-left: 5px solid gold;
    background: #fdfdfd;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.05);
}
.mv-box i { font-size: 2rem; color: gold; margin-bottom: 15px; }

/* Team Section */
.team-section { padding: 100px 0; background-color: #f4f4f4; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.team-card {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.member-img img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid gold;
}
.team-card h3 { margin-bottom: 5px; color: #111; }
.team-card span { color: gold; font-weight: bold; display: block; margin-bottom: 15px; }

/* Responsive tweaks */
@media (max-width: 768px) {
    .mv-grid { grid-template-columns: 1fr; }
}

/* services we offer*/

/* Services Section Layout */
.services-section {
    padding: 100px 0;
    background-color: #ffffff;
    background-image: url();
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header .subtitle {
    color: #D4AF37;
    font-weight: bold;
    letter-spacing: 2px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin: 10px 0;
    color: #111;
}

/* The Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* Individual Cards */
.service-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Hover Effect: Lift and Gold Border */
.service-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 2.5rem;
    color: gold;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Feature List inside cards */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: gold;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* Header Styling */
.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.gold-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid var(--gold);
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto;
}

/* Service Card Upgrades */
.service-card {
    position: relative;
    min-height: 480px;
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
    transition: 0.5s;
}

/* Floating Content Look */
.card-content {
    position: relative;
    z-index: 2;
    transform: translateY(40px); /* Hide the link initially */
    transition: 0.5s;
}

.service-number {
    position: absolute;
    top: -120px;
    right: 0;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); /* Very subtle number */
}



/* Individual Container */
.service-container {
    position: relative;
    height: 350px; /* Fixed height for all boxes */
    background-color: #000; /* Base color for the opacity effect */
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;  /* Vertically centers the text */
    justify-content: center; /* Horizontally centers the text */
    text-align: center;
    border: 1px solid #222;
}

/* Background Image with Opacity */
.service-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4; /* Lowered opacity as requested */
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

/* Text Content Container */
.service-content {
    position: relative;
    z-index: 2; /* Sits above the image */
    padding: 20px;
    width: 90%; /* Keeps text from hitting the edges */
}

.service-content h3 {
    font-family: 'Playfair Display', serif;
    color: #D4AF37; /* Gold accent for the title */
    font-size: 1.6rem;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.service-content p {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 250px; /* Prevents text from stretching too wide */
}

/* Hover Effect for Luxury feel */
.service-container:hover .service-bg-image {
    transform: scale(1.1);
    opacity: 0.6; /* Brightens slightly when hovered */
}

.service-container:hover {
    border-color: #D4AF37;
    cursor: pointer;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* For Tablets (iPad, etc.) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 3 */
        padding: 40px 5%;
    }
}

/* For Mobile Phones (iPhone, Android) */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column only - everything stacks */
        gap: 20px;
    }

    .service-container {
        height: 300px; /* Slightly shorter boxes for smaller screens */
    }

    .service-content h3 {
        font-size: 1.4rem; /* Smaller font so it doesn't wrap weirdly */
    }

    .service-content p {
        font-size: 0.85rem;
        max-width: 100%; /* Let text use the full width of the box */
    }
}

/* For Very Small Screens (Small Phones) */
@media (max-width: 480px) {
    .services-grid {
        padding: 20px 15px;
    }
    
    .service-container {
        height: 250px;
    }
}
/* 1. Force 3 columns per row */
.services-grid {
    display: grid;
    /* This forces 3 equal columns */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 2. Card Alignment */
.service-card {
    position: relative;
    background: #111; /* Darker background for more luxury feel */
    padding: 50px 30px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;    /* Horizontal centering */
    justify-content: center; /* Vertical centering */
    text-align: center;
    min-height: 450px;
    border: 1px solid #222;
}

/* 3. Background Image with "Not Clear" (Low) Opacity */
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* This makes the image very faint/unclear as requested */
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* 4. Text and Content Alignment */
.service-icon, .service-card h3, .service-card p, .service-list {
    position: relative;
    z-index: 2; /* Keeps text above the background */
    width: 100%; /* Ensures text takes full width for centering */
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
    font-size: 1.7rem;
    margin: 20px 0 10px 0; /* Space between icon and text */
}

.service-card p {
    font-family: 'Montserrat', sans-serif;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 5. Responsive: Drops to 1 column on mobile */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 per row on phones */
    }
}

/* --- Services Section Styling --- */
.services-section {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* --- The Individual Card (The Container) --- */
.service-card {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
    border-radius: 15px;
    overflow: hidden; /* Clips the background image to the corners */
    background-color: #000; /* Shows through the faded image */
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.4s ease;
}

/*The Faded Image Layer */
.service-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    /* REDUCE OPACITY HERE (0.1 is very dark, 0.9 is very bright) */
    opacity: 0.35; 
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* The Dark Bottom Gradient (Ensures text contrast)*/
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

/*Ensure text sits on the very top layer*/
.service-content {
    position: relative;
    z-index: 3;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card:hover::after {
    opacity: 0.5; /* Brightens slightly on hover for an interactive feel */
}

/* Applying the Images to the AFTER Layer*/
.service-sales::after { 
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=800&q=80'); 
}
.service-invest::after { 
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=800&q=80'); 
}
.service-manage::after { 
    background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=800&q=80'); 
}
.service-design::after { 
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?auto=format&fit=crop&w=800&q=80'); 
}
.service-shortstay::after { 
    background-image: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=800&q=80'); 
}
.service-arch::after { 
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=80'); 
}

/* Icon and List Styling */
.service-icon { font-size: 3rem; color: #D4AF37; margin-bottom: 20px; }
.service-card h3 { font-size: 1.6rem; margin-bottom: 15px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.service-list { list-style: none; padding: 0; }
.service-list li { display: flex; align-items: center; margin-bottom: 8px; color: #e0e0e0; font-size: 0.95rem; }
.service-list i { color: #D4AF37; margin-right: 10px; }



.sales-bg::before { background-image: url('images/sales-image.jpg'); }
.design-bg::before { background-image: url('images/design-image.jpg'); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.process-step {
    text-align: center;
    position: relative;
}
.step-num {
    font-size: 3rem;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.2); /* Faded Gold */
    margin-bottom: -20px;
}
.process-step h3 { color: #D4AF37; margin-bottom: 10px; }

details {
    background: #f9f9f9;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    cursor: pointer;
}
summary {
    font-weight: bold;
    color: #111;
}
details p {
    margin-top: 10px;
    color: #555;
}

.subtitle {
  color: gold;
}




/* VARIABLES */
:root {
    --gold: #D4AF37;
    --dark: #111;
    --grey: #f9f9f9;
    --white: #ffffff;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Playfair Display', serif; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.gold-text { color: var(--gold); }

/* NAVBAR */
nav { background: var(--dark); padding: 20px 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--gold); font-size: 1.8rem; font-weight: bold; text-decoration: none; letter-spacing: 2px; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* HERO */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?auto=format&fit=crop&w=1500');
    background-size: cover;
    background-position: center;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

/* CONTACT GRID */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; padding: 80px 0; }
.contact-info h2 { font-size: 2.5rem; margin-bottom: 20px; border-bottom: 3px solid var(--gold); display: inline-block; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; }
.info-item i { color: var(--gold); font-size: 1.5rem; margin-right: 20px; margin-top: 5px; }

/* FORM */
.contact-form { background: var(--grey); padding: 40px; border-radius: 10px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; outline: none;
}
.submit-btn {
    background: var(--dark); color: var(--gold); padding: 15px 40px; border: 1px solid var(--gold);
    width: 100%; cursor: pointer; transition: 0.4s; text-transform: uppercase;
}
.submit-btn:hover { background: var(--gold); color: var(--dark); }

/* MAP */
#osm-map { height: 450px; width: 100%; border-top: 5px solid var(--gold); }

/* FOOTER */
footer { background: var(--dark); color: var(--white); padding: 40px 0; text-align: center; }

@media (max-width: 992px) { .contact-wrapper { grid-template-columns: 1fr; } }

.special-tag {
    font-family: 'Dancing Script', cursive;
    color: #d4af37; /* Gold color for luxury */
    font-size: 1.2rem;
}

p {
  font-weight: 500;
}

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}
.modal-content {
    background: white; padding: 30px; border-radius: 8px;
    max-width: 500px; width: 90%; position: relative;
    font-family: 'Montserrat', sans-serif;
}
.close-btn { position: absolute; right: 20px; top: 10px; cursor: pointer; font-size: 24px; }
.whatsapp-btn { 
    display: inline-block; background: #25D366; color: white; 
    padding: 10px 20px; text-decoration: none; border-radius: 5px; 
}

.property-card img {
    width: 100%;       /* Take up the full width of the card */
    height: 200px;     /* Set a fixed height for all images */
    object-fit: cover; /* This is the secret—it crops instead of stretching */
    border-radius: 8px 8px 0 0; /* Rounds the top corners only */
    display: block;
}

/* Target the image inside your property modal */
.modal-content img {
    width: 100%;            /* Keeps it full width of the modal */
    max-height: 400px;      /* Prevents it from being too tall */
    object-fit: cover;      /* Crops it elegantly instead of squishing it */
    border-radius: 8px;     /* Optional: adds a luxury soft edge */
    margin-bottom: 20px;    /* Space between image and text */
}

/* Mobile specific adjustment */
@media (max-width: 768px) {
    .modal-content img {
        max-height: 250px;  /* Smaller height for phone screens */
    }
}

/* Modal Styling */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #1a1a1a;
    color: white;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-main-view img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: 0.3s ease-in-out;
}

/* Gallery Grid */
.hidden-gallery {
    display: none; /* Logic shows this on button click */
    margin-top: 25px;
}

#gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: 0.3s;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    border-color: #D4AF37;
}

.gold-text { color: #D4AF37; font-weight: bold; }

.modal-content {
    background-color: #fff;
    margin: 5vh auto; /* 5% of viewport height from top */
    padding: 20px;
    width: 95%; /* Mobile: fills most of the screen */
    max-width: 650px; /* Desktop: stops it from becoming too wide */
    border-radius: 16px;
    position: relative;
    max-height: 90vh; /* Prevents modal from going off-screen */
    overflow-y: auto; /* Adds scroll to the modal itself if content is long */
}

#modal-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover; /* This is the magic: it crops the image to fit without stretching */
    border-radius: 10px;
    display: block;
    margin-bottom: 15px;
}

/* Adjust main image for larger screens */
@media (min-width: 768px) {
    #modal-image {
        height: 350px; /* Taller image on tablets/laptops */
    }
}

#gallery-grid {
    display: grid;
    /* This automatically wraps images based on available space */
    grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps them perfectly square on any screen */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* On very small phones, make thumbnails slightly larger for easier tapping */
@media (max-width: 380px) {
    #gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

.gallery-thumb:hover {
    border-color: #d4af37;
    transform: scale(1.05);
}

.modal-actions {
    display: flex;
    flex-direction: column; /* Stacked by default (Mobile) */
    gap: 12px;
    margin-top: 25px;
}

/* Tablet and Desktop adjustments */
@media (min-width: 600px) {
    .modal-actions {
        flex-direction: row; /* Side-by-side */
        justify-content: space-between;
    }

    .modal-actions button, 
    .modal-actions a {
        flex: 1; /* All buttons take equal width */
        padding: 12px 5px;
    }
}

/* Gallery Container spacing */
#house-gallery {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

#house-gallery h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

/* Container for the gallery images */
#gallery-grid {
    display: grid;
    /* This makes them responsive: 
       It will fit as many images as possible, 
       at least 150px wide each */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px;
    margin-top: 20px;
    padding: 10px;
}

/* Individual House Thumbnails */
.gallery-thumb {
    width: 100%;
    height: 120px; /* Uniform height */
    object-fit: cover; /* Prevents stretching */
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

/* Hover Effect to make them feel interactive */
.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #d4af37; /* Gold border on hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive adjustment for larger screens (Tablets/Laptops) */
@media (min-width: 768px) {
    #gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    .gallery-thumb {
        height: 160px; /* Bigger images on bigger screens */
    }
}
#modal-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 40vh; /* Never takes more than 40% of the screen height */
    object-fit: cover; /* Crops the image to fit the box beautifully */
    border-radius: 12px;
}

#property-modal .modal-content {
    max-width: 800px; /* Allow the modal to be wider for the gallery */
    width: 90%;
    max-height: 90vh; /* Don't let it go off-screen */
    overflow-y: auto; /* Allow scrolling if there are many images */
    background: white;
    border-radius: 15px;
    position: relative;
}

/* 1. The House Gallery Section */
#house-gallery {
    background-color: #000000; /* Pure Black */
    padding: 20px;
    margin: 20px -20px 0 -20px; /* Pulls background to the side edges of the modal */
    border-top: 1px solid #333; /* Subtle separator */
}

#house-gallery h3 {
    color: #ffffff; /* White text for the heading */
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

/* 2. The Button Area */
.modal-actions {
    background-color: #000000; /* Pure Black */
    padding: 20px;
    margin: 0 -20px -20px -20px; /* Pulls background to edges and bottom */
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* 3. The Gallery Grid (Already black from the parent) */
#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

/* 4. Improve Thumbnail Appearance on Black */
.gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #444; /* Dark border so they don't vanish */
    transition: transform 0.2s, border-color 0.2s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #d4af37; /* Gold glow on hover */
}

/* Desktop: Side-by-side buttons */
@media (min-width: 600px) {
    .modal-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    .modal-actions .luxe-btn, .modal-actions a {
        flex: 1;
    }
}

/* The black stage at the bottom of the modal */
.modal-footer-black {
    background-color: #000 !important;
    padding: 30px;
    margin: 20px -20px -20px -20px; /* Makes it flush with modal edges */
    border-radius: 0 0 15px 15px;
}

/* The Grid that makes images bigger and responsive */
#gallery-grid {
    display: grid;
    /* Images will be at least 150px, fitting as many as possible per row */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 15px;
    margin-top: 20px;
}

/* Styling the thumbnails */
.gallery-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #333;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-thumb:hover {
    border-color: #d4af37; /* Gold highlight */
    transform: scale(1.05);
}

/* The black container where images and buttons sit */
.modal-footer-area {
    background-color: #000000 !important;
    padding: 25px;
    margin: 20px -20px -20px -20px; /* Bleeds to the edges of the modal */
    border-radius: 0 0 15px 15px;
}

/* Responsive Grid: Images are at least 180px, filling the row */
#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 15px;
    margin-bottom: 20px;
}

/* Makes images look big and uniform */
.gallery-thumb {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #333;
    cursor: pointer;
    transition: 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    border-color: #d4af37; /* Luxe Gold highlight */
}

