/* Base CSS Reset & Configuration */
:root {
  --saffron: #FF9933;
  --golden-yellow: #FFD700;
  --cream: #FFFDD0;
  --deep-blue: #000080;
  --text-dark: #333333;
  --text-light: #fefefe;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Inter', sans-serif;
  --transition-smooth: all 0.5s ease-in-out;
}

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

body {
  font-family: var(--font-secondary);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--deep-blue);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--saffron);
  transition: var(--transition-smooth);
}

a:hover {
  filter: brightness(1.2);
}

/* Typography styles */
.text-center { text-align: center; }
.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Common Layout Elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* Animations & Shapes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.shape-divider {
  width: 100%;
  height: 100px;
  background-size: cover;
  background-position: center;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--cream);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--deep-blue);
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--saffron);
}

/* Main Header/Hero */
.hero {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--text-light);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 128, 0.4); /* Deep blue overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.hero h1 {
  color: var(--golden-yellow);
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.5rem;
  font-weight: 300;
}

/* Footer */
footer {
  background-color: var(--deep-blue);
  color: var(--text-light);
  text-align: center;
  padding: 3rem 1rem;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Entry Page Specific */
.entry-body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('images/spiritual_background.png') no-repeat center center/cover;
}

.entry-card {
  background: rgba(255, 253, 208, 0.9);
  padding: 4rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.entry-card h1 {
  color: var(--deep-blue);
  margin-bottom: 2rem;
}

.entry-input {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--saffron);
  border-radius: 30px;
  outline: none;
  width: 300px;
  text-align: center;
  font-family: var(--font-secondary);
  transition: var(--transition-smooth);
}

.entry-input:focus {
  border-color: var(--golden-yellow);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.entry-button {
  margin-top: 1.5rem;
  padding: 1rem 2rem;
  background-color: var(--saffron);
  color: var(--text-light);
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: block;
  width: 100%;
}

.entry-button:hover {
  background-color: var(--golden-yellow);
  color: var(--deep-blue);
}

.error-message {
  color: #d9534f;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.error-message.show {
  opacity: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add mobile menu later if needed */
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
