/* Custom Styles for Tagarapuvalasa Plots Landing Page */

:root {
  --primary-color: #23af1e;
  --secondary-color: #102a0f;
  --accent-color: #fbbf24;
  --success-color: #10b981;
  --light-gray: #f8fafc;
  --dark-gray: #64748b;
}

/* Typography */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #334155;
}

.hero-title,
.display-4,
.display-5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Navigation */
#mainNav {
  background: linear-gradient(135deg, rgba(0, 100, 0, 0.95), rgba(0, 200, 0, 0.95));
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

#mainNav .navbar-brand {
  font-size: 1.5rem;
  color: #fbbf24 !important;
}

#mainNav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.75rem 1.25rem !important;
}

#mainNav .nav-link:hover {
  color: #fbbf24 !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #23af1e 0%, #102a0f 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.pexels.com/photos/280222/pexels-photo-280222.jpeg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 200, 0, 0.8), rgba(0, 100, 0, 0.8));
  z-index: 2;
}

.hero-content {
  z-index: 3;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-features {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
  z-index: 3;
  position: relative;
  animation: fadeInRight 1s ease-out 0.8s both;
}

.hero-image img {
  border: 5px solid rgba(251, 191, 36, 0.3);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* Location Advantages */
.location-advantage-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.05), transparent);
  transition: left 0.5s ease;
}

.location-advantage-card:hover::before {
  left: 100%;
}

.location-advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.location-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
  flex-shrink: 0;
}

/* Gallery */
.gallery-item img {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Registration Form */
.registration-form {
  border: 2px solid rgba(251, 191, 36, 0.3);
}

.registration-form .form-control,
.registration-form .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.registration-form .form-control:focus,
.registration-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

.registration-form .btn-warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.registration-form .btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

/* Contact Section */
.contact-item {
  transition: all 0.3s ease;
  padding: 2rem 1rem;
}

.contact-item:hover {
  transform: translateY(-5px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-color), #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
}

/* Social Links */
.social-links .btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links .btn:hover {
  background: var(--accent-color);
  color: var(--secondary-color) !important;
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  color: var(--secondary-color) !important;
  text-shadow: none;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  #mainNav .navbar-brand {
      font-size: 1rem;
      color: #fbbf24 !important;
    }
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.8rem;
  }
  
  .hero-cta .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

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

/* Section Padding */
section {
  scroll-margin-top: 80px;
}