/* ===== Custom Variables ===== */
:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #e94560;
  --accent-hover: #d63851;
  --gold: #c9a227;
  --text-light: #f5f5f5;
  --text-muted: #b0b0b0;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --transition: 0.3s ease;
}

/* ===== Global ===== */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.text-muted {
  color: var(--text-muted) !important;
}

a {
  color: var(--accent);
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Navbar ===== */
.navbar {
  background-color: rgba(15, 15, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(233, 69, 96, 0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-light) !important;
  letter-spacing: 1px;
}

.navbar-brand span {
  color: var(--accent);
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light) !important;
}

.navbar-toggler {
  border-color: rgba(233, 69, 96, 0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ===== Hero ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.85), rgba(26, 26, 46, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ===== Buttons ===== */
.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-outline-light {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

/* ===== Section ===== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===== Cards ===== */
.card-custom {
  background-color: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(233, 69, 96, 0.2);
}

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

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom .card-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.card-custom .card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-custom .price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== Gallery ===== */
.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-grid .gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-grid .gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition);
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: #fff;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

@media (max-width: 991px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 575px) {
  .gallery-grid {
    columns: 1;
  }
}

/* ===== About ===== */
.about-img {
  border-radius: 12px;
  overflow: hidden;
}

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

.value-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(233, 69, 96, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ===== Contact ===== */
.contact-info-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info-card i {
  color: var(--accent);
  font-size: 1.25rem;
  width: 24px;
}

.form-control,
.form-select {
  background-color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
  background-color: var(--secondary);
  border-color: var(--accent);
  color: var(--text-light);
  box-shadow: 0 0 0 0.2rem rgba(233, 69, 96, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 1.5rem;
}

.footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer p,
.footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--text-light);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 15, 26, 0.9), rgba(26, 26, 46, 0.8));
}

.page-header > * {
  position: relative;
  z-index: 1;
}

/* ===== Lightbox ===== */
body.lightbox-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 80%;
  max-height: 85vh;
  border-radius: 8px;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10000;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(233, 69, 96, 0.3);
  color: var(--accent);
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ===== Utilities ===== */
.text-accent {
  color: var(--accent) !important;
}

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

.bg-darker {
  background-color: var(--secondary);
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
