/* =========================================
   1. GLOBAL RESET & VARIABLES
   ========================================= */
:root {
  --bg-color: #050505;
  --card-bg: #0f0f0f;
  --gold-start: #bf953f;
  --gold-mid: #fcf6ba;
  --gold-end: #aa771c;
  --text-gray: #a1a1aa;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important; /* CRITICAL MOBILE FIX */
  position: relative;
  background-color: var(--bg-color);
  color: #ffffff;
  font-family: "Manrope", sans-serif;
}

/* Fix Bootstrap Container Padding on Mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* =========================================
   2. TYPOGRAPHY & BUTTONS
   ========================================= */
h1,
h2,
h3,
h4,
h5,
.navbar-brand {
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animated Gold Text */
.gold-text {
  background: linear-gradient(to right, var(--gold-start), var(--gold-mid), var(--gold-end), var(--gold-start));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  font-weight: 700;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Gold Button */
.btn-gold {
  background: linear-gradient(45deg, var(--gold-start), var(--gold-end));
  color: #000 !important;
  border: none;
  padding: 12px 30px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
  border-radius: 2px;
  text-align: center;
}

.btn-gold:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(191, 149, 63, 0.4);
  color: #000;
}

/* =========================================
   3. NAVBAR
   ========================================= */
.navbar {
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 149, 63, 0.2);
  padding: 15px 0;
  transition: 0.4s ease;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff !important;
}
.navbar-brand span {
  color: var(--gold-start) !important;
}

.navbar-toggler {
  border: 2px solid var(--gold-start) !important;
  padding: 8px 12px;
  background-color: linear-gradient(45deg, var(--gold-start), var(--gold-end)) !important;
  border-radius: 4px;
  transition: 0.3s ease;
}
.navbar-toggler i {
  color: #000;
  font-size: 1.3rem;
}
.navbar-toggler:hover {
  background-color: linear-gradient(45deg, var(--gold-end), var(--gold-start)) !important;
  box-shadow: 0 0 15px rgba(191, 149, 63, 0.4);
  transform: scale(1.05);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(191, 149, 63, 0.3);
}
.nav-link {
  color: var(--text-gray) !important;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 10px;
  transition: 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold-mid) !important;
}

/* Mobile Menu Styling */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #0a0a0a;
    padding: 20px;
    border-top: 1px solid rgba(191, 149, 63, 0.3);
    margin-top: 15px;
  }
  .btn-gold {
    width: 100%;
    margin-top: 15px;
  }
}

/* Sticky Sidebar (Desktop Only) */
.sticky-icon {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sticky-icon a {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-start);
  border-radius: 5px 0 0 5px;
  transition: 0.3s;
  text-decoration: none;
}
.sticky-icon a:hover {
  background: var(--gold-start);
  color: #000;
  width: 55px;
}

@media (max-width: 767px) {
  .sticky-icon {
    display: none;
  } /* Hide on Mobile */
}

/* =========================================
   4. HERO SECTION (FIXED)
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 50px 0; /* Add vertical padding for mobile */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4);
}

/* Zoom Animation ONLY on Desktop */
@media (min-width: 992px) {
  .hero-bg {
    animation: heroZoom 20s infinite alternate;
  }
  .hero {
    padding: 0;
    height: 100vh;
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px; /* Increased mobile padding */
  max-width: 100%;
}

.hero-title {
  font-size: 2rem; /* Reduced from 2.5rem for mobile */
  line-height: 1.2;
  margin-bottom: 20px;
  word-wrap: break-word;
}
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.8rem;
  }
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}
@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 0.75rem; /* Reduced from 0.9rem */
  letter-spacing: 2px; /* Reduced from 3px */
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--gold-mid);
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
  }
}

.hero-content .text-gray {
  font-size: 0.9rem;
}
@media (min-width: 768px) {
  .hero-content .text-gray {
    font-size: 0.95rem;
  }
}

/* =========================================
   5. MARQUEE STRIP
   ========================================= */
