/* ============================================
   TEXOMA LAKE ENTERPRISES - MAIN STYLESHEET
   ============================================ */

/* ==================== BASE STYLES ==================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f5f0e8;
  overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */

#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-tab {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  position: relative;
}

.nav-tab::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 1px;
  background: #d4a853;
  transition: transform 0.3s ease;
}

.nav-tab:hover {
  color: white;
}

.nav-tab:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-tab.active {
  color: white;
}

.nav-tab.active::after {
  transform: translateX(-50%) scaleX(1);
  width: 30px;
}

.nav-tab-mobile {
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-tab-mobile:hover,
.nav-tab-mobile.active {
  color: #d4a853;
}

/* ==================== HERO SECTION ==================== */

.hero-section {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #2d6a7a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(212, 168, 83, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(45, 106, 122, 0.2) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ==================== BUTTONS ==================== */

.btn-primary {
  padding: 1rem 2.5rem;
  background: #d4a853;
  color: #0a1628;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #c4843a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 168, 83, 0.3);
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: #0a1628;
  border-color: white;
}

.btn-dark {
  padding: 1rem 2rem;
  background: #0a1628;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-dark:hover {
  background: #1a3a5c;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 58, 92, 0.3);
}

.btn-outline {
  padding: 1rem 2rem;
  background: transparent;
  color: #0a1628;
  border: 2px solid #0a1628;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #0a1628;
  color: white;
}

.btn-gold {
  padding: 1rem 2rem;
  background: #d4a853;
  color: #0a1628;
  border: none;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: #c4843a;
  transform: translateY(-2px);
}

/* ==================== STAT CARDS ==================== */

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* ==================== PROPERTY CARDS ==================== */

.property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.property-image {
  height: 220px;
  background: linear-gradient(135deg, #2d6a7a, #1a3a5c);
  position: relative;
  overflow: hidden;
}

.property-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 1rem;
  background: #d4a853;
  color: white;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}

.property-rating {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
}

/* ==================== SERVICE TABS ==================== */

.service-tab {
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.service-tab:hover {
  border-color: #d4a853;
  color: white;
}

.service-tab.active {
  background: #d4a853;
  border-color: #d4a853;
  color: #0a1628;
}

/* ==================== SERVICE CARDS ==================== */

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4a853, #c4843a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.service-category {
  display: none;
}

.service-category.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ==================== TESTIMONIAL CARDS ==================== */

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

/* ==================== PRICING CARDS ==================== */

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d6a7a, #d4a853);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
  background: #0a1628;
  color: white;
}

.pricing-card.featured::before {
  display: none;
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: #d4a853;
  color: #0a1628;
  padding: 0.3rem 2.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(45deg);
}

/* ==================== SPECIALTY CARDS ==================== */

.specialty-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==================== AREA TAGS ==================== */

.area-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: white;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #5a5a5a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ==================== GLASS CARDS ==================== */

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

/* ==================== TAB CONTENT ==================== */

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== ANIMATIONS ==================== */

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */

@media (max-width: 768px) {
  .hero-section {
    padding-top: 6rem;
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
  
  .property-image {
    height: 180px;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* ==================== UTILITY CLASSES ==================== */

.hidden {
  display: none !important;
}

.text-shadow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
