/* RAVE MUN - Premium Timeline Page CSS */

:root {
  --primary-black: #0a0a0a;
  --deep-black: #000000;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --light-gray: #3a3a3a;
  --silver: #c0c0c0;
  --light-silver: #e0e0e0;
  --premium-gold: #B66878;
  --premium-blue: #1e3a8a;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --glass-bg: rgba(26, 26, 26, 0.85);
  --glass-border: rgba(192, 192, 192, 0.3);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--primary-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  /* cursor: none only on desktop - see style.css media query */
  padding-top: 140px;
  /* Prevent fixed navbar overlap */
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--light-silver);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Prevent horizontal overflow */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Custom Cursor */
.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

/* Navigation handled by public/css/navbar.css */

/* Hero Section */
.hero-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('/images/backgroumd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  margin-top: -60px;
}

.hero-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--premium-gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title .accent-text {
  color: var(--premium-gold);
  position: relative;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}



/* Timeline Section */
.timeline-section {
  padding: 8rem 0;
  background: var(--dark-gray);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--premium-gold);
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  flex-direction: row-reverse;
}

/* Ensure timeline items don't overflow */
.timeline-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex: 1;
  min-width: 0;
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--medium-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--premium-gold);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
  background: var(--premium-gold);
  color: var(--primary-black);
  transform: scale(1.1);
}

.timeline-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--silver);
}

.timeline-text p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--premium-gold);
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  background: rgba(182, 104, 120, 0.1);
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.3rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Dates Section */
.dates-section {
  padding: 8rem 0;
  background: var(--primary-black);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.date-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.date-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--premium-gold);
}

.date-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.date-icon {
  width: 50px;
  height: 50px;
  background: var(--medium-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--premium-gold);
  transition: all 0.3s ease;
}

.date-card:hover .date-icon {
  background: var(--premium-gold);
  color: var(--primary-black);
}

.date-header h3 {
  font-size: 1.2rem;
  margin: 0;
}

.date-content .date-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--premium-gold);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.date-content p {
  color: var(--text-secondary);
  margin: 0;
}

/* Process Section */
.process-section {
  padding: 8rem 0;
  background: var(--dark-gray);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.process-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--premium-gold);
}

