@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
}

.container {
  width: 100%;
  max-width: var(--shell-container);
  margin-right: auto;
  margin-left: auto;
  padding: 0 24px;
}

section {
  padding: var(--space-section) 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--type-section);
  color: var(--color-ultraviolet);
  line-height: 1.12;
}

.section-subtitle,
.section-text {
  font-size: var(--type-body);
  line-height: 1.75;
  color: #61596f;
}

body > header {
  padding: 12px 0;
  background-color: rgba(248, 244, 239, 0.97);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 83, 148, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo .logo-text {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.logo-flow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2em;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #d4af37;
}

.logo-text sup {
  font-size: 0.35em;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.95;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 32px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
  font-family: var(--font-sans);
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-ultraviolet));
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.nav-link:hover {
  color: var(--color-ultraviolet);
}

.nav-link:hover:after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-ultraviolet), #7b68c9);
  color: #fff !important;
  padding: 11px 26px !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(100, 83, 148, 0.25);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-left: 10px;
  display: inline-block;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--color-gold), #e6c158);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
  color: var(--color-dark) !important;
}

.nav-cta::after,
.nav-home-icon::after {
  display: none !important;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--color-ultraviolet);
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(100, 83, 148, 0.1);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
  backdrop-filter: blur(3px);
}

.menu-overlay.active {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-beige);
  padding: 100px 30px 40px;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(100, 83, 148, 0.1);
}

.mobile-menu .nav-cta {
  margin: 20px 0 0;
  display: inline-block;
  text-align: center;
}

.nav-has-dropdown {
  position: relative;
}

.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(100, 83, 148, 0.12);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s ease;
  z-index: 200;
}

.nav-has-dropdown:hover .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-sub-link {
  display: block;
  padding: 10px 14px;
  color: #2f2940 !important;
  font-size: 0.91rem;
  font-weight: 600;
  border-radius: 9px;
  transition: background 0.15s;
  text-decoration: none;
}

.nav-sub-link:hover {
  background: rgba(100, 83, 148, 0.08);
  color: #645394 !important;
}

.nav-chevron {
  font-size: 0.63em;
  margin-left: 3px;
  transition: transform 0.2s;
  vertical-align: middle;
  opacity: 0.6;
}

.nav-has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

footer {
  background: linear-gradient(135deg, #3a2a5a 0%, #2a1e40 100%);
  color: white;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #d4af37, #645394, #d4af37);
  background-size: 200% 100%;
  animation: footer-shimmer 4s linear infinite;
}

@keyframes footer-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}

.footer-brand,
.footer-col {
  display: flex;
  flex-direction: column;
  align-self: start;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-col h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #d4af37;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.footer-links li > i,
.footer-links a > i {
  width: 18px;
  min-width: 18px;
  margin-top: 0.18rem;
  color: #d4af37;
  opacity: 0.82;
  font-size: 0.82rem;
  text-align: center;
  flex-shrink: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.45;
}

.footer-links a:hover {
  color: #d4af37;
}

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #d4af37;
  color: #2f2940;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
  text-align: center;
}

.footer-bottom a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

@media (max-width: 1100px) {
  .nav-has-dropdown:hover .nav-sub,
  .nav-has-dropdown:focus-within .nav-sub {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
