/* ===== BASE STYLES ===== */
:root {
    --bg-dark: #0b0b0b;
    --text-light: #f5f5f5;
    --accent-gold: #d4af37;
    --gold-light: #e6c76c;
    --gold-dark: #b8972d;
    --muted-bg: #1a1a1a;
    --card-radius: 1.25rem;
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  /* ===== TYPOGRAPHY ===== */
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
  }
  
  h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }
  
  h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }
  
  .display-5 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  .lead {
    font-size: 1.25rem;
    font-weight: 300;
  }
  
  .text-gold {
    color: var(--accent-gold);
  }
  
  .text-muted {
    color: #ccc !important;
  }
  
  /* ===== UTILITY CLASSES ===== */
  .container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
  }
  
  @media (min-width: 576px) {
    .container {
      max-width: 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      max-width: 720px;
    }
  }
  
  @media (min-width: 992px) {
    .container {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1200px) {
    .container {
      max-width: 1140px;
    }
  }
  
  @media (min-width: 1400px) {
    .container {
      max-width: 1320px;
    }
  }
  
  .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
  .py-7 { padding-top: 5rem; padding-bottom: 5rem; }
  .mb-4 { margin-bottom: 1.5rem; }
  .mb-5 { margin-bottom: 2rem; }
  .mb-6 { margin-bottom: 3rem; }
  .text-center { text-align: center; }
  .position-relative { position: relative; }
  .position-absolute { position: absolute; }
  .z-index-1 { z-index: 1; }
  .d-none { display: none; }
  .d-flex { display: flex; }
  .flex-wrap { flex-wrap: wrap; }
  .justify-content-center { justify-content: center; }
  .align-items-center { align-items: center; }
  .gap-3 { gap: 1rem; }
  .w-100 { width: 100%; }
  .h-100 { height: 100%; }
  .overflow-hidden { overflow: hidden; }
  .bg-dark { background-color: var(--bg-dark); }
  .bg-muted { background-color: var(--muted-bg); }
  .rounded-3 { border-radius: 1rem; }
  .rounded-circle { border-radius: 50%; }
  
  /* ===== NAVBAR ===== */
  .navbar {
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
  }
  
  .navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
  }
  
  .navbar-toggler {
    border: none;
    color: var(--text-light);
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    position: relative;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem !important;
  }
  
  .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover:after {
    width: 100%;
  }
  
  /* ===== HERO SECTION ===== */
  #hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  /* ===== BUTTONS ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    transition: var(--transition);
    cursor: pointer;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
  }
  
  .btn-outline-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
  }
  
  .btn-outline-gold:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
  }
  
  .btn-gold {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
  }
  
  .btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
  }
  
  /* ===== CARDS ===== */
  .card {
    background: var(--muted-bg);
    border-radius: var(--card-radius);
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card-body {
    padding: 2rem;
  }
  
  @media (min-width: 992px) {
    .card-body {
      padding: 2.5rem;
    }
  }
  
  /* ===== ICONS ===== */
  .icon-lg {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .bg-gold-10 {
    background: rgba(212, 175, 55, 0.1);
  }
  
  .bg-gold-20 {
    background: rgba(212, 175, 55, 0.2);
  }
  
  /* ===== FORMS ===== */
  .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
  }

  /* Improved form input styles for light backgrounds and dark text */
  .form-control,
  .form-select {
    color: #000 !important;
    background-color: #fff;
    border: 1px solid #444;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    width: 100%;
    transition: var(--transition);
  }

  .form-control:focus,
  .form-select:focus {
    box-shadow: 0 0 0 0.15rem rgba(212, 175, 55, 0.25);
    background-color: #fff;
    border-color: var(--accent-gold);
    color: #000;
    outline: none;
  }

  .form-select option {
    background: #fff;
    color: #000;
  }

  .form-control::placeholder,
  textarea::placeholder {
    color: #bbb;
    opacity: 1;
  }

  textarea.form-control {
    min-height: 120px;
    resize: vertical;
  }
  
  .input-group-text {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid #333;
    color: var(--text-light);
  }
  
  .form-check-input {
    background-color: rgba(26, 26, 26, 0.5);
    border: 1px solid #333;
  }

  .form-check-input:checked {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
  }

  .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    border-color: var(--accent-gold);
  }

  .form-check-label {
    margin-left: 0.5rem;
    color: #ddd;
  }

  input[type="checkbox"] + label {
    color: #ccc;
  }

  input[type="checkbox"]:checked + label {
    color: #fff;
  }
  
  /* ===== TABS ===== */
  .nav-pills .nav-link {
    background: transparent;
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    margin: 0.25rem;
  }
  
  .nav-pills .nav-link.active {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
  }
  
  .nav-pills .nav-link:not(.active):hover {
    background: rgba(212, 175, 55, 0.1);
  }
  
  /* ===== ACCORDION ===== */
  .accordion-button {
    background: var(--muted-bg);
    color: #eee;
    font-weight: 600;
    border-radius: 0.75rem !important;
    padding: 1.25rem;
  }
  
  .accordion-button:not(.collapsed) {
    background: var(--muted-bg);
    color: var(--text-light);
    box-shadow: none;
  }
  
  .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
  }
  
  .accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  
  .accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
  
  .accordion-body {
    background: var(--muted-bg);
    color: var(--text-light);
    border-radius: 0 0 0.75rem 0.75rem;
    padding: 1.25rem;
  }
  
  /* ===== GALLERY ===== */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
  }
  
  .placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(26, 26, 26, 0.5), rgba(26, 26, 26, 0.7));
    color: var(--accent-gold);
    font-size: 1.5rem;
  }
  
  /* ===== FOOTER ===== */
  footer {
    position: relative;
  }
  
  footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  }
  
  footer h5 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  footer h5:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
  }
  
  footer ul li {
    margin-bottom: 0.75rem;
  }
  
  footer ul li a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
  }
  
  footer ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
  }
  
  footer .list-unstyled i {
    width: 24px;
  }
  
  /* ===== TOAST ===== */
  .toast-container {
    z-index: 9999;
  }
  
  .toast {
    background: var(--muted-bg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
  }
  
  .toast-header {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 0.75rem 1rem;
  }
  
  .toast-body {
    padding: 1rem;
    color: var(--text-light);
  }
  
  /* ===== ANIMATIONS ===== */
  .animate-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .animate-section.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* ===== RESPONSIVE ADJUSTMENTS ===== */
  @media (max-width: 991.98px) {
    .navbar-collapse {
      background: rgba(11, 11, 11, 0.95);
      padding: 1rem;
      margin-top: 0.5rem;
      border-radius: 0.75rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }
    
    .navbar-nav {
      padding-top: 1rem;
    }
    
    .nav-item {
      margin: 0.5rem 0;
    }
    
    .hero-content {
      padding-top: 4rem;
    }
  }
  
  @media (max-width: 767.98px) {
    .btn-lg {
      width: 100%;
      margin-bottom: 0.5rem;
    }
    
    .tab-content .card {
      margin-top: 1rem;
    }
    
    .py-6, .py-7 {
      padding-top: 3rem;
      padding-bottom: 3rem;
    }
  }
  
  /* ===== CUSTOM SCROLLBAR ===== */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--muted-bg);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
  }

/* ===== GLOBAL PLACEHOLDER COLOR FOR INPUTS AND TEXTAREAS ===== */
input::placeholder,
textarea::placeholder {
  color: #bbb;
  opacity: 1;
}

/* ===== IMPROVED CARD LEGIBILITY ===== */
.card h3,
.card p {
  color: #f5f5f5;
}