/* Global Styles - Black & White Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #000 0%, #444 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #444 0%, #000 100%);
}

/* Navigation Tabs */
.nav-tabs .nav-link {
  border: none;
  color: #666;
  font-weight: 500;
  padding: 12px 25px;
  transition: all 0.3s ease;
  border-radius: 10px 10px 0 0;
}

.nav-tabs .nav-link:hover {
  color: #000;
  background: #f8f8f8;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: white !important;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tab-content {
  min-height: 320px;
  padding: 30px 0;
}

/* Gallery Images */
.gallery-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightboxOverlay, 
.lightbox {
  z-index: 1055 !important;
}

.lb-data .lb-close {
  z-index: 9999 !important;
}

/* Cards */
.card {
  border: none;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 10px 25px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #333 0%, #000 100%);
}

.btn-dark {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: #000;
  transform: translateY(-2px);
}

/* Forms */
.form-control {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #000;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: #000;
  margin-bottom: 8px;
}

/* Alerts */
.alert {
  border: none;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
}

/* Shadows */
.shadow-sm {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
}

.shadow {
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* Text Colors */
.text-primary {
  color: #000 !important;
}

.text-muted {
  color: #666 !important;
}

.text-dark {
  color: #000 !important;
}

/* Background Colors */
.bg-light {
  background: #f8f8f8 !important;
}

.bg-dark {
  background: #000 !important;
}

/* Utility Classes */
.rounded {
  border-radius: 8px !important;
}

.rounded-lg {
  border-radius: 15px !important;
}

.fw-bold {
  font-weight: 700 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.slide-in-up {
  animation: slideInUp 0.8s ease;
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #333;
}

/* Section Spacing */
section {
  padding: 60px 0;
}

/* Container Max Width */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #000 0%, #444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hover Scale Effect */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Border Utilities */
.border-dark {
  border-color: #000 !important;
}

.border-light {
  border-color: #e0e0e0 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.75rem !important;
  }
  
  h3 {
    font-size: 1.5rem !important;
  }
}

/* Print Styles */
@media print {
  .btn,
  .navbar,
  footer {
    display: none;
  }
}

/* Selection Color */
::selection {
  background: #000;
  color: white;
}

::-moz-selection {
  background: #000;
  color: white;
}

/* Focus Visible */
*:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}