@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=League+Spartan:wght@100;200;300;400;500;600;700;800;900&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --ivory: #FAF6F0;
  --blush: #EFE3D8;
  --grey: #8B8983;
  --grey-dark: #4A4A48;
  --gold: #C9A24B;
  --gold-soft: #D9BC7C;
  --espresso: #2B2622;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'League Spartan', sans-serif !important;
  background-color: var(--ivory);
  color: var(--espresso);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 600;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

h1 { font-size: 48px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.25; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }

p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--grey-dark);
  font-weight: 400;
}

em {
  font-style: italic;
  color: var(--gold);
}

.font-cormorant {
  font-family: 'Cormorant Garamond', serif !important;
  letter-spacing: -0.02em;
}

/* ========================================
   Button Styles
   ======================================== */

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  color: #ffffff !important;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease-in-out;
  background-color: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #ffffff !important;
  transform: translateY(-1px);
  outline: none;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--gold);
  color: var(--grey-dark) !important;
  background-color: transparent;
  text-decoration: none;
  text-align: center;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--gold);
  color: var(--ivory) !important;
  transform: translateY(-1px);
  outline: none;
}

.btn-white {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease-in-out;
  color: var(--espresso) !important;
  background-color: white;
  text-decoration: none;
  text-align: center;
}

.btn-white:hover,
.btn-white:focus-visible {
  box-shadow: 0 10px 15px -3px rgba(201, 162, 75, 0.15);
  transform: translateY(-1px);
  outline: none;
}

/* ========================================
   Card Styles
   ======================================== */

.card {
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  background-color: white;
  border: 1px solid var(--blush);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft) !important;
}

/* ========================================
   Input Fields
   ======================================== */

.input-field {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--blush);
  background-color: white;
  color: var(--espresso);
}

.input-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 162, 75, 0.15);
}

.input-field::placeholder {
  color: var(--grey);
}

/* ========================================
   Layout Utilities
   ======================================== */

.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* ========================================
   Text Utilities
   ======================================== */

.text-brand { color: var(--gold); }
.text-secondary { color: var(--grey); }
.text-primary { color: var(--espresso); }
.bg-brand { background-color: var(--gold); }
.bg-brand-light { background-color: var(--blush); }
.bg-ivory { background-color: var(--ivory); }

/* ========================================
   Scrollbar
   ======================================== */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--blush); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ========================================
   Selection
   ======================================== */

::selection { background-color: var(--gold-soft); color: var(--espresso); }

/* ========================================
   Links
   ======================================== */

a { color: var(--gold); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--gold-soft); }

/* ========================================
   Table
   ======================================== */

table {
  border-collapse: collapse;
  width: 100%;
  margin: 20px 0;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
}

th { background-color: var(--gold); color: var(--ivory); font-weight: 600; padding: 12px 15px; text-align: left; }
td { border-bottom: 1px solid var(--blush); padding: 12px 15px; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background-color: var(--ivory); }

code {
  background-color: var(--blush);
  color: var(--espresso);
  font-family: Consolas, Monaco, 'Andale Mono', monospace;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* ========================================
   Rich Text Content (CKEditor output)
   ======================================== */

.rte-content {
  color: var(--grey-dark);
  line-height: 1.75;
}

.rte-content p {
  margin: 0 0 1rem;
}

.rte-content h1,
.rte-content h2,
.rte-content h3,
.rte-content h4 {
  margin: 1.4rem 0 0.7rem;
  color: var(--espresso);
}

.rte-content ul,
.rte-content ol {
  margin: 0 0 1rem 1.35rem;
  padding-left: 1.2rem;
}

.rte-content ul {
  list-style: disc;
}

.rte-content ol {
  list-style: decimal;
}

.rte-content ul ul {
  list-style: circle;
}

.rte-content ol ol {
  list-style: lower-alpha;
}

.rte-content li {
  margin: 0.35rem 0;
}

.rte-content blockquote {
  border-left: 4px solid var(--gold-soft);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--grey);
}

.rte-content a {
  color: var(--gold);
  text-decoration: underline;
}

.rte-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.rte-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.rte-content th,
.rte-content td {
  border: 1px solid var(--blush);
  padding: 0.6rem 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ========================================
   Featured Promo Pagination Dots
   ======================================== */

/* ========================================
   Swiper Pagination Gold Override
   ======================================== */

.featured-promo-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 16px;
}

.featured-promo-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #EFE3D8 !important;
    opacity: 1 !important;
    border-radius: 9999px;
    transition: all 0.35s ease;
    margin: 0 !important;
    cursor: pointer;
}

.featured-promo-pagination .swiper-pagination-bullet-active {
    background: #C9A24B !important;
    width: 28px;
    border-radius: 9999px;
}
