/**
 * Peggy Beauty - Luxury Gold / White / Black
 * assets/css/style.css
 */

/* ----------------------------------------
   CSS Variables
---------------------------------------- */
:root {
  --gold: #D4AF37;
  --goldDark: #B8962E;
  --black: #0B0B0B;
  --softBlack: #111111;
  --white: #FFFFFF;
  --soft: #F7F7F7;
  --borderGold: rgba(212, 175, 55, 0.35);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: 0.3s ease;
}

/* ----------------------------------------
   Base
---------------------------------------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

/* ----------------------------------------
   Navbar
---------------------------------------- */
.peggy-nav {
  background: var(--softBlack) !important;
  padding: 0.2rem 0;
  min-height: auto;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.peggy-nav .navbar-brand {
  color: var(--white) !important;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  padding-top: 0;
  padding-bottom: 0;
}

.peggy-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  transition: color var(--transition);
}

.peggy-nav .nav-link:hover {
  color: var(--gold) !important;
}

.border-gold {
  border-color: var(--borderGold) !important;
}

/* Buttons */
.btn-gold {
  background: var(--gold);
  color: var(--black) !important;
  border: none;
  font-weight: 600;
  transition: background var(--transition), transform 0.2s ease;
}

.btn-gold:hover {
  background: var(--goldDark);
  color: var(--black) !important;
  transform: translateY(-1px);
}

.btn-outline-gold {
  color: var(--gold);
  border: 2px solid var(--gold);
  background: transparent;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.text-gold { color: var(--gold) !important; }
.bg-soft { background: var(--soft) !important; }
.bg-softBlack { background: var(--softBlack) !important; }
.bg-black { background: var(--black) !important; }

.object-fit-cover { object-fit: cover; }

/* ----------------------------------------
   Hero
---------------------------------------- */
.hero-section {
  min-height: 85vh;
  position: relative;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 85vh;
  min-height: 500px;
}

.hero-section .carousel-item img {
  min-height: 100%;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 11, 0.4) 0%, rgba(11, 11, 11, 0.7) 100%);
  pointer-events: none;
}

.carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 8rem;
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons .btn {
  margin-bottom: 0.5rem;
}

.trust-strip {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 3;
}

.trust-strip .sep {
  margin: 0 0.5rem;
  opacity: 0.7;
}

.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.6; }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: none;
  background-color: var(--gold);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  opacity: 0.9;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  opacity: 1;
}

/* ----------------------------------------
   Floating decorative icons
---------------------------------------- */
.floating-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.floating-decor img {
  position: absolute;
  opacity: 0.35;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.2));
  mix-blend-mode: normal;
  will-change: transform;
  transition: opacity 0.3s ease, filter 0.3s ease;
  z-index: 0;
}

.floating-decor img:hover {
  opacity: 0.5;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.3));
}

/* Gold tint filter for icons - enhanced visibility */
.floating-decor img {
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.3)) brightness(1.2) saturate(1.5) contrast(1.1);
}

.hero-decor .float-icon { 
  opacity: 0.4; 
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.25)) brightness(1.15) saturate(1.4);
}
.about-decor .float-icon { 
  opacity: 0.35; 
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.2)) brightness(1.1) saturate(1.3);
}
.services-decor .float-icon { 
  opacity: 0.3; 
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35)) drop-shadow(0 0 35px rgba(212, 175, 55, 0.18)) brightness(1.08) saturate(1.25);
}
.pricing-decor .float-icon { 
  opacity: 0.32; 
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.2)) brightness(1.1) saturate(1.3);
}
.gallery-decor .float-icon { 
  opacity: 0.28; 
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.15)) brightness(1.05) saturate(1.2);
}
.cta-decor .float-icon { 
  opacity: 0.45; 
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6)) drop-shadow(0 0 60px rgba(212, 175, 55, 0.3)) brightness(1.2) saturate(1.5);
}
.contact-decor .float-icon { 
  opacity: 0.3; 
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35)) drop-shadow(0 0 35px rgba(212, 175, 55, 0.18)) brightness(1.08) saturate(1.25);
}
.footer-decor .float-icon { 
  opacity: 0.25; 
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.15)) brightness(1.05) saturate(1.2);
}

