/* Weather Widget Styles */
.weather-widget {
  background: transparent;
  color: #fff;
}

/* Enhanced Header Styles */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

/* Header Top Enhancements */
.header-top {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 12px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.header-top:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(52, 152, 219, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
  z-index: 1;
}

.header-top .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-info span {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info span:hover {
  color: #3498db;
  transform: translateY(-1px);
}

.contact-info i {
  margin-right: 8px;
  color: #3498db;
  font-size: 1rem;
}

/* Enhanced Main Navigation */
.main-nav {
  position: relative;
  height: auto;
  background: rgba(255, 255, 255, 0.98);
  padding: 20px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-nav-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 15px 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 65px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Enhanced Navigation Links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links li:not(.cta-button) a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 0;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-links li:not(.cta-button) a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(45deg, #3498db, #2ecc71);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li:not(.cta-button) a:hover {
  color: #3498db;
  transform: translateY(-2px);
}

.nav-links li:not(.cta-button) a:hover:before {
  width: 100%;
}

/* Enhanced CTA Button */
.nav-links li:last-child {
  margin-left: 1rem;
}

.nav-links li .btn {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-links li .btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-links li .btn:hover:before {
  left: 100%;
}

.nav-links li .btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f99 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.nav-links li .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Mobile Menu Toggle Enhancement */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.mobile-menu-toggle i {
  font-size: 1.5rem;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover i {
  color: #3498db;
}

.weather-widget h4 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: white;
  position: relative;
  padding-bottom: 12px;
}

.weather-widget h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.weather-widget #weather-data {
  margin-top: 1rem;
}

.weather-widget #weather-data p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-widget #weather-data i {
  color: #3498db;
  width: 1.2rem;
}

.weather-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

#header .weather-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .header-top {
    padding: 8px 0;
    font-size: 0.85rem;
  }
  
  .header-top .container {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-info {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .contact-info span {
    font-size: 0.8rem;
  }
  
  .main-nav {
    padding: 15px 0;
  }
  
  .main-nav-top {
    padding: 10px 0;
  }
  
  .logo img {
    height: 50px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links li:not(.cta-button) a {
    display: block;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-links li:not(.cta-button) a:before {
    display: none;
  }
  
  .nav-links li:not(.cta-button) a:hover {
    background-color: rgba(52, 152, 219, 0.1);
    transform: none;
  }
  
  .nav-links li:last-child {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .nav-links li .btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    padding: 15px 30px;
    font-size: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .weather-widget {
    display: none;
  }
}

@media screen and (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .nav-links {
    display: flex !important;
  }
}

.weather-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* Comprehensive Wind Widget Styles */
/* Temperature Widget Styles */
.temp-widget-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 60px;
}

.temp-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.temp-label {
  color: #3498db;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.temp-value {
  font-weight: bold;
  color: #fff;
  font-size: 0.9rem;
}

.wind-widget-container {
  padding: 0.5rem;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comprehensive-wind-widget {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.wind-gauge {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid #ffd700;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.gauge-ticks {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.gauge-ticks::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 10%, #999 1px, transparent 1px),
    radial-gradient(circle at 90% 20%, #999 1px, transparent 1px),
    radial-gradient(circle at 90% 80%, #999 1px, transparent 1px),
    radial-gradient(circle at 50% 90%, #999 1px, transparent 1px),
    radial-gradient(circle at 10% 80%, #999 1px, transparent 1px),
    radial-gradient(circle at 10% 20%, #999 1px, transparent 1px);
  border-radius: 50%;
}

.wind-direction-arrow {
  position: absolute;
  top: calc(50% - 45px);
  left: 50%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid #000;
  transform: translateX(-50%) rotate(0deg);
  transform-origin: 50% 45px;
  transition: transform 0.8s ease-out;
  z-index: 4;
}

.wind-center-content {
  position: relative;
  z-index: 3;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.current-wind-speed {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  line-height: 1;
  margin-top: 4px;
}

.wind-speed-unit {
  font-size: 0.6rem;
  color: #666;
  margin-top: -2px;
}

.wind-peak-label {
  font-size: 0.5rem;
  color: #666;
  margin-top: -2px;
}

.wind-peak-value {
  font-size: 0.8rem;
  font-weight: bold;
  color: #3498db;
  line-height: 1;
}

.wind-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.7rem;
}

.wind-from,
.wind-gusts {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wind-from-label,
.wind-gusts-label {
  color: #3498db;
  font-size: 0.6rem;
  margin-bottom: 1px;
}

.wind-from-direction {
  font-weight: bold;
  color: #fff;
  font-size: 0.8rem;
}

.wind-gusts-value {
  font-weight: bold;
  color: #fff;
  font-size: 0.8rem;
}

/* Wind widget states */
.comprehensive-wind-widget.no-wind {
  opacity: 0.6;
}

.comprehensive-wind-widget.has-wind {
  opacity: 1;
}

.wind-direction-arrow.no-wind {
  opacity: 0.3;
}

.wind-direction-arrow.has-wind {
  opacity: 1;
}

/* Jobs Page Styles */
.jobs-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.jobs-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.job-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.job-card:hover {
  transform: translateY(-5px);
}

.job-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.job-details {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.job-details i {
  color: #3498db;
  margin-right: 0.5rem;
}

.job-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #555;
}

.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #666;
}

.loading-spinner i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #3498db;
}

.error-message, .no-jobs {
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  color: #666;
}

.error-message i, .no-jobs i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e74c3c;
}

.no-jobs i {
  color: #3498db;
}

/* Additional Enhancements */
.header-enhanced {
  position: relative;
}

.header-enhanced:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
}

/* CTA Button Pulse Animation */
@keyframes ctaPulse {
  0% {
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(52, 152, 219, 0.5);
  }
  100% {
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  }
}

.nav-links li .btn.pulse {
  animation: ctaPulse 2s infinite;
}

/* Weather Widget Mobile Adjustments */
@media screen and (max-width: 768px) {
  .weather-info {
    display: none !important;
  }
}