/* assets/css/style.css */
:root {
  --color-black: #0a0a0a;
  --color-gold: #d4af37;
  --color-white: #ffffff;
  --color-rainbow-1: #ff5f6d; /* subtle rose */
  --color-rainbow-2: #ffc371; /* amber */
  --color-rainbow-3: #9be15d; /* lime */
  --color-rainbow-4: #00c9ff; /* cyan */
  --color-rainbow-5: #ff6ec7; /* pink */
}

html {
  font-family: 'Inter', sans-serif;
  background: var(--color-black);
  color: var(--color-white);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.6;
}

/* Dark‑mode toggle (default is dark) */
html.dark {
  --bg-primary: var(--color-black);
  --bg-secondary: #1a1a1a;
}
html:not(.dark) {
  --bg-primary: var(--color-white);
  --bg-secondary: #f2f2f2;
  color: var(--color-black);
}

.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}
.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1rem;
  justify-content: center;
}
.nav a {
  color: var(--color-white);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 600;
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--color-gold);
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.8));
  color: var(--color-white);
  text-align: center;
}
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.countdown {
  display: flex;
  gap: 1rem;
  font-size: 2rem;
  font-weight: 700;
}
.countdown div {
  background: var(--color-gold);
  color: var(--color-black);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  min-width: 70px;
  text-align: center;
}

.section {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section-header p {
  color: #ccc;
  font-size: 1.1rem;
}

/* Queen Section */
.queen-container {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .queen-container {
    flex-direction: row;
    align-items: center;
  }
}
.queen-image {
  flex: 1;
}
.queen-image img {
  width: 100%;
  height: auto;
  display: block;
}
.queen-info {
  flex: 1;
  padding: 2rem;
}
.queen-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.queen-title {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.queen-bio {
  color: #ddd;
  line-height: 1.8;
}

/* Candidates Grid */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.candidate-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.candidate-img-wrapper {
  overflow: hidden;
  height: 350px;
}
.candidate-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.candidate-card:hover .candidate-img-wrapper img {
  transform: scale(1.1);
}
.candidate-info {
  padding: 1.5rem;
}
.candidate-info h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.candidate-info p {
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary {
  background: linear-gradient(45deg, var(--color-gold), #ffdf70);
  color: var(--color-black);
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 15px var(--color-gold);
  transform: translateY(-2px);
}

.site-footer {
  background: var(--color-black);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Premium hover effects */
.card { 
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-overlay h1 { font-size: 2rem; }
  .countdown { font-size: 1.5rem; }
}
