:root {
  /* Main Site Colors */
  --bg-primary: #0E0D0B;
  --bg-secondary: #1C1A17;
  --text-light: #F5F0E8;
  --text-muted: rgba(245, 240, 232, 0.7);
  --gold-primary: #B8964E;
  --gold-light: #D4AF70;
  
  /* Blog Colors */
  --blog-gold: #C9A96E;
  --white: #FFFFFF;
  --black: #000000;
  --gray-200: #e5e7eb;
  --gray-800: #1f2937;
  
  /* Admin Colors */
  --admin-bg-start: #0f172a;
  --admin-bg-end: #1e293b;
  --emerald-600: #059669;
  --teal-600: #0d9488;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Cormorant Garamond', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ================= UTILITIES ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.font-light { font-weight: 300; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.hidden { display: none !important; }

/* ================= COMPONENTS ================= */
.btn-primary {
  display: inline-block;
  background-color: var(--gold-primary);
  color: var(--bg-primary);
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-primary:hover {
  background-color: var(--gold-light);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.gold-line {
  width: 2rem;
  height: 1px;
  background-color: var(--gold-primary);
  display: inline-block;
  vertical-align: middle;
}
.gold-line-long {
  width: 4rem;
  height: 1px;
  background-color: var(--gold-primary);
  margin: 2rem 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-primary);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ================= NAVIGATION ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 50;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(14, 13, 11, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}
.nav-logo span {
  color: var(--text-light);
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .navbar { padding: 1.25rem 3rem; }
}

.nav-links a:hover {
  color: var(--gold-light);
}
.nav-btn {
  border: 1px solid var(--gold-primary);
  padding: 0.5rem 1.25rem;
  transition: all 0.3s;
}
.nav-btn:hover {
  background-color: var(--gold-primary);
  color: var(--bg-primary);
}

.mobile-menu-btn {
  display: block;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 70px; left: 0; width: 100%;
  background-color: var(--bg-secondary);
  z-index: 40;
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(184, 150, 78, 0.3);
  display: none;
}
.mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
}

.hero-left {
  background-color: var(--bg-secondary);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 5rem 1.5rem;
  z-index: 10;
}
@media (min-width: 768px) {
  .hero-left { padding: 5rem 4rem; }
}
@media (min-width: 1024px) {
  .hero-left { padding-top: 7rem; padding-bottom: 7rem; }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  max-width: 28rem;
}
@media (min-width: 768px) {
  .hero-desc { font-size: 1rem; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(184, 150, 78, 0.3);
  padding-top: 2rem;
}
.stat-val {
  font-size: 1.875rem;
  color: var(--gold-light);
  display: block;
}
.stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0.25rem;
}

.hero-mask {
  display: none;
  position: absolute;
  top: 0; right: 0;
  width: 6rem;
  height: 100%;
  background-color: var(--bg-secondary);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 5;
}
@media (min-width: 1024px) {
  .hero-mask { display: block; }
}

.hero-right {
  position: relative;
  height: 70vh;
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
  filter: contrast(1.1) brightness(0.8);
}
@media (min-width: 1024px) {
  .hero-right { height: auto; }
}

.hero-gradient-x {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.hero-gradient-y {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-caption {
  position: absolute;
  bottom: 2.5rem;
  right: 1.5rem;
  text-align: right;
  z-index: 20;
}
@media (min-width: 768px) {
  .hero-caption { right: 4rem; }
}

/* ================= SECTION LAYOUTS ================= */
.section {
  padding: 6rem 1.5rem;
}
@media (min-width: 768px) {
  .section { padding: 6rem 4rem; }
}
.bg-secondary { background-color: var(--bg-secondary); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-title-large {
  font-size: 2.25rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .section-title-large { font-size: 3rem; }
}

/* ================= SERVICES ================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background-color: rgba(184, 150, 78, 0.2);
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background-color: var(--bg-secondary);
  padding: 2rem;
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
}
.service-card:hover {
  background-color: #2A241E;
  border-color: var(--gold-primary);
  transform: translateY(-4px);
}
.service-num {
  font-size: 3rem;
  color: rgba(184, 150, 78, 0.2);
  display: block;
  margin-bottom: 1.25rem;
}
.service-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* ================= PROCESS ================= */
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.process-num {
  font-size: 1.875rem;
  color: rgba(184, 150, 78, 0.5);
}

/* ================= TESTIMONIALS ================= */
.testimonial-card {
  background-color: var(--bg-primary);
  padding: 2rem;
  position: relative;
}
.quote-mark {
  font-size: 6rem;
  color: rgba(184, 150, 78, 0.1);
  position: absolute;
  top: 0; left: 1rem;
  line-height: 1;
}

/* ================= INSIGHTS / BLOG ================= */
.insight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .insight-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.insight-featured-card {
  background-color: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.insight-featured-img {
  height: 16rem;
  background-size: cover;
  background-position: center;
}
.insight-featured-content {
  padding: 2rem;
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insight-card {
  background-color: var(--bg-secondary);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.insight-card:hover {
  background-color: #2A241E;
  transform: translateY(-4px);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: var(--bg-secondary);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.blog-card-img {
  height: 13rem;
  background-size: cover;
  background-position: center;
}
.blog-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ================= CTA ================= */
.cta-section {
  background-color: var(--gold-primary);
  padding: 4rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .cta-section { padding: 4rem; }
}

/* ================= FORM ================= */
.form-input, .form-textarea, .form-select {
  width: 100%;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem;
  font-size: 0.875rem;
  color: white;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--gold-primary);
}
.form-select option {
  background-color: var(--bg-secondary);
  color: white;
}
.form-label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}
@media (min-width: 768px) {
  .footer { padding: 2.5rem 4rem; }
}

/* ================= BLOG SPECIFIC STYLES ================= */
.blog-body {
  background-color: var(--white);
  color: var(--black);
}

.blog-header {
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  padding: 4rem 1rem;
}

.blog-search-bar {
  background-color: var(--black);
  border-bottom: 4px solid var(--blog-gold);
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1.5rem 1rem;
}
.search-input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--blog-gold);
  border-radius: 0.5rem;
  background-color: var(--gray-800);
  color: white;
  outline: none;
}
.luxury-btn {
  background-color: var(--blog-gold);
  color: var(--black);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.luxury-btn:hover {
  background-color: #B8956A;
  transform: translateY(-2px);
}

.blog-card-light {
  background-color: var(--white);
  border: 2px solid var(--blog-gold);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.4s;
}
.blog-card-light:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(201, 169, 110, 0.15);
}

/* ================= ADMIN SPECIFIC STYLES ================= */
.admin-body {
  background: linear-gradient(to bottom right, var(--admin-bg-start), var(--admin-bg-end));
  min-height: 100vh;
}
.admin-header {
  background: linear-gradient(to right, var(--emerald-600), var(--teal-600));
  color: white;
  padding: 2rem;
}
.admin-card {
  background-color: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.admin-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 0.75rem;
  background-color: #f9fafb;
  outline: none;
  transition: border-color 0.3s;
}
.admin-input:focus {
  border-color: var(--emerald-600);
}
.admin-btn {
  width: 100%;
  background: linear-gradient(to right, var(--emerald-600), var(--teal-600));
  color: white;
  font-weight: bold;
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.admin-btn:hover {
  transform: scale(1.02);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow-y: auto;
}
