/* ==========================================
   WEDDING EVENT RSVP - COLOR CONSTANTS CSS
   CURRENT SCHEME: Style 4 - Burgundy & Gold
   =========================================== */

:root {
  /* Primary Colors - Metallic Gold */
  --primary-gold: #CFB53B;
  --warm-gold: #CFB53B;
  --metallic-gold: #CFB53B;
  --light-gold: #E0C955;
  --dark-gold: #B09A28;

  /* Secondary Burgundy */
  --burgundy: #800020;
  --deep-burgundy: #800020;
  --deep-bronze: #800020;
  --deep-navy: #800020;
  --warm-taupe: #800020;
  --dusty-rose: #800020;
  --light-burgundy: #9A0027;
  --dark-burgundy: #660019;

  /* Accent Beige */
  --beige: #F5E6D3;
  --champagne-gold: #F5E6D3;
  --cream: #F5E6D3;
  --ivory: #FBF3E8;
  --light-cream: #FFFFFF;
  --soft-beige: #F5E6D3;

  /* Background Colors */
  --off-white: #FFFFFF;
  --background-white: #FFFFFF;

  /* Text Colors */
  --charcoal: #3D3D3D;
  --text-dark: #3D3D3D;

  /* Legacy colors for compatibility */
  --rich-black: #2D2D2D;
  --soft-black: #3D3D3D;
  --warm-gray: #5A5A5A;
  --light-gray: #D3D3D3;
  --bright-amber: #E0C955;
  --light-blush: #9A0027;

  /* Accent Colors */
  --sage-green: #9CAF88;
  --soft-lavender: #C4A0A0;

  /* Fonts */
  --font-display: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;
  --font-accent: "Cormorant", serif;
}

/* ==========================================
   GLOBAL STYLES
   =========================================== */

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

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #FFFFFF 0%, var(--beige) 50%, #FBF3E8 100%);
  background-attachment: fixed;
  color: var(--charcoal);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Arabic Calligraphy Background Animation - Removed */

@keyframes floatCalligraphy1 {
  0%, 100% {
    transform: translate(0, 0) rotate(-3deg);
    opacity: 0.08;
  }
  25% {
    transform: translate(30px, -40px) rotate(2deg);
    opacity: 0.12;
  }
  50% {
    transform: translate(50px, -20px) rotate(5deg);
    opacity: 0.10;
  }
  75% {
    transform: translate(20px, 20px) rotate(0deg);
    opacity: 0.09;
  }
}

@keyframes floatCalligraphy2 {
  0%, 100% {
    transform: translate(0, 0) rotate(3deg);
    opacity: 0.07;
  }
  30% {
    transform: translate(-35px, 30px) rotate(-2deg);
    opacity: 0.11;
  }
  60% {
    transform: translate(-20px, -25px) rotate(-5deg);
    opacity: 0.09;
  }
  90% {
    transform: translate(-40px, 10px) rotate(0deg);
    opacity: 0.08;
  }
}

@keyframes floatCalligraphy3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
    opacity: 0.06;
  }
  33% {
    transform: translate(25px, -30px) rotate(3deg) scale(1.05);
    opacity: 0.10;
  }
  66% {
    transform: translate(-20px, 25px) rotate(-3deg) scale(0.98);
    opacity: 0.08;
  }
}

@keyframes floatCalligraphy4 {
  0%, 100% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
    opacity: 0.07;
  }
  40% {
    transform: translate(-30px, -20px) rotate(2deg) scale(1.03);
    opacity: 0.11;
  }
  80% {
    transform: translate(25px, 30px) rotate(-4deg) scale(0.97);
    opacity: 0.09;
  }
}

@keyframes floatCalligraphy5 {
  0%, 100% {
    transform: translate(0, 0) rotate(4deg) scale(1);
    opacity: 0.06;
  }
  50% {
    transform: translate(20px, 35px) rotate(-3deg) scale(1.04);
    opacity: 0.10;
  }
}

/* ==========================================
   TYPOGRAPHY
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--burgundy);
  font-weight: 600;
}

h1 {
  font-size: 3em;
  color: var(--warm-gold);
  margin-bottom: 10px;
  text-shadow: none;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

p {
  color: var(--charcoal);
  font-size: 1em;
}

/* ==========================================
   BUTTONS & INTERACTIVE ELEMENTS
   =========================================== */

button {
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 12px 24px;
  font-size: 1em;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(128, 0, 32, 0.35);
}

button:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--warm-gold), var(--dark-gold));
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--bright-amber), var(--warm-gold));
}

.btn-attending {
  background: var(--sage-green);
  color: white;
}

.btn-attending:hover {
  background: #8a9a72;
}

.btn-maybe {
  background: var(--light-burgundy);
  color: white;
}