.marquee {
  background: var(--gold-start);
  color: #000;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Cinzel", serif;
  font-weight: 700;
  width: 100%;
}
.marquee-content {
  display: inline-block;
  animation: marquee 15s linear infinite;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =========================================
   6. BENTO GRID (SERVICES)
   ========================================= */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile: 1 Col */
  gap: 20px;
  padding: 10px;
}
@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    padding: 20px;
  }
}

.bento-card {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  border-radius: 10px;
}
@media (min-width: 992px) {
  .bento-card {
    padding: 40px;
    min-height: 300px;
    border-radius: 0;
  }
}

.bento-card:hover {
  border-color: var(--gold-start);
  transform: translateY(-5px);
}
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, transparent);
  opacity: 0.8;
  z-index: 1;
}
.bento-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: 0.6s;
  opacity: 0.6;
}
.bento-card:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}
.bento-content {
  position: relative;
  z-index: 2;
}

/* Grid Spans */
.span-4,
.span-6,
.span-8 {
  grid-column: span 1;
}
@media (min-width: 992px) {
  .span-4 {
    grid-column: span 4;
  }
  .span-6 {
    grid-column: span 6;
  }
  .span-8 {
    grid-column: span 8;
  }
}

/* =========================================
   7. GALLERY (MASONRY)
   ========================================= */
.gallery-masonry,
.gallery-grid {
  column-count: 1; /* Mobile */
  column-gap: 20px;
}
@media (min-width: 768px) {
  .gallery-masonry,
  .gallery-grid {
    column-count: 2;
  }
}
@media (min-width: 992px) {
  .gallery-masonry,
  .gallery-grid {
    column-count: 3;
  }
}

.gallery-item {
  margin-bottom: 20px;
  break-inside: avoid;
}

.gallery-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.gallery-card img,
.gallery-item img {
  width: 100%;
  display: block;
  transition: 0.6s ease;
}
.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  transition: 0.4s;
  z-index: 2;
}
.gallery-card:hover .gallery-overlay {
  bottom: 0;
}

/* =========================================
   8. CONTACT FORM & MAP
   ========================================= */
.contact-wrap {
  background: #0a0a0a;
  border: 1px solid rgba(191, 149, 63, 0.2);
  padding: 30px;
}
@media (min-width: 992px) {
  .contact-wrap {
    padding: 60px;
  }
}

/* Floating Labels & Inputs */
.form-control,
.form-select,
.premium-input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border-radius: 0;
  padding: 15px;
  margin-bottom: 15px;
}
.form-control:focus,
.form-select:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--gold-start) !important;
  box-shadow: none;
  color: #fff !important;
}
.form-floating > label {
  color: #a1a1aa;
}

/* Map Styles */
.map-container {
  position: relative;
  border: 1px solid rgba(191, 149, 63, 0.3);
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}
.info-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-left: 3px solid var(--gold-start);
}

/* =========================================
   9. INNER PAGE HEADERS
   ========================================= */
.page-header {
  margin-top: 70px;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(191, 149, 63, 0.3);
  position: relative;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}
.page-header .container {
  position: relative;
  z-index: 2;
}

/* =========================================
   10. BLOG CARD STYLES
   ========================================= */
.blog-card {
  background-color: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  transition: 0.4s;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold-start);
}
.blog-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.blog-card:hover .blog-img-wrapper img {
  transform: scale(1.1);
}
.blog-content {
  padding: 20px;
}
.read-more-link {
  color: var(--gold-start);
  text-decoration: none;
  font-weight: 700;
}

