@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #8B6914;
  --deep: #0D0A06;
  --dark: #1A1410;
  --mid: #2C2318;
  --cream: #F5EDD8;
  --cream-light: #FAF6EE;
  --text: #2C2318;
  --text-light: #6B5A3E;
  --border: rgba(201, 168, 76, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--deep);
  color: var(--cream);
  overflow-x: hidden;
}

/* ── ORNAMENT ── */
.ornament {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.5rem;
  margin: 1rem 0;
  opacity: 0.8;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 400px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.divider-diamond {
  color: var(--gold);
  font-size: 0.8rem;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(13,10,6,0.95), transparent);
  backdrop-filter: blur(4px);
}

.nav-crown {
  font-family: 'Cormorant', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('media/pexels-6726816.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,10,6,0.5) 0%,
    rgba(13,10,6,0.3) 40%,
    rgba(13,10,6,0.7) 80%,
    rgba(13,10,6,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1.5s ease 0.2s both;
}

.hero-title {
  font-family: 'Cormorant', serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 600;
  line-height: 1;
  color: var(--cream-light);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1.5s ease 0.4s both;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: 'Cormorant', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  letter-spacing: 0.1rem;
  animation: fadeInUp 1.5s ease 0.6s both;
}

.hero-crest {
  font-size: 3rem;
  animation: fadeInUp 1.5s ease 0.8s both;
  display: block;
  margin-bottom: 2rem;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  opacity: 0.6;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.scroll-hint span {
  font-size: 0.55rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
}

/* ── PORTRAIT SECTION ── */
.portrait-section {
  padding: 8rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.portrait-frame {
  position: relative;
}

.portrait-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold);
  opacity: 0.4;
  pointer-events: none;
}

.portrait-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold);
  opacity: 0.2;
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: sepia(15%) contrast(1.05);
}

.portrait-text {
  padding: 2rem 0;
}

.section-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: block;
}

.portrait-text h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream-light);
  margin-bottom: 1.5rem;
}

.portrait-text h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.portrait-text p {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

/* ── ROYAL DECREE SECTION ── */
.decree-section {
  background: linear-gradient(135deg, var(--mid) 0%, var(--dark) 100%);
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.decree-section::before {
  content: '♛';
  position: absolute;
  font-size: 30rem;
  color: var(--gold);
  opacity: 0.03;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.decree-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.decree-section h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 2rem;
}

.decree-text {
  font-family: 'Cormorant', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.85;
  border-left: 2px solid var(--gold);
  padding-left: 2rem;
  text-align: left;
  margin: 3rem 0;
}

.decree-seal {
  display: inline-block;
  width: 80px;
  height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
  margin: 2rem auto;
  position: relative;
}

.decree-seal::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

/* ── GALLERY ── */
.gallery-section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-section h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: sepia(10%) contrast(1.05);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: sepia(0%) contrast(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,10,6,0.7) 0%, transparent 60%);
  pointer-events: none;
}

/* ── PILLARS ── */
.pillars-section {
  background: var(--dark);
  padding: 8rem 2rem;
  text-align: center;
}

.pillars-section h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 5rem auto 0;
}

.pillar {
  padding: 3rem 2rem;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.4s;
}

.pillar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
}

.pillar:hover {
  border-color: rgba(201, 168, 76, 0.6);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-family: 'Cormorant', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--cream);
  opacity: 0.7;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact-section {
  padding: 8rem 2rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--deep), var(--dark));
}

.contact-section h2 {
  font-family: 'Cormorant', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-weight: 300;
}

.royal-btn {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.4s, color 0.4s;
  position: relative;
  overflow: hidden;
}

.royal-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.royal-btn:hover {
  color: var(--deep);
}

.royal-btn:hover::before {
  transform: scaleX(1);
}

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-crown {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--gold);
  opacity: 0.6;
}

.footer-name {
  font-family: 'Cormorant', serif;
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.3rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.65rem;
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.3s;
}

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

.footer-copy {
  font-size: 0.65rem;
  color: var(--cream);
  opacity: 0.3;
  letter-spacing: 0.1rem;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .portrait-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }

  .portrait-frame img {
    height: 400px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-item img {
    height: 280px;
  }
}
