/**
 * ================================================
 * style.css - Complete Styles for MGUS Enquiry Portal
 * Author: MGUS Development Team
 * Description: Single CSS file for all pages (Home, Login, Register, Enquiry, Track, Contact)
 * ================================================
 */

/* ==================== GLOBAL RESET & TYPOGRAPHY ==================== */
* {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fefcf7;
  scroll-behavior: smooth;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== CSS VARIABLES (COLOR THEME) ==================== */
:root {
  --primary-orange: #E67E22;
  --dark-orange: #D35400;
  --light-orange: #FDF2E9;
  --fresh-green: #2E7D32;
  --light-green: #E8F5E9;
  --dark-bg: #1a2a1a;
}

/* ==================== UTILITY CLASSES ==================== */
.text-orange {
  color: var(--primary-orange);
}

.bg-orange {
  background-color: var(--primary-orange);
}

/* ==================== BUTTON STYLES ==================== */
.btn-primary {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-orange);
  border-color: var(--dark-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.btn-outline-primary:hover {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-secondary:hover {
  transform: translateY(-2px);
}

/* ==================== NAVBAR STYLES ==================== */
.navbar {
  background: white;
  transition: all 0.3s;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #2c3e2f;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--primary-orange);
}

.nav-link {
  font-weight: 500;
  margin: 0 0.2rem;
  transition: 0.2s;
  color: #2c3e2f;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-orange);
}

.btn-login-nav {
  background: var(--light-orange);
  border-radius: 40px;
  padding: 6px 18px;
  margin-left: 8px;
}

/* ==================== HOME PAGE SPECIFIC STYLES ==================== */
.hero-img {
  transition: transform 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.02);
}

.brand-card,
.update-card {
  border-radius: 24px;
  transition: all 0.25s ease-in-out;
  background: white;
}

.brand-card:hover,
.update-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.12);
}

.brand-icon {
  font-size: 3rem;
  color: var(--primary-orange);
  background: var(--light-orange);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  text-align: center;
}

.update-date {
  font-size: 0.8rem;
  color: var(--primary-orange);
  font-weight: 500;
}

/* ==================== SECTION PADDING ==================== */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: #faf8f4 !important;
}

/* ==================== CARD STYLES ==================== */
.card {
  border-radius: 28px;
  transition: all 0.2s;
}

/* ==================== LOGIN & REGISTER PAGE STYLES ==================== */
.login-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.login-card {
  background: white;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-icon {
  width: 70px;
  height: 70px;
  background: var(--light-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== FORM STYLES ==================== */
.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #e2e0dc;
  transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
  outline: none;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #2c3e2f;
}

.form-check-input:checked {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

/* ==================== CONTACT PAGE STYLES ==================== */
.contact-details i {
  width: 28px;
  color: var(--primary-orange);
}

.social-icons a {
  color: #4a5b4a;
  transition: 0.2s;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--primary-orange);
  transform: translateY(-3px);
}

/* ==================== STATUS BADGE FOR TRACK PAGE ==================== */
.status-badge {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
}

/* ==================== FOOTER STYLES ==================== */
.footer {
  background: var(--dark-bg);
  color: #e9e9e9;
  margin-top: auto;
}

.footer a {
  color: #f0c28a;
  text-decoration: none;
}

/* ==================== ALERT ANIMATION ==================== */
.alert-custom {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  min-width: 280px;
  border-radius: 50px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */
@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
  
  .hero-row {
    text-align: center;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .login-section {
    padding: 40px 0;
  }
  
  .login-card .card-body {
    padding: 1.5rem !important;
  }
}