/* =========================================
   11. FOOTER
   ========================================= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 50px;
  padding-bottom: 30px;
  text-align: center;
  background-color: #020202;
}

@media (min-width: 992px) {
  footer {
    text-align: left;
  }
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: 0.3s;
}
.footer-links a:hover {
  color: var(--gold-mid);
  padding-left: 5px;
}


/* =========================================
   12. POPUP MODAL
   ========================================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-modal {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border: 2px solid var(--gold-start);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  padding: 40px 30px;
  box-shadow: 0 20px 60px rgba(191, 149, 63, 0.3);
  transform: scale(0.7);
  transition: all 0.3s ease;
}

.popup-overlay.show .popup-modal {
  transform: scale(1);
  animation: popupBounce 0.6s ease;
}

@keyframes popupBounce {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(191, 149, 63, 0.2);
  border: 1px solid var(--gold-start);
  color: var(--gold-start);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 1.2rem;
  line-height: 1;
}

.popup-close:hover {
  background: var(--gold-start);
  color: #000;
  transform: rotate(90deg);
}

.popup-header {
  text-align: center;
  margin-bottom: 25px;
}

.popup-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, var(--gold-start), var(--gold-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.8rem;
  color: #000;
  animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(191, 149, 63, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(191, 149, 63, 0);
  }
}

.popup-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #fff;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
}

.popup-subtitle {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0;
}

.popup-form .form-control,
.popup-form .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.popup-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.popup-form .form-control:focus,
.popup-form .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-start);
  box-shadow: 0 0 0 3px rgba(191, 149, 63, 0.1);
  outline: none;
}

.popup-form .btn-gold {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  border-radius: 6px;
  margin-top: 10px;
}

.popup-offer {
  background: rgba(191, 149, 63, 0.1);
  border: 1px dashed var(--gold-start);
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  margin-bottom: 20px;
}

.popup-offer-text {
  color: var(--gold-mid);
  font-size: 0.85rem;
  margin: 0;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .popup-modal {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .popup-title {
    font-size: 1.2rem;
  }

  .popup-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
/* =========================================
   13. SPARKLE CURSOR TRAIL
   ========================================= */
.sparkle {
  position: fixed;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, var(--gold-mid), var(--gold-start));
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  animation: sparkleFloat 1s ease-out forwards;
  box-shadow: 0 0 10px var(--gold-start);
}

@keyframes sparkleFloat {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(0);
  }
}

/* =========================================
   14. FLOATING HEARTS/PARTICLES
   ========================================= */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  bottom: -50px;
  font-size: 20px;
  opacity: 0.6;
  animation: floatUp 15s linear infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  font-size: 25px;
}
.particle:nth-child(2) {
  left: 20%;
  animation-delay: 2s;
  font-size: 18px;
}
.particle:nth-child(3) {
  left: 30%;
  animation-delay: 4s;
  font-size: 22px;
}
.particle:nth-child(4) {
  left: 40%;
  animation-delay: 6s;
  font-size: 20px;
}
.particle:nth-child(5) {
  left: 50%;
  animation-delay: 8s;
  font-size: 24px;
}
.particle:nth-child(6) {
  left: 60%;
  animation-delay: 10s;
  font-size: 19px;
}
.particle:nth-child(7) {
  left: 70%;
  animation-delay: 12s;
  font-size: 21px;
}
.particle:nth-child(8) {
  left: 80%;
  animation-delay: 14s;
  font-size: 23px;
}
.particle:nth-child(9) {
  left: 90%;
  animation-delay: 3s;
  font-size: 20px;
}
.particle:nth-child(10) {
  left: 15%;
  animation-delay: 7s;
  font-size: 22px;
}

@keyframes floatUp {
  0% {
    bottom: -50px;
    opacity: 0;
    transform: translateX(0) rotate(0deg);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    bottom: 110%;
    opacity: 0;
    transform: translateX(100px) rotate(720deg);
  }
}

/* Hide particles on mobile for performance */
@media (max-width: 768px) {
  .floating-particles {
    display: none;
  }
}

/* =========================================
   15. CONFETTI STYLES
   ========================================= */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold-start);
  pointer-events: none;
  z-index: 99999;
  animation: confettiFall 3s ease-out forwards;
}

.confetti:nth-child(odd) {
  background: var(--gold-mid);
}

.confetti:nth-child(3n) {
  background: #fff;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

