/* Fikas Pet Grooming - Modern CSS Tasarım */

:root {
  --primary-color: #16a085;
  --secondary-color: #1abc9c;
  --accent-color: #2ecc71;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  --gradient-primary: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
  --gradient-secondary: linear-gradient(135deg, #1abc9c 0%, #2ecc71 100%);
  --shadow-light: 0 2px 10px rgba(22, 160, 133, 0.1);
  --shadow-medium: 0 4px 20px rgba(22, 160, 133, 0.15);
  --shadow-heavy: 0 8px 30px rgba(22, 160, 133, 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);
}