/* =========================================================================
   EliteTV - Custom Stylesheet
   Theme: customizable variables for colors and typography
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary-color: #0b2545; /* Trustworthy deep blue */
  --secondary-color: #eef2f5; /* Light background shade */
  --accent-color: #133c70; 
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-white: #ffffff;

  
  /* Buttons and CTAs */
  --cta-color: #28a745; /* Prominent green CTA */
  --cta-hover: #218838;
  --whatsapp-color: #25D366;
  
  /* Typography */
  --font-family-base: 'Inter', sans-serif;
  
  /* Sizes & Layout */
  --border-radius: 8px;
  --transition-speed: 0.3s;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* =========================================================================
   Base Layout & Resets
   ========================================================================= */
body {
  font-family: var(--font-family-base);
  color: var(--text-dark);
  background-color: var(--secondary-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* =========================================================================
   UI Elements and Micro-animations
   ========================================================================= */
.btn-cta {
  background-color: var(--cta-color);
  color: var(--bg-white);
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 50px;
  transition: all var(--transition-speed) ease-in-out;
  border: none;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-cta:hover {
  background-color: var(--cta-hover);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary-custom:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: var(--cta-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.feature-card, .service-card {
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
  height: 100%;
}

.feature-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
}

.icon-wrapper {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* =========================================================================
   Header & Navbar
   ========================================================================= */
.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--cta-color);
}

.main-header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 5px;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  padding: 120px 0 100px;
  position: relative;
}

.hero-section h1 {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-section h2 {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Include carousel caption modifications */
.carousel-caption-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.hero-placeholder {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* =========================================================================
   FAQ Section
   ========================================================================= */
.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(11, 37, 69, 0.05);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(11, 37, 69, 0.2);
}

/* =========================================================================
   Floating Actions (Call / WhatsApp)
   ========================================================================= */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all var(--transition-speed) ease;
}

.float-btn:hover {
  transform: scale(1.1);
  color: white;
}

.btn-whatsapp { background-color: var(--whatsapp-color); }
.btn-call { background-color: var(--primary-color); }

/* =========================================================================
   Footer
   ========================================================================= */
.main-footer {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 60px 0 20px;
}

.main-footer h5 {
  color: var(--bg-white);
  margin-bottom: 25px;
  font-weight: 600;
}

.main-footer .footer-links {
  list-style: none;
  padding: 0;
}

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

.main-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}

.main-footer .footer-links a:hover {
  color: var(--cta-color);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* =========================================================================
   Utility Classes & Placeholders
   ========================================================================= */
.img-placeholder {
  background-color: #dcdde1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7f8fa6;
  font-weight: 600;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  min-height: 200px;
  width: 100%;
}

.bg-white { background-color: var(--bg-white); }
.text-primary { color: var(--primary-color) !important; }
.text-cta { color: var(--cta-color) !important; }

/* Page Header specific */
.page-header {
  background: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 0;
}
