.font-serif {
  font-family: "Crimson Text", serif;
}
.font-sans {
  font-family: "Inter", sans-serif;
}

:root {
  --vatican-blue: #4a90a4;
  --vatican-gold: #c9a96e;
  --vatican-cream: #f8f6f0;
  --vatican-gray: #6b7280;
  --vatican-dark-blue: #2c5f70;
}

/* Vatican Header */
.vatican-header {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.vatican-blue {
  color: var(--vatican-blue);
}
.vatican-gold {
  color: var(--vatican-gold);
}
.vatican-cream {
  background-color: var(--vatican-cream);
}

/* Navigation */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--vatican-gold);
  transition: width 0.3s ease;
}

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

/* Language Selector */
.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  min-width: 120px;
}

.language-dropdown.hidden {
  display: none;
}

.language-dropdown.show {
  display: block;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* Vatican Hero - FIXED */
.vatican-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.vatican-hero .swiper {
  min-height: 100vh;
  width: 100%;
}

.vatican-hero .swiper-slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  line-height: 0.9;
  font-family: "Crimson Text", serif;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #6b7280;
  font-family: "Crimson Text", serif;
  font-style: italic;
  line-height: 1.6;
  max-width: 32rem;
}

.hero-image {
  width: 24rem;
  height: 32rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .hero-image {
    width: 20rem;
    height: 28rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.125rem;
    text-align: center;
  }

  .hero-image {
    width: 18rem;
    height: 24rem;
    margin: 0 auto;
  }
}

/* Magisterium Button */
.btn-magisterium {
  background: linear-gradient(135deg, var(--vatican-gold), #b8941f);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 25px rgba(201, 169, 110, 0.3);
}

.btn-magisterium:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(201, 169, 110, 0.4);
}

/* Vatican Cards */
.vatican-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.vatican-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Calendar Events Vatican Style */
.calendar-event-vatican {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid var(--vatican-gold);
  margin-bottom: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.calendar-event-vatican:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Vatican Footer */
.vatican-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #cccccc;
}

.vatican-footer .footer-logo {
  border-right: 1px solid #333;
  padding-right: 2rem;
}

/* Swiper Customization */
.swiper-pagination {
  bottom: 40px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  border: 0.5px solid #6b7280;
}

.swiper-pagination-bullet-active {
  background: var(--vatican-gold);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .vatican-footer .footer-logo {
    border-right: none;
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

/* Smooth Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline styling */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--vatican-gold);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vatican-gold);
}

.pope-portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--vatican-gold);
  object-fit: cover;
}

.card-elegant {
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.card-elegant:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--vatican-gold);
}

.btn-vatican {
  background: linear-gradient(135deg, var(--vatican-gold), #b8941f);
  color: white;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-vatican:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 169, 110, 0.4);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--vatican-gold);
  margin: 0 auto 2rem;
}

.pope-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--vatican-gold);
  object-fit: cover;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--vatican-gold);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vatican-gold);
}

.calendar-event {
  border-left: 4px solid var(--vatican-gold);
  background: white;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0 8px 8px 0;
}
