/* ===== ROOT VARIABLES & GLOBAL STYLES ===== */
:root {
  --astro-bg: #0a0a1a;
  --astro-purple: #a78bfa;
  --astro-gold: #e8c96a;
  --astro-purple-dark: #7c3aed;
  --astro-accent-glow: rgba(124, 58, 237, 0.3);

  /* Light theme overrides */
  --astro-bg-light: #faf8f4;
  --astro-text-light: #2a2018;
  --astro-text-mid-light: #6b5d4f;
  --astro-text-dim-light: #9a8e7f;
  --astro-card-light: #ffffff;
  --astro-card-border-light: rgba(201, 168, 76, 0.15);
  --astro-accent-light: #a07c2a;
  --astro-accent-glow-light: rgba(201, 168, 76, 0.2);
  --astro-input-bg-light: #ffffff;
  --astro-input-border-light: rgba(201, 168, 76, 0.15);
  --astro-nav-bg-light: rgba(250, 248, 244, 0.9);
}

body.astro-theme-light {
  --astro-bg: #faf8f4;
  --astro-purple: #a07c2a;
  --astro-gold: #c9a84c;
  --astro-accent-glow: rgba(201, 168, 76, 0.2);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--astro-bg);
  color: #ffffff;
  transition: background 0.5s;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body.astro-theme-light {
  color: #2a2018;
}

/* ===== HEADER ===== */
.astro-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.5s;
  font-family: 'Inter', sans-serif;
}

body.astro-theme-light .astro-header {
  background: rgba(250, 248, 244, 0.9);
  border-bottom-color: rgba(201, 168, 76, 0.08);
}

.astro-logo {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 3px;
  color: #ffffff;
  cursor: pointer;
}

body.astro-theme-light .astro-logo {
  color: #2a2018;
}

/* Desktop Navigation */
.astro-nav-desktop {
  display: flex;
  gap: 20px;
  align-items: center;
}

.astro-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
}

body.astro-theme-light .astro-nav-links {
  color: #2a2018;
}

.astro-nav-item {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.astro-nav-item:hover {
  opacity: 1;
}

/* Mobile Navigation */
.astro-nav-mobile {
  display: none;
  gap: 12px;
  align-items: center;
}

/* Theme Toggle */
.astro-theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  transition: all 0.3s;
}

body.astro-theme-light .astro-theme-toggle {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.2);
}

.astro-theme-toggle:hover {
  transform: scale(1.05);
}

/* Primary Button */
.astro-btn-primary {
  padding: 9px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

body.astro-theme-light .astro-btn-primary {
  background: linear-gradient(135deg, #a07c2a, #c9a84c, #a07c2a);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.astro-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
}

body.astro-theme-light .astro-btn-primary:hover {
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
}

/* Hamburger Menu */
.astro-menu-toggle {
  width: 34px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.astro-hamburger-line {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s;
}

body.astro-theme-light .astro-hamburger-line {
  background: #2a2018;
}

.astro-menu-toggle.active .astro-line-1 {
  transform: rotate(45deg) translateY(3.5px);
}

.astro-menu-toggle.active .astro-line-2 {
  opacity: 0;
}

.astro-menu-toggle.active .astro-line-3 {
  transform: rotate(-45deg) translateY(-3.5px);
}

/* ===== MOBILE MENU ===== */
.astro-mobile-menu {
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  animation: fadeUp 0.3s ease-out;
}

body.astro-theme-light .astro-mobile-menu {
  background: rgba(250, 248, 244, 0.97);
}

.astro-mobile-menu.active {
  display: flex;
}

.astro-mobile-menu-item {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 2px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

body.astro-theme-light .astro-mobile-menu-item {
  color: #2a2018;
}

.astro-mobile-menu-item:hover {
  opacity: 1;
}

.astro-mobile-cta {
  margin-top: 12px;
  padding: 14px 40px;
  font-size: 14px;
}

/* ===== HERO SECTION ===== */
.astro-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 48px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(100, 80, 200, 0.12) 0%, transparent 60%), #0a0a1a;
  transition: all 0.5s;
}

body.astro-theme-light .astro-hero {
  background: linear-gradient(170deg, #ffffff, #faf8f4, #f0e6d0);
}

.astro-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.astro-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 52px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

body.astro-theme-light .astro-hero-title {
  color: #2a2018;
}

.astro-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

body.astro-theme-light .astro-hero-subtitle {
  color: #6b5d4f;
}

/* ===== CONTACT MAIN SECTION ===== */
.astro-contact-main {
  padding: 60px 48px;
  max-width: 1000px;
  margin: 0 auto;
  transition: all 0.5s;
}

.astro-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  animation: fadeUp 0.6s ease-out both;
}

.astro-form-wrapper {
  animation: slideInLeft 0.7s ease-out both;
}

.astro-section-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 32px;
  line-height: 1.3;
}

body.astro-theme-light .astro-section-title {
  color: #2a2018;
}

/* Form Styles */
.astro-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.astro-form-group {
  display: flex;
  flex-direction: column;
}

.astro-form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a78bfa;
  display: block;
  margin-bottom: 8px;
}

body.astro-theme-light .astro-form-label {
  color: #a07c2a;
}

.astro-form-input,
.astro-form-select,
.astro-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #ffffff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  outline: none;
}

