/* Custom Styles for Unique London */
:root {
  --primary-color: #ffc107;
  --secondary-color: #212529;
  --accent-color: #6c757d;
  --light-bg: #f8f9fa;
}

/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  padding-top: 76px;
}

/* Navigation */
.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/placeholder.svg?height=800&width=1200")
    center / cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
}

/* Page Header */
.page-header {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #212529 0%, #495057 100%);
}

.min-vh-50 {
  min-height: 50vh;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-warning {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  transform: translateY(-2px);
}

.btn-outline-warning:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #000;
}

/* Project Items */
.project-item {
  transition: all 0.3s ease;
}

.project-item.hidden {
  display: none;
}

/* Gallery */
.gallery-thumb {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  border: 3px solid var(--primary-color);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -25px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Stats Animation */
.stat-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) {
  animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Styles */
.form-control,
.form-select {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #6c757d;
}

/* Accordion */
.accordion-button {
  font-weight: 500;
  border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: #000;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Social Links */
.text-warning {
  color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-marker {
    left: -15px;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

/* Loading Animation */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e0a800;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }

  .hero-section {
    background: none !important;
    color: #000 !important;
  }
}