/* Positions - hero */
.hero-decor .icon-1 { top: 12%; left: 8%; animation: float1 8s ease-in-out infinite; }
.hero-decor .icon-2 { top: 25%; right: 12%; animation: float2 9s ease-in-out infinite 0.5s; }
.hero-decor .icon-3 { bottom: 35%; left: 15%; animation: float3 7s ease-in-out infinite 1s; }
.hero-decor .icon-4 { top: 50%; right: 8%; animation: float1 8.5s ease-in-out infinite 0.3s; }
.hero-decor .icon-5 { bottom: 25%; right: 20%; animation: float2 7.5s ease-in-out infinite 0.8s; }
.hero-decor .icon-6 { top: 18%; right: 25%; animation: float3 9s ease-in-out infinite 1.2s; }
.hero-decor .icon-7 { bottom: 45%; left: 5%; animation: float1 8s ease-in-out infinite 0.6s; }
.hero-decor .icon-8 { top: 60%; left: 22%; animation: float2 7s ease-in-out infinite; }
.hero-decor .icon-9 { bottom: 15%; left: 30%; animation: float3 8.5s ease-in-out infinite 0.4s; }

/* About section decor */
.about-decor .icon-2 { top: 20%; right: 5%; animation: float1 8s ease-in-out infinite; }
.about-decor .icon-4 { bottom: 30%; left: 3%; animation: float2 9s ease-in-out infinite 0.7s; }
.about-decor .icon-6 { top: 50%; right: 10%; animation: float3 7s ease-in-out infinite 0.3s; }

/* Services section decor */
.services-decor .icon-3 { top: 15%; left: 8%; animation: float2 9s ease-in-out infinite; }
.services-decor .icon-5 { top: 40%; right: 10%; animation: float1 8s ease-in-out infinite 0.6s; }
.services-decor .icon-7 { bottom: 25%; left: 12%; animation: float3 7.5s ease-in-out infinite 1s; }
.services-decor .icon-9 { bottom: 15%; right: 15%; animation: float2 8.5s ease-in-out infinite 0.4s; }

/* Pricing section decor */
.pricing-decor .icon-1 { top: 20%; left: 10%; animation: float1 8.5s ease-in-out infinite; }
.pricing-decor .icon-4 { top: 35%; right: 12%; animation: float3 7s ease-in-out infinite 0.7s; }
.pricing-decor .icon-6 { bottom: 30%; left: 8%; animation: float2 9s ease-in-out infinite 0.3s; }
.pricing-decor .icon-8 { bottom: 20%; right: 10%; animation: float1 8s ease-in-out infinite 1.2s; }

/* Gallery section decor */
.gallery-decor .icon-2 { top: 10%; left: 5%; animation: float2 9s ease-in-out infinite; }
.gallery-decor .icon-5 { top: 25%; right: 8%; animation: float1 8s ease-in-out infinite 0.5s; }
.gallery-decor .icon-7 { bottom: 30%; left: 10%; animation: float3 7.5s ease-in-out infinite 1s; }
.gallery-decor .icon-9 { bottom: 15%; right: 12%; animation: float2 8.5s ease-in-out infinite 0.4s; }

/* CTA section decor */
.cta-decor .icon-1 { top: 20%; left: 15%; animation: float1 8s ease-in-out infinite; }
.cta-decor .icon-3 { top: 35%; right: 18%; animation: float2 9s ease-in-out infinite 0.6s; }
.cta-decor .icon-6 { bottom: 30%; left: 12%; animation: float3 7.5s ease-in-out infinite 1s; }
.cta-decor .icon-8 { bottom: 25%; right: 15%; animation: float1 8.5s ease-in-out infinite 0.3s; }

/* Contact section decor */
.contact-decor .icon-2 { top: 15%; left: 8%; animation: float2 9s ease-in-out infinite; }
.contact-decor .icon-4 { top: 40%; right: 10%; animation: float1 8s ease-in-out infinite 0.7s; }
.contact-decor .icon-7 { bottom: 25%; left: 12%; animation: float3 7.5s ease-in-out infinite 1.2s; }

/* Footer decor */
.footer-decor .icon-3 { top: 20%; left: 10%; animation: float1 8.5s ease-in-out infinite; }
.footer-decor .icon-5 { top: 35%; right: 12%; animation: float2 9s ease-in-out infinite 0.5s; }
.footer-decor .icon-9 { bottom: 30%; left: 15%; animation: float3 7s ease-in-out infinite 1s; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(6px, -8px) rotate(4deg) scale(1.02); }
  50% { transform: translate(8px, -12px) rotate(6deg) scale(1); }
  75% { transform: translate(4px, -6px) rotate(3deg) scale(0.98); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(5px, -12px) rotate(-4deg) scale(1.03); }
  66% { transform: translate(-8px, 8px) rotate(4deg) scale(0.97); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-8px) rotate(3deg) scale(1.01); }
  50% { transform: translateY(-15px) rotate(5deg) scale(1); }
  75% { transform: translateY(-6px) rotate(2deg) scale(0.99); }
}

/* Additional float variations for more dynamic movement */
@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-6px, -10px) rotate(-3deg) scale(1.02); }
  50% { transform: translate(-4px, -5px) rotate(-1deg) scale(1); }
  75% { transform: translate(6px, 10px) rotate(3deg) scale(0.98); }
}