body.astro-theme-light .astro-form-input,
body.astro-theme-light .astro-form-select,
body.astro-theme-light .astro-form-textarea {
  background: #ffffff;
  border-color: rgba(201, 168, 76, 0.15);
  color: #2a2018;
}

.astro-form-input::placeholder,
.astro-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.astro-theme-light .astro-form-input::placeholder,
body.astro-theme-light .astro-form-textarea::placeholder {
  color: rgba(107, 93, 79, 0.5);
}

.astro-form-input:focus,
.astro-form-select:focus,
.astro-form-textarea:focus {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

body.astro-theme-light .astro-form-input:focus,
body.astro-theme-light .astro-form-select:focus,
body.astro-theme-light .astro-form-textarea:focus {
  border-color: rgba(201, 168, 76, 0.4);
  background: #f9f7f3;
}

.astro-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a78bfa' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

body.astro-theme-light .astro-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a07c2a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.astro-form-textarea {
  resize: vertical;
}

.astro-form-submit {
  margin-top: 12px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Contact Cards Container */
.astro-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInRight 0.7s ease-out both;
}

/* ===== CARDS ===== */
.astro-card {
  padding: 28px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s;
}

body.astro-theme-light .astro-card {
  background: #ffffff;
  border-color: rgba(201, 168, 76, 0.15);
}

.astro-card-basic {
  text-align: center;
}

body.astro-theme-light .astro-card-basic {
  text-align: center;
}

.astro-card-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.astro-card-title {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 8px;
}

body.astro-theme-light .astro-card-title {
  color: #2a2018;
}

.astro-card-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

body.astro-theme-light .astro-card-text {
  color: #6b5d4f;
}

.astro-card-accent {
  color: #a78bfa;
  font-weight: 600;
  letter-spacing: 0.3px;
}

body.astro-theme-light .astro-card-accent {
  color: #a07c2a;
}

.astro-card-link {
  font-size: 13px;
  color: #a78bfa;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #a78bfa;
  transition: all 0.2s;
}

body.astro-theme-light .astro-card-link {
  color: #a07c2a;
  border-bottom-color: #a07c2a;
}

.astro-card-link:hover {
  opacity: 0.8;
}

/* Gradient Cards */
.astro-card-gradient {
  padding: 32px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(232, 201, 106, 0.04) 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

body.astro-theme-light .astro-card-gradient {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, rgba(201, 168, 76, 0.02) 100%);
  border-color: rgba(201, 168, 76, 0.1);
}

.astro-card-hover {
  text-align: center;
  cursor: pointer;
}

.astro-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

body.astro-theme-light .astro-card-hover:hover {
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.1);
}

.astro-card-gradient .astro-card-icon {
  font-size: 32px;
}

.astro-card-gradient .astro-card-title {
  font-size: 18px;
}

/* ===== INFO CARDS SECTION ===== */
.astro-info-cards {
  padding: 60px 48px;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease-out both;
}

.astro-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

/* ===== SOCIAL LINKS ===== */
.astro-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.astro-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s;
  cursor: pointer;
  color: #1877f2;
  text-decoration: none;
}

body.astro-theme-light .astro-social-icon {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(0, 0, 0, 0.06);
}

.astro-social-icon:nth-child(2) {
  color: #e4405f;
}

.astro-social-icon:nth-child(3) {
  color: #26a5e4;
}

.astro-social-icon:nth-child(4) {
  color: #e8e8e8;
}

body.astro-theme-light .astro-social-icon:nth-child(4) {
  color: #000000;
}

.astro-social-icon:hover {
  transform: scale(1.1);
}

/* ===== BOTTOM CTA SECTION ===== */
.astro-bottom-cta {
  padding: 60px 48px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 1s ease-out both;
}

.astro-cta-box {
  padding: 44px 36px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(232, 201, 106, 0.04) 100%);
  border: 1px solid rgba(124, 58, 237, 0.15);
  position: relative;
  overflow: hidden;
}

body.astro-theme-light .astro-cta-box {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06) 0%, rgba(201, 168, 76, 0.02) 100%);
  border-color: rgba(201, 168, 76, 0.1);
}

.astro-cta-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 60%);
}

body.astro-theme-light .astro-cta-glow {
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
}

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

.astro-cta-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

body.astro-theme-light .astro-cta-text {
  color: #6b5d4f;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-24px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(24px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== RESPONSIVE: 768px BREAKPOINT ===== */
@media (max-width: 768px) {
  .astro-header {
    padding: 12px 20px;
  }

  .astro-logo {
    font-size: 14px;
  }

  .astro-nav-desktop {
    display: none;
  }

  .astro-nav-mobile {
    display: flex;
  }

  .astro-hero {
    padding: 50px 20px 40px;
  }

  .astro-hero-title {
    font-size: 36px;
  }

  .astro-contact-main {
    padding: 40px 20px;
  }

  .astro-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 60px;
  }

  .astro-form-wrapper {
    animation: none;
  }

  .astro-section-title {
    text-align: center;
  }

  .astro-contact-cards {
    animation: none;
  }

  .astro-card-basic {
    text-align: center;
  }

  .astro-info-cards {
    padding: 40px 20px;
  }

  .astro-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .astro-bottom-cta {
    padding: 40px 20px;
  }

  .astro-cta-box {
    padding: 32px 24px;
  }

  .astro-btn-primary {
    padding: 12px 28px;
    font-size: 13px;
  }

  .astro-mobile-cta {
    padding: 14px 40px;
    font-size: 14px;
  }
}
