/* Stylesheet - City Events Guide */

/* Typography */
body {
  font-family: "Cairo", sans-serif;
  background-color: #f5f5f5;
  transition: background-color 0.3s, color 0.3s;
  padding-top: 50px;
}

/* Dark Mode */
body.dark-mode {
  background-color: #1a1a2e;
  color: #e4e4e4;
}

body.dark-mode .navbar,
body.dark-mode .bg-light,
body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode .modal-content,
body.dark-mode .filter-section,
body.dark-mode .page-header,
body.dark-mode .accordion-item,
body.dark-mode .accordion-button,
body.dark-mode .accordion-body {
  background-color: #16213e !important;
  color: #e4e4e4;
}

body.dark-mode .bg-primary,
body.dark-mode .card {
  background-color: #0f3460 !important;
  border-color: #16213e;
}

body.dark-mode .card-title,
body.dark-mode .card-text,
body.dark-mode .modal-header,
body.dark-mode .modal-footer,
body.dark-mode .text-muted {
  color: #e4e4e4 !important;
}

body.dark-mode .btn-close {
  filter: invert(1);
}

body.dark-mode footer {
  background-color: #0f0f1e !important;
}

/* Primary Colors */
.bg-primary {
  background-color: #0d6efd !important;
}

/* Navbar */
.navbar-brand {
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-link {
  margin: 0 10px;
  font-size: 1.05rem;
}

.nav-link:hover {
  color: #ffd700 !important;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  height: 400px;
  object-fit: cover;
}

.card-title {
  font-weight: 600;
  color: #333;
}

.card-text {
  color: #666;
}

/* Buttons */
.btn {
  border-radius: 5px;
  padding: 8px 20px;
}

.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #0b5ed7;
}

/* Badges */
.badge {
  padding: 5px 12px;
  font-size: 0.85rem;
}

/* Carousel */
.carousel-item img {
  height: 400px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 15px;
}

/* Footer */
footer {
  margin-top: 40px;
}

footer h5 {
  color: #ffc107;
  margin-bottom: 15px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #ffc107;
}

footer p {
  color: white;
}

/* Filter Section */
.filter-section {
  background-color: #e9ecef;
}

.form-control,
.form-select {
  border-radius: 5px;
  padding: 10px;
}

/* Extra Effects */
.page-header {
  padding: 50px 0;
}

.category-btn {
  margin: 5px;
}

/* Forms */
.form-label {
  font-weight: 600;
  margin-bottom: 5px;
}

textarea {
  resize: vertical;
}

.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.9rem;
}

/* Alerts */
.alert {
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 10px;
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

body.dark-mode .theme-toggle {
  border-color: #e94560;
  color: #e94560;
}

body.dark-mode .theme-toggle:hover {
  background-color: rgba(233, 69, 96, 0.1);
}

/* Language Switcher */
.language-switcher {
  margin: 10px;
}

.language-switcher .dropdown-toggle {
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
}

.language-switcher .dropdown-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

body.dark-mode .language-switcher .dropdown-toggle {
  border-color: #e94560;
  color: #e94560;
}

body.dark-mode .language-switcher .dropdown-menu {
  background-color: #16213e;
  border-color: #0f3460;
}

body.dark-mode .language-switcher .dropdown-item {
  color: #e4e4e4;
}

body.dark-mode .language-switcher .dropdown-item:hover {
  background-color: #0f3460;
}

/* Team Section */
.proteam-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  margin-top: 80px;
}

body.dark-mode .proteam-section {
  background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
  border-top: 3px solid #e94560;
}

.proteam-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s;
  margin-bottom: 30px;
}

.proteam-card:hover {
  transform: translateY(-10px);
}

body.dark-mode .proteam-card {
  background: rgba(15, 52, 96, 0.95);
  border: 2px solid #e94560;
}

.proteam-logo {
  width: 100%;
  max-width: 250px;
  height: 280px;
  object-fit: cover;
  margin-bottom: 25px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.proteam-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

body.dark-mode .proteam-title {
  color: #e94560;
}

.proteam-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}

body.dark-mode .proteam-description {
  color: #e4e4e4;
}

.proteam-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.proteam-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

body.dark-mode .proteam-btn {
  background: linear-gradient(135deg, #e94560 0%, #0f3460 100%);
}

/* Enhanced Footer */
.footer-col h5 {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.footer-col h5::after {
  content: "";
}

footer .text-muted {
  color: #ccc !important;
}

.carousel-item a.btn {
  pointer-events: auto;
  z-index: 2;
  position: relative;
}
.carousel-item {
  pointer-events: none;
}

.carousel-item .card,
.carousel-item .card-body {
  pointer-events: auto;
}
