/* ===== Installars.com Custom Styles ===== */

/* === Root Variables === */
:root {
  --primary-color: #667eea;
  --primary-dark: #764ba2;
  --secondary-color: #f093fb;
  --success-color: #00d4aa;
  --danger-color: #ff6b6b;
  --warning-color: #ffd93d;
  --info-color: #6bcbef;
  --dark-color: #2d3748;
  --light-bg: #f8f9fa;
  --border-radius: 12px;
}

/* === Typography === */
html {
  font-size: 14px;
  scroll-behavior: smooth;
  height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--dark-color);
  min-height: 100vh;
display: flex;
  flex-direction: column;
}

/* Main Content Area */
main {
  flex: 1 0 auto;
  padding-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

/* === Form Controls === */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(102, 126, 234, 0.5);
}

.form-control {
  border-radius: 8px;
border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
}

/* === Buttons === */
.btn {
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* === Cards === */
.card {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* === Navigation === */
.header-main {
  background: white;
  border-bottom: 1px solid #e2e8f0;
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* === Footer === */
.footer {
  flex-shrink: 0;
  background: var(--dark-color);
  color: white;
  margin-top: auto;
}

.footer a {
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color) !important;
  transform: translateX(3px);
}

/* === Utility Classes === */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* === Hero Section === */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* === Badge Styles === */
.badge {
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

/* === Icon Boxes === */
.icon-box {
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: scale(1.1);
}

/* === Responsive Utilities === */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 2rem !important;
  }
  
  .hero-section .lead {
    font-size: 1rem !important;
  }
}

/* === Loading Animation === */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3rem;
}

/* === Rating Stars === */
.bi-star-fill {
  color: #ffd93d;
}

/* === Profile Avatar === */
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
object-fit: cover;
}

.avatar-lg {
  width: 100px;
  height: 100px;
}

.avatar-xl {
  width: 150px;
  height: 150px;
}

/* === Dashboard Sidebar === */
.dashboard-sidebar {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 80px;
}

.dashboard-sidebar .nav-link {
  color: var(--dark-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.dashboard-sidebar .nav-link:hover,
.dashboard-sidebar .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white !important;
}

/* === Stats Cards === */
.stat-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card .stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* === Gallery Grid === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* === Accordion Custom Style === */
.accordion-button:not(.collapsed) {
  background-color: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* === Alert Styles === */
.alert {
  border-radius: var(--border-radius);
  border: none;
  padding: 1rem 1.5rem;
}

/* === Breadcrumb === */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--dark-color);
}

/* === Print Styles === */
@media print {
  .header-main,
  .footer,
  .no-print {
    display: none !important;
  }
}

/* === Accessibility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* === Smooth Transitions === */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}