.process-step {
  width: 50px;
  height: 50px;
  background: var(--medium-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--premium-gold);
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.process-card:hover .process-step {
  background: var(--premium-gold);
  color: var(--primary-black);
}

.process-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.process-card p {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.cta-content h2 .accent {
  color: var(--premium-gold);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--premium-gold);
  color: var(--primary-black);
  box-shadow: 0 10px 25px rgba(182, 104, 120, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(182, 104, 120, 0.5);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}

/* Footer responsiveness handled by navbar.css */

/* Responsive Design */
/* Tablet and below */
@media (max-width: 1024px) {
  .container {
    width: 92%;
    padding: 0 1.5rem;
  }

  .timeline-container {
    max-width: 700px;
  }

  .dates-grid,
  .process-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* Mobile and Tablet */
@media (max-width: 768px) {
  /* Navbar responsiveness handled by public/css/navbar.css */

  body {
    padding-top: 100px;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding: 0 1.5rem;
    max-width: 100%;
  }

  .hero-section {
    min-height: 50vh;
    padding: 80px 0 50px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
  }

  .hero-content {
    padding: 0 1rem;
    margin-top: 0;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0;
    margin-bottom: 1.5rem;
  }

  .timeline-section {
    padding: 4rem 0;
  }

  .timeline-container {
    max-width: 100%;
    padding: 0 1rem;
    position: relative;
  }

  .timeline-container::before {
    display: none;
  }

  .timeline-item {
    margin-bottom: 2.5rem;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    flex-direction: row;
  }

  .timeline-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 65px;
    position: relative;
  }

  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 0;
    z-index: 2;
  }

  .timeline-text {
    flex: 1;
    min-width: 0;
    width: 100%;
    padding-left: 0;
  }

  .timeline-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .timeline-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    word-wrap: break-word;
  }

  .timeline-date {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.4rem;
    display: inline-block;
    width: auto;
    max-width: 100%;
    word-break: break-word;
    white-space: normal;
  }

  .dates-section {
    padding: 4rem 0;
  }

  .dates-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .date-card {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .date-header {
    margin-bottom: 1rem;
    flex-wrap: wrap;
  }

  .date-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .date-header h3 {
    font-size: 1.1rem;
    flex: 1;
    min-width: 0;
  }

  .date-content .date-value {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    word-break: break-word;
  }

  .date-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .process-section {
    padding: 4rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .process-card {
    padding: 1.8rem 1.5rem;
    border-radius: 12px;
  }

  .process-step {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .process-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .process-card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
    padding: 0 1rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-content {
    padding: 0 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
  }

  .cta-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  body {
    padding-top: 90px;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
    max-width: 100%;
  }

  .hero-section {
    padding: 60px 0 40px;
    min-height: 40vh;
  }

  .hero-content {
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .timeline-section,
  .dates-section,
  .process-section {
    padding: 3rem 0;
  }

  .timeline-container {
    padding: 0 0.75rem;
  }

  .timeline-container::before {
    display: none;
  }

  .timeline-item {
    padding-left: 0 !important;
    margin-bottom: 2rem;
    position: relative;
  }

  .timeline-content {
    gap: 0.8rem;
    padding-left: 55px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    left: 0;
    position: absolute;
    z-index: 2;
    top: 0;
  }

  .timeline-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    word-wrap: break-word;
  }

  .timeline-text p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    word-wrap: break-word;
  }

  .timeline-date {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.3rem;
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .dates-grid,
  .process-grid {
    gap: 1.2rem;
    margin-top: 1.5rem;
  }

  .date-card,
  .process-card {
    padding: 1.3rem 1rem;
    border-radius: 10px;
  }

  .date-header {
    margin-bottom: 0.8rem;
  }

  .date-icon,
  .process-step {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .date-header h3 {
    font-size: 1rem;
  }

  .date-content .date-value {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .date-content p {
    font-size: 0.85rem;
  }

  .process-step {
    margin-bottom: 1rem;
  }

  .process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .process-card p {
    font-size: 0.85rem;
  }

  .section-header {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content {
    padding: 0 0.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .cta-content p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
  }

  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.85rem;
    width: auto;
    display: inline-block;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  body {
    padding-top: 85px;
  }

  .container {
    padding: 0 0.8rem;
  }

  .hero-section {
    padding: 50px 0 35px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .timeline-section,
  .dates-section,
  .process-section {
    padding: 2.5rem 0;
  }

  .timeline-container::before {
    display: none;
  }

  .timeline-item {
    padding-left: 0 !important;
    margin-bottom: 1.8rem;
    position: relative;
  }

  .timeline-content {
    margin-left: 0;
    padding-left: 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }

  .timeline-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    position: absolute;
    left: 0;
    z-index: 2;
    top: 0;
  }

  .timeline-text h3 {
    font-size: 1rem;
    word-wrap: break-word;
  }

  .timeline-text p {
    font-size: 0.8rem;
    word-wrap: break-word;
  }

  .timeline-date {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    display: inline-block;
    width: auto;
    max-width: 100%;
  }

  .date-card,
  .process-card {
    padding: 1.2rem 0.9rem;
  }

  .date-icon,
  .process-step {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .date-header h3 {
    font-size: 0.95rem;
  }

  .date-content .date-value {
    font-size: 1rem;
  }

  .date-content p {
    font-size: 0.8rem;
  }

  .process-card h3 {
    font-size: 1rem;
  }

  .process-card p {
    font-size: 0.8rem;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Premium Glow Effects */
.glow-effect {
  position: relative;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--premium-gold), var(--silver), var(--premium-gold));
  border-radius: inherit;
  z-index: -1;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.8;
  }
}