.btn-maybe:hover {
  background: var(--burgundy);
}

.btn-not-attending {
  background: #e0e0e0;
  color: var(--charcoal);
}

.btn-not-attending:hover {
  background: #d0d0d0;
}

.btn-change-rsvp {
  background: linear-gradient(135deg, var(--burgundy), var(--dark-burgundy));
  color: white;
  border: 2px solid var(--warm-gold);
}

.btn-change-rsvp:hover {
  background: linear-gradient(135deg, var(--light-burgundy), var(--burgundy));
  border-color: var(--bright-amber);
}

/* ==========================================
   CARDS & CONTAINERS
   =========================================== */

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(128, 0, 32, 0.15);
  border: 2px solid var(--metallic-gold);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
  max-width: 1200px;
}

@media (min-width: 769px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 400px));
    justify-content: start;
  }
}

/* ==========================================
   DECORATIVE ELEMENTS
   =========================================== */

.decorative-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--metallic-gold), transparent);
  margin: 20px auto;
}

.decorative-line-left {
  margin-left: 0;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--metallic-gold), var(--bright-amber));
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 10px;
}

/* ==========================================
   HEADER
   =========================================== */

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  border-bottom: 3px solid var(--burgundy);
  text-align: center;
  box-shadow: 0 4px 20px rgba(128, 0, 32, 0.25);
  position: relative;
  z-index: 1;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/zf-header-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  z-index: -1;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.header-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(128, 0, 32, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid var(--burgundy);
}

.header-logo:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 50px rgba(207, 181, 59, 0.4);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 2.5em;
  color: var(--warm-gold);
  font-weight: 700;
  margin-bottom: 5px;
}

.tagline {
  font-size: 0.9em;
  color: var(--burgundy);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: none;
}

/* Bismillah Styling */
.bismillah-container {
  margin: 20px auto 15px;
  text-align: center;
  max-width: 600px;
}

.bismillah-arabic {
  font-family: "Traditional Arabic", "Arabic Typesetting", "Scheherazade New", serif;
  font-size: 1.8em;
  color: var(--warm-gold);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 2px;
  direction: rtl;
}

.bismillah-english {
  font-family: var(--font-accent);
  font-size: 0.95em;
  color: var(--burgundy);
  font-style: italic;
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* ==========================================
   CONTENT SECTIONS
   =========================================== */

.event-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px;
  border: 2px solid var(--burgundy);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.event-card:hover {
  box-shadow: 0 8px 25px rgba(128, 0, 32, 0.25);
  transform: translateY(-4px);
}

.event-title {
  color: var(--warm-gold);
  font-size: 1.5em;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.event-meta-item {
  display: flex;
  align-items: center;
  color: var(--charcoal);
}

.event-meta-label {
  font-weight: 600;
  color: var(--burgundy);
  margin-right: 8px;
  min-width: 70px;
}

.event-description {
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 0.95em;
}

.rsvp-buttons {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.rsvp-buttons button {
  flex: 1;
  min-width: 120px;
  padding: 10px 15px;
  font-size: 0.9em;
}

/* ==========================================
   RSVP STATUS BADGE
   =========================================== */

.rsvp-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
  margin-top: 10px;
}

.rsvp-status.attending {
  background: rgba(156, 175, 136, 0.2);
  color: var(--sage-green);
  border: 1px solid var(--sage-green);
}

.rsvp-status.maybe {
  background: rgba(230, 215, 230, 0.4);
  color: var(--deep-burgundy);
  border: 1px solid var(--soft-lavender);
}

.rsvp-status.not-attending {
  background: rgba(200, 200, 200, 0.3);
  color: var(--charcoal);
  border: 1px solid #999;
}

.rsvp-status.no-response {
  background: rgba(212, 175, 55, 0.1);
  color: var(--metallic-gold);
  border: 1px solid var(--metallic-gold);
}

/* ==========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  .container {
    padding: 20px 15px;
  }

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

  .rsvp-buttons {
    flex-direction: column;
  }

  .rsvp-buttons button {
    width: 100%;
  }

  .header-logo {
    max-width: 280px;
  }

  .bismillah-arabic {
    font-size: 1.4em;
  }

  .bismillah-english {
    font-size: 0.85em;
  }
}

/* ==========================================
   UTILITY CLASSES
   =========================================== */

.text-center {
  text-align: center;
}

.text-warm-gold {
  color: var(--warm-gold);
}

.text-deep-bronze {
  color: var(--deep-bronze);
}

.text-sage-green {
  color: var(--sage-green);
}

.text-gold {
  color: var(--metallic-gold);
}

.bg-champagne-gold {
  background-color: var(--champagne-gold);
}

.bg-ivory {
  background-color: var(--ivory);
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.padding-20 {
  padding: 20px;
}