/* Discover Onslow Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Color Variables */
:root {
  --primary-navy: #2c3e50;
  --accent-orange: #ff6b35;
  --text-dark: #333333;
  --text-gray: #666666;
  --background-light: #f8f9fa;
  --border-light: #dee2e6;
  --white: #ffffff;
}

/* Base Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

/* Logo Styling */
.logo-script {
  font-family: 'Dancing Script', cursive;
  font-weight: 600;
  font-size: 1.8rem;
}

.logo-sans {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.navbar img {
  filter: brightness(0) invert(1); /* Makes logo white on dark navbar */
  transition: all 0.3s ease;
}

.navbar img:hover {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(330deg); /* Orange tint on hover */
}

.footer img {
  filter: brightness(0) invert(1); /* Makes logo white in footer */
}

/* Navigation Styling */
.navbar {
  background: var(--primary-navy);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .nav-link {
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover {
  color: var(--accent-orange);
}

/* Search Bar Styling */
.search-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.search-input {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 14px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
}

/* Button Styles */
.btn-primary {
  background: var(--accent-orange);
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: #e55a2b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-navy);
}

/* General button styling for all buttons */
button, .btn, input[type="submit"], input[type="button"] {
  border-radius: 50px !important;
}

/* Social icons */
.social-icon {
  border-radius: 50px;
}

/* Hero Section */
.hero-carousel {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.7) 0%, rgba(44, 62, 80, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1,
.hero-slide h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p,
.hero-slide p {
  color: #ffffff !important;
  opacity: 0.95;
}

/* Additional specificity for white text */
.hero-carousel .text-white {
  color: #ffffff !important;
}

/* Carousel Navigation */
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.2);
}

/* Category Cards */
.category-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-color: var(--accent-orange);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--accent-orange);
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

/* Business Cards */
.business-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.business-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.featured-badge {
  background: var(--accent-orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Rating Stars */
.rating-stars {
  color: #fbbf24;
}

/* Footer Styling */
.footer, 
footer.footer {
  background: #232323 !important;
  background-color: #232323 !important;
  color: var(--white);
}

.footer h3 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-orange);
}

/* Social Icons */
.social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--accent-orange);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.social-icon:hover {
  background: #e55a2b;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-script {
    font-size: 1.5rem;
  }
  
  .hero-carousel {
    height: 300px;
  }
  
  .search-container {
    width: 100%;
    margin-top: 16px;
  }
}

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

::-webkit-scrollbar-track {
  background: var(--background-light);
}

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

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