/* Fikas Pet Grooming - Modern CSS Tasarım */

:root {
  --primary-color: #adcd3f;
  --secondary-color: #8db92d;
  --accent-color: #c9e052;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --gradient-primary: linear-gradient(135deg, #adcd3f 0%, #8db92d 100%);
  --gradient-secondary: linear-gradient(135deg, #8db92d 0%, #c9e052 100%);
  --shadow-light: 0 2px 10px rgba(173, 205, 63, 0.1);
  --shadow-medium: 0 4px 20px rgba(173, 205, 63, 0.15);
  --shadow-heavy: 0 8px 30px rgba(173, 205, 63, 0.2);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

  html {
    font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin-bottom: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: var(--white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Hero section için özel beyaz outline buton */
.hero .btn-outline {
  border-color: white;
  color: white;
}

.hero .btn-outline:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: none;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/paw-pattern.svg') repeat;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-body {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-image img {
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(173, 205, 63, 0.3);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(173, 205, 63, 0.1);
}

/* Navigation */
.navbar {
  background: var(--white) !important;
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  letter-spacing: -0.02em;
  text-transform: none;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  margin: 0 0.2rem;
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: rgba(173, 205, 63, 0.08);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 80%;
}

/* Active nav link */
.nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(173, 205, 63, 0.1);
  font-weight: 700;
}

.nav-link.active::after {
  width: 80%;
}

/* Navbar toggler modern styling */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(173, 205, 63, 0.1);
}

.navbar-toggler:hover {
  background: rgba(173, 205, 63, 0.1);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: auto;
  width: 100%;
  border-top: 4px solid var(--secondary-color);
  position: relative;
  z-index: 1;
}

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary-color);
}

/* Page Structure */
main {
  flex: 1 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  padding-bottom: 4rem;
}

header {
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-primary { background: var(--gradient-primary) !important; }
.bg-secondary { background: var(--gradient-secondary) !important; }

.shadow-sm { box-shadow: var(--shadow-light) !important; }
.shadow { box-shadow: var(--shadow-medium) !important; }
.shadow-lg { box-shadow: var(--shadow-heavy) !important; }

.rounded { border-radius: var(--border-radius) !important; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  
  /* Mobile navbar adjustments */
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem !important;
    margin: 0.1rem 0;
    border-radius: 6px;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(173, 205, 63, 0.1);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Admin Panel Styles - Sade ve Modern */
.admin-sidebar {
  background: linear-gradient(180deg, #16a085 0%, #1abc9c 100%);
  min-height: 100vh;
  padding: 1.5rem 0;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  margin: 0.2rem 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(255,255,255,0.15);
  color: var(--white) !important;
  transform: translateX(4px);
}

.admin-sidebar .nav-link i {
  width: 20px;
  text-align: center;
}

/* Chevron rotation animation */
#appointmentsChevron {
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

/* Collapse submenu styles */
.admin-sidebar .collapse .nav-link {
  font-size: 0.85rem;
  padding-left: 2.5rem;
  color: rgba(255,255,255,0.7) !important;
}

.admin-sidebar .collapse .nav-link:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateX(2px);
}

.admin-header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(22, 160, 133, 0.1);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ecf0f1;
}

.stats-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(22, 160, 133, 0.08);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #ecf0f1;
}

.stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.12);
  border-color: var(--primary-color);
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stats-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Admin Cards - Sade Tasarım */
.admin-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(22, 160, 133, 0.08);
  border: 1px solid #ecf0f1;
  margin-bottom: 1.5rem;
}

.admin-card-header {
  background: #f8f9fa;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #ecf0f1;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.admin-card-body {
  padding: 1.5rem;
}

/* Admin Tables - Modern ve Sade */
.admin-table {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(22, 160, 133, 0.08);
  border: 1px solid #ecf0f1;
}

.admin-table th {
  background: #f8f9fa;
  color: var(--text-dark);
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid #ecf0f1;
  font-size: 0.9rem;
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #f8f9fa;
  vertical-align: middle;
}

.admin-table tbody tr:hover {
  background: rgba(22, 160, 133, 0.02);
}

