/* Import premium Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --royal-blue: #0A2540;
  --royal-blue-light: #1A3E60;
  --gold: #D4AF37;
  --gold-dark: #AA8C2C;
  --gold-light: #F4E8C1;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --card-shadow: 0 10px 35px -5px rgba(10, 37, 64, 0.08), 0 8px 16px -6px rgba(10, 37, 64, 0.04);
  --input-border: #E2E8F0;
  --success-color: #10B981;
  --danger-color: #EF4444;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-dark);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.brand-font {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Custom premium buttons */
.btn-royal {
  background-color: var(--royal-blue);
  color: var(--white);
  border: 1px solid var(--royal-blue);
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
}

.btn-royal:hover, .btn-royal:focus {
  background-color: var(--royal-blue-light);
  color: var(--white);
  border-color: var(--royal-blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.15);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--royal-blue);
  border: 1px solid var(--gold);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
}

.btn-gold:hover, .btn-gold:focus {
  background-color: var(--gold-dark);
  color: var(--white);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
  background-color: #20BA5A;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Glassmorphism & Cards */
.premium-card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.premium-card:hover {
  transform: translateY(-2px);
}

.card-header-royal {
  background-color: var(--royal-blue);
  color: var(--white);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  border-bottom: 2px solid var(--gold);
  padding: 1.5rem;
}

/* Custom form styles */
.form-label {
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  outline: none;
}

/* Image preview container */
.preview-container {
  position: relative;
  width: 100%;
  height: 200px;
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #F8FAFC;
  cursor: pointer;
  transition: var(--transition);
}

.preview-container:hover {
  border-color: var(--gold);
  background-color: #F1F5F9;
}

.preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-container .preview-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(10, 37, 64, 0.8);
  color: white;
  width: 100%;
  text-align: center;
  padding: 5px;
  font-size: 0.8rem;
}

/* Admin Sidebar Layout */
.admin-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
}

#sidebar {
  min-width: 260px;
  max-width: 260px;
  background: var(--royal-blue);
  color: var(--white);
  transition: var(--transition);
  min-height: 100vh;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

#sidebar .sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

#sidebar .sidebar-logo {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul p {
  color: #fff;
  padding: 10px;
}

#sidebar ul li a {
  padding: 12px 20px;
  font-size: 1rem;
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

#sidebar ul li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

#sidebar ul li a:hover, #sidebar ul li.active > a {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border-left-color: var(--gold);
}

#content {
  width: 100%;
  padding: 2rem;
  min-height: 100vh;
  transition: var(--transition);
}

/* Custom Navbar */
.admin-navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

/* Widgets */
.widget-card {
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(226, 232, 240, 0.5);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.widget-card:hover {
  transform: translateY(-3px);
}

.widget-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.widget-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.widget-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-top: 0.25rem;
}

/* Custom Alerts */
.floating-alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .admin-wrapper {
    flex-direction: column;
  }
  
  #sidebar {
    min-width: 100%;
    max-width: 100%;
    min-height: auto;
  }
  
  #sidebar ul {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
  }
  
  #sidebar ul li {
    flex: 1 1 auto;
  }
  
  #sidebar ul li a {
    padding: 10px 15px;
    font-size: 0.9rem;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  
  #sidebar ul li a:hover, #sidebar ul li.active > a {
    border-bottom-color: var(--gold);
  }
  
  #content {
    padding: 1rem;
  }
}

/* Curtain specific layout elements */
.curtain-hero {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.95), rgba(26, 62, 96, 0.9)), url('../images/slider/curtain_8.jpeg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  margin-bottom: 3rem;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}

.badge-order-no {
  font-family: monospace;
  font-size: 1.1rem;
  background-color: var(--light-bg);
  border: 1px solid var(--input-border);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
}

/* ===== PREMIUM FOOTER STYLING ===== */
.premium-footer {
  background-color: #0A2540 !important; /* Rich Royal Navy Blue theme background */
  border-top: 3px solid #d4af37;
  box-shadow: 0 -10px 30px rgba(212, 175, 55, 0.05);
  font-size: 0.9rem;
}

.premium-footer h6.text-gold {
  color: #d4af37 !important;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.premium-footer .social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.premium-footer .social-link:hover {
  background-color: #d4af37;
  color: #0b0f19;
  transform: translateY(-2px);
}

.premium-footer .footer-links li {
  margin-bottom: 12px;
}

.premium-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.premium-footer .footer-links a:hover {
  color: #d4af37;
  transform: translateX(4px);
}

.premium-footer .footer-contact li {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal-left.reveal-active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal-right.reveal-active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.scroll-reveal-zoom.reveal-active {
  opacity: 1;
  transform: scale(1);
}

/* Add custom transition delays for staggered entries */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


