/* ==========================================================
   LAFZIA — STYLE SHEET
   Where Silence Becomes Poetry
   ========================================================== */

/* ========== RESET & TYPOGRAPHY ========== */
body {
  font-family: 'Lora', serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

h1, h2, h3, .section-title {
  font-family: 'Playfair Display', serif;
}

/* ==========================================================
   🎞 HERO SLIDER (With Mobile Fix)
   ========================================================== */
#heroCarousel {
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

/* Images inside carousel */
#heroCarousel .carousel-item picture,
#heroCarousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  filter: brightness(78%);
  transition: transform 0.6s ease-in-out;
}

#heroCarousel .carousel-item.active img {
  transform: scale(1.03);
}

/* Dark overlay for readability */
#heroCarousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.15));
  z-index: 1;
}

/* Caption styling */
.carousel-caption {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.carousel-caption h2,
.carousel-caption p {
  color: #fff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

/* Hero Buttons */
.hero-btn {
  border-radius: 50px;
  padding: 12px 34px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

/* Carousel dots */
.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: #6b3e2e;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #8b523b;
}

/* ==========================================================
   📱 MOBILE-FRIENDLY HERO SLIDER FIX
   ========================================================== */
@media (max-width: 768px) {
  #heroCarousel .carousel-item img {
    height: 300px !important;
    object-fit: cover;
    background-color: #000;
  }

  .carousel-caption {
    bottom: 55px !important;
  }

  .hero-btn {
    font-size: 0.9rem !important;
    padding: 8px 20px !important;
  }

  .quote-line {
    font-size: 0.9rem !important;
    padding: 10px 0 !important;
  }
}

/* ==========================================================
   BUTTON THEMES (Lafzia Palette)
   ========================================================== */

/* Poetic Brown */
.btn-brown {
  background-color: #512f0b;
  color: #fff;
  border: 2px solid #6b3e2e;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-brown:hover {
  background-color: #8b523b;
  border-color: #8b523b;
  color: #fff;
  transform: translateY(-3px);
}

/* Cream Button for dark slides */
.btn-cream {
  background-color: #f5e6cc;
  color: #3a2c1f;
  border: 2px solid #f5e6cc;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.btn-cream:hover {
  background-color: #e2cda7;
  border-color: #e2cda7;
  color: #2a1d13;
  transform: translateY(-3px);
}

/* Outline variant for light backgrounds */
.btn-outline-brown {
  background-color: #fff;
  color: #6b3e2e;
  border: 2px solid #6b3e2e;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-outline-brown:hover {
  background-color: #6b3e2e;
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================
   🧡 QUOTE / TAGLINE STRIP
   ========================================================== */
.quote-line {
  background-color: #ff751f !important; /* Bright orange stripe */
  color: #fff !important;
  font-style: italic;
  position: relative;
  font-size: 1.1rem;
  text-align: center;
  padding: 12px 0;
  margin: 0;
  width: 100%;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: none !important;
}

.quote-line em {
  color: #fff !important;
  font-weight: 500;
}

/* ==========================================================
   🎨 HIGHLIGHTS SECTION
   ========================================================== */
.pattern-bg {
  background: linear-gradient(135deg, #fafafa 25%, #f0f0f0 100%);
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #6b3e2e;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.highlight-card {
  border: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ==========================================================
   📝 LATEST SUBMISSIONS
   ========================================================== */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
}

.card-footer {
  font-size: 0.9rem;
}

/* ==========================================================
   🌙 ABOUT / JOIN / NEWSLETTER
   ========================================================== */
.about-lafzia {
  background: #fffdfb;
}

.about-lafzia p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.newsletter {
  background: #f9f6f3;
  border-top: 1px solid #f0e8e2;
}

.newsletter input[type=email] {
  border-radius: 50px;
  padding: 10px 20px;
  border: 1px solid #ddd;
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter input[type=email]:focus {
  border-color: #6b3e2e;
}

.newsletter .btn-brown {
  border-radius: 50px;
  padding: 10px 25px;
}

/* ==========================================================
   ⚫ FOOTER
   ========================================================== */
footer {
  background: #1c1a19;
  color: #ddd;
  padding: 20px 0;
  text-align: center;
  margin-top: 50px;
}

footer a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #f5e6cc;
}

/* ==========================================================
   ✨ SMALL UTILITY REFINEMENTS
   ========================================================== */
[data-aos] {
  transition: all 0.8s ease;
}

.brand-section img {
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.brand-section p {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.8);
}
/* ==========================================================
   🌸 LAFZIA HEADER & NAVIGATION
   ========================================================== */
.lafzia-header {
  background: #faf6f3;
  border-bottom: 1px solid #e8dcd1;
  font-family: 'Playfair Display', serif;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.lafzia-header .logo {
  font-size: 1.8rem;
  color: #6b3e2e;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lafzia-header nav .nav-link {
  color: #6b3e2e;
  font-weight: 500;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s;
}

.lafzia-header nav .nav-link:hover {
  color: #a15c3f;
}

/* ==========================================================
   🌿 MAIN CONTENT AREA
   ========================================================== */
.lafzia-content {
  min-height: 70vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ==========================================================
   🌙 FOOTER
   ========================================================== */
.lafzia-footer {
  font-family: 'Lora', serif;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  background: #1a1a1a;
  color: #e8e8e8;
}

/* ==========================================================
   📱 RESPONSIVE DESIGN
   ========================================================== */
@media (max-width: 768px) {
  .lafzia-header .container {
    flex-direction: column;
    text-align: center;
  }
  .lafzia-header nav {
    margin-top: 10px;
  }
  .lafzia-header .btn {
    margin-top: 10px;
  }
  #heroCarousel .carousel-item img {
    height: 320px;
  }
}
/* =========================================
   Register Page Enhancements (Lafzia Theme)
   ========================================= */
.register-card input.form-control,
.register-card select.form-select {
  border: 1px solid #d7c7b5;
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.register-card input.form-control:focus,
.register-card select.form-select:focus {
  border-color: #6b3e2e;
  box-shadow: 0 0 6px rgba(107,62,46,0.2);
}

.register-section {
  background: linear-gradient(135deg, #fdfaf6, #f7eee5);
}

.btn-brown {
  background-color: #6b3e2e;
  color: #fff;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-brown:hover {
  background-color: #8b523b;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* =====================================================
   ✨ Register Page - Poetic Aesthetic Enhancements
   ===================================================== */

.register-section {
  min-height: 100vh;
  background: linear-gradient(145deg, #fdf8f3, #f6ede5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 15px;
}

.register-card {
  background: #fffaf7;
  border: 1px solid rgba(107, 62, 46, 0.1);
  box-shadow: 0 10px 30px rgba(107, 62, 46, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.register-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(107, 62, 46, 0.25);
}

.poetic-tagline {
  font-style: italic;
  color: #6b3e2e;
  font-size: 1rem;
  opacity: 0.85;
}

/* Input field aesthetics */
.register-card .form-control,
.register-card .form-select {
  border: 1px solid #d7c7b5;
  padding: 10px 18px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.register-card .form-control:focus,
.register-card .form-select:focus {
  border-color: #6b3e2e;
  box-shadow: 0 0 8px rgba(107,62,46,0.2);
}

/* Button */
.btn-brown {
  background-color: #6b3e2e;
  color: #fff;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
}

.btn-brown:hover {
  background-color: #8b523b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.join-lafzia {
    background: linear-gradient(135deg, #2d1f1f, #5a3e36, #7a5447);
    overflow: hidden;
}

/* Overlay for softness */
.join-lafzia .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15);
}

/* Typography */
.lafzia-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lafzia-title {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.lafzia-subtitle {
    font-family: 'Lora', serif;
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    margin: auto;
}

/* Button (Premium look) */
.lafzia-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    border: 1px solid #C89F7B;
    color: #C89F7B;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.lafzia-btn:hover {
    background: #C89F7B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,159,123,0.3);
}

/* Divider */
.divider {
    width: 60px;
    height: 1px;
    background: #C89F7B;
    margin: 0 auto;
}

/* Spacing */
.join-lafzia .container {
    max-width: 800px;
}
.quote-strip {
  background: linear-gradient(180deg, #1a1411, #221a15);
  padding: 5px 20px;
  text-align: center;
}


/* Soft glow divider */
.quote-strip::before {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, #C89F7B, transparent);
  margin: 0 auto 25px;
  opacity: 0.9;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-style: italic;
  color: #d6bfa9;   /* darker than before */
  letter-spacing: 0.6px;
  line-height: 1.8;
  max-width: 750px;
  margin: auto;

  /* subtle depth */
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
/* ✨ Slight hover life (optional but premium) */
.quote-strip:hover .quote-text {
  color: #f0dfcc;
  transition: 0.3s ease;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}