@keyframes float5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(6px, -5px) rotate(4deg) scale(1.03); }
  50% { transform: translate(10px, -8px) rotate(8deg) scale(1.05); }
  75% { transform: translate(5px, -3px) rotate(4deg) scale(1.01); }
}

/* Apply additional animations to some icons for variety */
.services-decor .icon-7 { animation: float4 8s ease-in-out infinite 0.8s; }
.pricing-decor .icon-1 { animation: float5 9s ease-in-out infinite; }
.gallery-decor .icon-2 { animation: float4 8.5s ease-in-out infinite 0.3s; }
.cta-decor .icon-6 { animation: float5 7.5s ease-in-out infinite 1.1s; }

/* ----------------------------------------
   Sections common
---------------------------------------- */
.position-relative.z-1 {
  position: relative;
  z-index: 1;
}

/* Gold background overlays for sections */
.section-services::before,
.section-about::before,
.section-pricing::before,
.section-gallery::before,
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 30% at 50% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--black);
}

.premium-divider {
  height: 3px;
  max-width: 120px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

/* Reveal (JS will add .revealed) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ----------------------------------------
   Services cards
---------------------------------------- */
.section-services {
  position: relative;
}

.section-services .service-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.section-services .service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

.service-name {
  color: var(--black);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--borderGold);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.service-image-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--soft);
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.section-services .service-card:hover .service-image {
  transform: scale(1.05);
}

/* ----------------------------------------
   Promo strip
---------------------------------------- */
/* ----------------------------------------
   Newsletter section (white, gold, black)
---------------------------------------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--softBlack) 50%, #1a1a1a 100%);
  color: var(--white);
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.newsletter-section .container-fluid {
  max-width: 100%;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.newsletter-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.2;
}
.newsletter-orb-1 {
  top: 10%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: var(--gold);
  animation: newsletter-float 8s ease-in-out infinite;
}
.newsletter-orb-2 {
  top: 20%;
  right: 15%;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.15);
  animation: newsletter-float 10s ease-in-out infinite 1s;
}
.newsletter-orb-3 {
  bottom: 20%;
  left: 20%;
  width: 60px;
  height: 60px;
  background: var(--gold);
  animation: newsletter-float 7s ease-in-out infinite 0.5s;
}

.newsletter-sparkle {
  position: absolute;
  color: var(--gold);
  font-size: 1rem;
  opacity: 0.5;
}
.newsletter-sparkle-1 { top: 22%; left: 18%; animation: newsletter-sparkle 2.5s ease-in-out infinite; }
.newsletter-sparkle-2 { top: 30%; right: 22%; animation: newsletter-sparkle 2.5s ease-in-out infinite 0.5s; }
.newsletter-sparkle-3 { bottom: 35%; left: 28%; animation: newsletter-sparkle 2.5s ease-in-out infinite 1s; }
.newsletter-sparkle-4 { top: 50%; right: 18%; animation: newsletter-sparkle 2.5s ease-in-out infinite 0.3s; }

@keyframes newsletter-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

@keyframes newsletter-sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--borderGold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .newsletter-card .row {
    align-items: center;
  }
}

.newsletter-badge {
  background: rgba(212, 175, 55, 0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.newsletter-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: newsletter-pulse 2s ease-in-out infinite;
}

@keyframes newsletter-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.newsletter-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.newsletter-heading-compact {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.newsletter-divider .newsletter-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6));
}
.newsletter-divider .newsletter-line:last-of-type {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), transparent);
}

.newsletter-star {
  font-size: 1.5rem;
}

.newsletter-subtext {
  font-size: 1rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-subtext-compact {
  font-size: 0.875rem;
  max-width: none;
  margin: 0;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: var(--white) !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
  outline: 0 !important;
}

.newsletter-input-compact {
  font-size: 0.9rem;
  min-width: 140px;
}

.newsletter-section .btn-gold {
  color: var(--black) !important;
}

.newsletter-success-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold);
}

.newsletter-checkmark {
  width: 28px;
  height: 28px;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: newsletter-checkmark 0.5s ease-out forwards 0.2s;
}

@keyframes newsletter-checkmark {
  to { stroke-dashoffset: 0; }
}

.newsletter-loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: newsletter-bounce 1.2s ease-in-out infinite;
}
.newsletter-loading-dot:nth-child(2) { animation-delay: 0.15s; }
.newsletter-loading-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes newsletter-bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
}

.newsletter-trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ----------------------------------------
   About
---------------------------------------- */
.section-about {
  position: relative;
}

.section-pricing {
  position: relative;
}

