/* Hero Section Styles - mobile-first base */
.ws-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  overflow: hidden;
  z-index: 10;
  margin-top: 0;
  padding-top: 0;
}

.ws-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background: var(--taupe); /* Fallback background */
}

.ws-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(1.05);
  display: block;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Fallback for hero images that fail to load */
.ws-hero-img:not([src]), 
.ws-hero-img[src=""],
.ws-hero-img[src*="undefined"] {
  display: none;
}

.ws-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
}

.ws-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.ws-hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px rgba(44,38,33,0.10));
  object-fit: contain;
}

.ws-hero-title {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  color: var(--background);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  text-shadow: 0 3px 16px #222, 0 1px 0 #222, 0 0px 2px rgba(255,255,255,0.12);
}

.ws-perfect-text {
  color: var(--primary-color);
  font-weight: 600;
}

.ws-hero-tagline {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  color: var(--background);
  margin-bottom: 28px;
  font-weight: 500;
  text-shadow: 0 2px 8px var(--charcoal), 0 1px 0 #222;
}

.ws-hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.ws-hero-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(124, 92, 62, 0.10);
  margin-bottom: 8px;
}

.ws-hero-btn-primary {
  background: linear-gradient(90deg, var(--primary-color) 60%, var(--accent-color) 100%);
  color: #fff;
  border-color: var(--primary-color);
}

.ws-hero-btn-primary:hover, .ws-hero-btn-primary:focus {
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: var(--charcoal);
  border-color: var(--accent-color);
  text-decoration: none;
}

.ws-hero-btn-secondary {
  background: var(--background);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.ws-hero-btn-secondary:hover, .ws-hero-btn-secondary:focus {
  background: var(--taupe);
  color: var(--charcoal);
  border-color: var(--accent-color);
  text-decoration: none;
}

/* Social Slider Styles */
.ws-social-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.ws-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  object-fit: cover;
  object-position: center;
}

.ws-slide.active {
  opacity: 1;
}

.ws-slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.ws-slider-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ws-slider-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ws-slider-btn i {
  color: var(--charcoal);
  font-size: 1.2rem;
  font-weight: bold;
}

.ws-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.ws-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
}

.ws-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.ws-dot.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.2);
}

/* Ensure hero section doesn't overlap with header */
.ws-hero {
  margin-top: 0;
  padding-top: 0;
}

/* Hero Small Variant - Better proportions and image coverage */
.ws-hero-small {
  min-height: 50vh;
  max-height: 60vh;
}

.ws-hero-small .ws-hero-bg {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--taupe); /* Fallback background for small hero */
}

.ws-hero-small .ws-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.ws-hero-small .ws-hero-content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.ws-hero-small .ws-hero-logo {
  width: 90px;
  margin-bottom: 16px;
}

.ws-hero-small .ws-hero-title {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.ws-hero-small .ws-hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.ws-hero-small .ws-hero-actions {
  gap: 16px;
}

.ws-hero-small .ws-hero-btn {
  padding: 12px 28px;
  font-size: 1rem;
}

/* Responsive adjustments for hero small */
@media (max-width: 768px) {
  .ws-hero-small {
    min-height: 45vh;
    max-height: 55vh;
  }
  
  .ws-hero-small .ws-hero-title {
    font-size: 2rem;
  }
  
  .ws-hero-small .ws-hero-tagline {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .ws-hero-small {
    min-height: 40vh;
    max-height: 50vh;
  }
  
  .ws-hero-small .ws-hero-title {
    font-size: 1.8rem;
  }
  
  .ws-hero-small .ws-hero-tagline {
    font-size: 1rem;
  }
  
  .ws-hero-small .ws-hero-logo {
    width: 70px;
  }
}

/* Responsive adjustments for main hero */
@media (max-width: 768px) {
  .ws-hero {
    min-height: 50vh;
    max-height: 60vh;
  }
  
  .ws-hero-title {
    font-size: 2.2rem;
  }
  
  .ws-hero-tagline {
    font-size: 1.2rem;
  }
  
  .ws-hero-logo {
    width: 100px;
  }

  /* Hero buttons responsive styling for tablet */
  .ws-hero-actions {
    gap: 14px;
    margin-top: 20px;
  }

  .ws-hero-btn {
    padding: 12px 28px;
    font-size: 1rem;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .ws-hero {
    min-height: 45vh;
    max-height: 55vh;
  }
  
  .ws-hero-title {
    font-size: 1.8rem;
  }
  
  .ws-hero-tagline {
    font-size: 1.1rem;
  }
  
  .ws-hero-logo {
    width: 80px;
  }

  /* Hero buttons responsive styling for mobile */
  .ws-hero-actions {
    gap: 12px;
    margin-top: 20px;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .ws-hero-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-height: 44px;
    width: 100%;
  }
}

/* Quick Links Responsive - Hide on smaller screens */
@media (max-width: 768px) {
  .ws-quick-links {
    display: none;
  }
}
