:root {
  --primary-color: #bda897;
  /* Muted, sophisticated gold */
  --dark-bg: #222222;
  --light-text: #f5f5f5;
  --secondary-text: #a0a0a0;
  --light-bg-section: #ffffff;
  --border-color: #e5e5e5;
}

/* Pre-load styles to prevent content flash */
.js-loading {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.js-loaded {
  opacity: 1;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

h1,
h2,
h3,
h4,
.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
  color: var(--light-text);
  font-weight: 700;
}

/* Layout & Spacing */
.section-padding {
  padding: 2em 0;
}

.section-heading {
  margin-bottom: 5rem;
}

.section-heading h2 {
  font-size: 4rem;
  line-height: 1.1;
  font-style: italic;
}

.section-heading p {
  font-size: 1.1rem;
  color: var(--secondary-text);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero-content h1 {
  font-size: 6vw;
  line-height: 1;
  font-style: italic;
  font-weight: 500;
}
.hero-content > div {
  margin-top: 20px;
}
.hero-content > div a {
  color: #fff !important;
  text-decoration: none;
}

/* Portfolio Section */
#portfolio {
  background-color: var(--light-bg-section);
}

#portfolio .section-heading h2,
#portfolio .section-heading p {
  color: var(--dark-bg);
}

.portfolio-grid {
  margin: 0 auto;
}

.grid-sizer,
.grid-item {
  width: calc(33.333% - 20px);
}

.grid-item {
  margin-bottom: 30px;
}

.grid-item a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.grid-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.grid-item a:hover img {
  transform: scale(1.05);
}

.grid-item--width2 {
  width: calc(66.666% - 20px);
}

.video-item-wrapper {
  position: relative;
}

.video-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.grid-item a:hover .video-play-icon {
  background: rgba(0, 0, 0, 0.5);
}

/* Swiper Carousel for Showcase */
.swiper-container {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.showcase-card {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: background-color 0.4s ease, transform 0.4s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: var(--light-text);
  width: 100%;
  max-width: 500px;
  /* Control max card width */
}

.showcase-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.showcase-card img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.showcase-card .card-body {
  padding: 30px;
  flex-grow: 1;
}

.showcase-card .card-title {
  font-size: 2rem;
}

.showcase-card .card-text {
  font-size: 1rem;
  color: var(--secondary-text);
}

#albums .showcase-card {
  border-color: var(--border-color);
}

#albums .showcase-card .card-title {
  color: var(--dark-bg);
}

#albums .showcase-card .card-text {}

/* Creative Wedding Packages Accordion */
#packages .package-accordion .package-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.package-header {
  padding: 2.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-header h3 {
  font-size: 3rem;
  margin: 0;
  transition: color 0.4s ease;
}

.package-header .package-icon {
  font-size: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.package-item.active .package-header h3 {
  color: var(--primary-color);
}

.package-item.active .package-icon {
  transform: rotate(45deg);
}

.package-content {
  max-height: 0;
  overflow: hidden;
}

.package-content-inner {
  padding-bottom: 4rem;
}

.package-thumbnail {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.package-price {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
}

.package-price span {
  font-size: 1rem;
  color: var(--secondary-text);
  font-family: 'Inter', sans-serif;
}

.package-description {
  color: var(--secondary-text);
}


/* Contact Form */
#contact {
  background-color: var(--light-bg-section);
}

#contact .section-heading h2,
#contact .section-heading p {
  color: var(--dark-bg);
}

.form-control,
.form-select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  padding: 1.2rem 0.5rem;
  color: var(--dark-bg);
  font-weight: 500;
}

.form-control:focus,
.form-select:focus {
  background-color: transparent;
  box-shadow: none;
  border-color: var(--primary-color);
}

.form-control::placeholder {
  color: #a0a0a0;
}

.btn-main {
  background-color: var(--dark-bg);
  color: #fff;
  border: 2px solid var(--dark-bg);
  padding: 14px 45px;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-main:hover {
  background-color: transparent;
  color: var(--dark-bg);
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
  .section-padding {
    padding: 40px 10px;
  }

  .section-heading {
    margin-bottom: 0;
  }

  .section-heading h2 {
    font-size: 2.5rem;
  }

  .section-heading p {
    font-size: 1rem;
  }

  .package-content-inner {
    padding-bottom: 1rem;
  }

  .hero-content h1 {
    font-size: 15vw;
  }

  /* MASONRY MOBILE FIX */
  .grid-sizer,
  .grid-item {
    width: calc(50% - 15px);
  }

  .grid-item--width2 {
    width: 100%;
  }

  .grid-item {
    margin-bottom: 30px;
  }

  .package-header h3 {
    font-size: 1.8rem;
  }

  .package-content-inner {
    flex-direction: column;
  }

  .package-thumbnail {
    height: 200px;
  }

  #contact .row {
    --bs-gutter-y: 2rem;
  }
}