.section-gallery {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg) !important;
  aspect-ratio: 1 / 1;
  max-height: 480px;
  max-width: 480px;
  /* Shadow behind: offset right and down for depth */
  box-shadow: 12px 16px 40px rgba(0, 0, 0, 0.25), 6px 8px 24px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.about-image-frame img {
  min-height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ----------------------------------------
   Pricing cards
---------------------------------------- */
.pricing-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg) !important;
}

.price-from {
  font-size: 0.9rem;
  color: var(--softBlack);
}

/* ----------------------------------------
   Gallery cloud (tight, organic layout)
---------------------------------------- */
.gallery-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 72px;
  gap: 0.35rem;
  grid-auto-flow: dense;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .gallery-cloud {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 80px;
    gap: 0.4rem;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .gallery-cloud {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 88px;
    gap: 0.45rem;
  }
}

.gallery-cloud-item {
  position: relative;
  background: var(--soft);
  min-height: 100%;
}

.gallery-cloud-item img,
.gallery-cloud-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wide (landscape) */
.gallery-cloud-item.g-w {
  grid-column: span 2;
  grid-row: span 2;
}

/* Tall (portrait) */
.gallery-cloud-item.g-t {
  grid-column: span 1;
  grid-row: span 3;
}

/* Square / default */
.gallery-cloud-item.g-s {
  grid-column: span 1;
  grid-row: span 2;
}

@media (min-width: 576px) {
  .gallery-cloud-item.g-w {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-cloud-item.g-t {
    grid-row: span 3;
  }
}

.gallery-cloud-item.g-circle {
  border-radius: 50% !important;
  overflow: hidden;
}

.gallery-cloud-item.g-circle img {
  border-radius: 50%;
}

.gallery-cloud-item.g-video video {
  object-fit: cover;
}

/* ----------------------------------------
   CTA section
---------------------------------------- */
.section-cta .section-title {
  color: var(--white);
}

/* ----------------------------------------
   Contact / Form / Map
---------------------------------------- */
.section-contact {
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 50%, var(--soft) 100%);
}

.contact-form-card {
  background: var(--softBlack);
  border: 1px solid var(--borderGold);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 255, 255, 0.95);
}

.contact-form-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.contact-form-card .form-label,
.contact-form-card .form-check-label {
  color: rgba(255, 255, 255, 0.95) !important;
}

.contact-form .form-label {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.peggy-input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  color: var(--white) !important;
  border-radius: var(--radius) !important;
  padding: 0.65rem 1rem !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.peggy-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.peggy-input:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
  outline: 0 !important;
}

/* Select / dropdown on dark contact card: light text, premium style */
.contact-form-card select.peggy-input,
.contact-form-card select.form-select {
  color: rgba(255, 255, 255, 0.95) !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(212, 175, 55, 0.4) !important;
  border-radius: var(--radius) !important;
  padding: 0.65rem 2.5rem 0.65rem 1rem !important;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23D4AF37' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.contact-form-card select.peggy-input:focus,
.contact-form-card select.form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2) !important;
}

.contact-form-card select.peggy-input option,
.contact-form-card select.form-select option {
  color: var(--black);
  background: var(--white);
}

.peggy-textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-info-card {
  background: var(--softBlack);
  border: 1px solid var(--borderGold);
  box-shadow: var(--shadow-lg);
  color: rgba(255, 255, 255, 0.95);
}

.contact-info-card .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

.contact-info-card .h5,
.contact-info-card h2 {
  color: var(--gold) !important;
}

.contact-info-card p,
.contact-info-card span {
  color: rgba(255, 255, 255, 0.95);
}

.contact-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-link {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--gold) !important;
}

.section-contact .btn-outline-gold {
  color: var(--gold);
  border-color: var(--gold);
}

.section-contact .btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
}

.map-placeholder {
  border: 1px solid var(--borderGold);
  box-shadow: var(--shadow);
}

.map-placeholder iframe {
  border: 0;
}

/* ----------------------------------------
   Footer
---------------------------------------- */
.footer a:hover {
  color: var(--gold) !important;
}

.social-icon {
  width: 40px;
  height: 40px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: transform var(--transition), background var(--transition);
}

.social-icon:hover {
  transform: scale(1.1);
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* Footer bespoke (compact luxury) */
.footer-bespoke {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.footer-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

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

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-brand:hover {
  color: var(--gold) !important;
}

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
}

.footer-nav-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.2rem 0;
  position: relative;
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--gold) !important;
}

.footer-nav-link:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.5);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.35);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social-link:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credit p {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.footer-credit-link {
  color: var(--white) !important;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-credit-link:hover {
  opacity: 0.85;
  color: var(--white) !important;
}

/* ----------------------------------------
   Utility
---------------------------------------- */
.py-lg-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