/* Admin Buttons - Sade Tasarım */
.btn-admin-primary {
  background: var(--primary-color);
  border: none;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-admin-primary:hover {
  background: #138d75;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(22, 160, 133, 0.3);
  color: var(--white);
}

.btn-admin-secondary {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-admin-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-admin-outline {
  background: transparent;
  border: 1px solid #bdc3c7;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-admin-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Alert Messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  border: none;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--success);
  border-left: 4px solid var(--success);
}

.alert-danger {
  background: rgba(231, 76, 60, 0.1);
  color: var(--danger);
  border-left: 4px solid var(--danger);
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  color: var(--warning);
  border-left: 4px solid var(--warning);
}

/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */

/* Mobile First Approach - Base styles for mobile */
@media (max-width: 767.98px) {
  /* Typography adjustments */
  html {
    font-size: 14px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  /* Navbar mobile styles */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-top: 0.5rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
    margin-bottom: 0.25rem;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link.btn {
    margin: 0.5rem 0 0 0;
    text-align: center;
    border-radius: var(--border-radius);
  }
  
  /* Container adjustments */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Main content spacing */
  main {
    margin-top: 70px !important;
    padding-bottom: 80px !important;
  }
  
  /* Cards and sections */
  .card {
    margin-bottom: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Hero section mobile */
  .hero {
    padding: 3rem 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Services grid mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Gallery modal mobile */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .modal-content {
    border-radius: var(--border-radius);
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  /* Forms mobile */
  .form-control {
    font-size: 1rem;
  }
  
  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  /* Buttons mobile */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  /* Tables mobile */
  .table-responsive {
    border-radius: var(--border-radius);
  }
  
  .table th,
  .table td {
    padding: 0.5rem 0.25rem;
    font-size: 0.85rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer ul li {
    margin-bottom: 0.5rem;
  }
  
  /* Admin panel mobile */
  .admin-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
  }
  
  .admin-sidebar {
    width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
  }
  
  .admin-sidebar.show {
    transform: translateX(0);
  }
  
  .admin-main-content {
    margin-left: 0;
    padding: 1rem;
  }
  
  /* Admin sidebar dropdown improvements */
  .admin-sidebar .collapse {
    transition: all 0.3s ease;
  }
  
  .admin-sidebar .collapse.show {
    display: block !important;
  }
  
  .admin-sidebar .nav-link i.fa-chevron-down {
    transition: transform 0.3s ease;
  }
  
  .admin-sidebar .nav-link[data-bs-toggle="collapse"] {
    position: relative;
  }
  
  .admin-sidebar .nav-link[data-bs-toggle="collapse"] i.fa-chevron-down {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
  }
  
  .admin-header {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .admin-header .btn {
    width: 100%;
  }
  
  /* Admin cards mobile */
  .admin-card {
    margin-bottom: 1rem;
  }
  
  .admin-card-header,
  .admin-card-body {
    padding: 1rem;
  }
  
  /* Stats cards mobile */
  .stats-card {
    margin-bottom: 1rem;
  }
  
  .stats-number {
    font-size: 1.5rem;
  }
  
  /* Admin table mobile */
  .admin-table {
    font-size: 0.8rem;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.5rem 0.25rem;
  }
  
  /* Admin forms mobile */
  .admin-card-body .row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Appointment form mobile */
  .appointment-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Admin table improvements for mobile */
  .admin-table .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    margin: 0.1rem;
  }
  
  .admin-table .d-flex.gap-1 {
    flex-wrap: wrap;
  }
  
  /* Admin cards mobile spacing */
  .admin-card {
    margin-bottom: 1.5rem;
  }
  
  .admin-card-header {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .admin-card-body {
    padding: 1rem;
  }
  
  /* Admin stats cards mobile */
  .stats-card {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .stats-number {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  .stats-label {
    font-size: 0.8rem;
    color: #6c757d;
  }
  
  /* Admin buttons mobile */
  .btn-admin-primary,
  .btn-admin-secondary,
  .btn-admin-outline {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    width: 100%;
  }
  
  /* Admin form controls mobile */
  .admin-card-body .form-control,
  .admin-card-body .form-select {
    font-size: 1rem;
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .admin-card-body .form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  /* Admin modal mobile */
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  
  .modal-content {
    border-radius: 8px;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .modal-footer {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .modal-footer .btn {
    width: 100%;
    margin: 0;
  }
  
  /* Gallery filters mobile */
  .gallery-filters {
    flex-direction: column;
    gap: 1rem;
  }
  
  .gallery-filters .btn-group {
    width: 100%;
  }
  
  /* Contact info mobile */
  .contact-info .row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  /* Team members mobile */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-member {
    text-align: center;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .admin-sidebar {
    width: 250px;
  }
  
  .admin-main-content {
    margin-left: 250px;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large screens */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile navigation improvements */
@media (max-width: 767.98px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
  }
  
  .navbar-nav .nav-link {
    width: 100%;
    display: block;
  }
  
  /* Hamburger menu animation */
  .navbar-toggler {
    transition: all 0.3s ease;
  }
  
  .navbar-toggler[aria-expanded="true"] {
    transform: rotate(90deg);
  }
  
  /* Mobile dropdown improvements */
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  
  .dropdown-item {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #f8f9fa;
  }
}

/* Touch-friendly improvements */
@media (max-width: 767.98px) {
  .btn,
  .nav-link,
  .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .form-check-input {
    width: 20px;
    height: 20px;
  }
  
  .table th,
  .table td {
    min-height: 44px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .admin-sidebar {
    display: none !important;
  }
  
  .admin-main-content {
    margin-left: 0 !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .card {
    border: 1px solid #ddd;
    box-shadow: none;
  }
}