/* =========================================
   RVA Property Services - Light Theme
   Modern, Clean, Professional Design
   ========================================= */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:wght@500;600;700&display=swap');

/* CSS Variables - Light Theme */
:root {
  --primary-color: #0c4c8c;
  /* Forest Green */
  --primary-light: #2366a9;
  --primary-dark: #0e3c6a;
  --accent-color: #d4a574;
  /* Warm Gold */
  --accent-light: #e5c9a8;

  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f2f5;

  --text-primary: #1a1a2e;
  --text-secondary: #555555;
  --text-muted: #888888;

  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color) !important;
}

.navbar-logo {
  height: 50px;
  width: auto;
}


.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background: var(--bg-secondary);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(45, 106, 79, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================
   Hero Section with Image Slider
   ========================================= */
.hero-section {
  position: relative;
  margin-top: -76px;
  margin-bottom: 0;
  /* Offset for sticky navbar */
  padding-top: 0;
  padding-bottom: 0;
}


.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100vh;
  min-height: 600px;
}

.hero-section .carousel-item {
  overflow: hidden;
}

.hero-section .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translateX(0);
  }

  100% {
    transform: scale(1.1) translateX(-2%);
  }
}

.hero-section .carousel-caption {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  padding: 0;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: auto;
  max-width: 90%;
}

.hero-text-box {
  display: inline-block;
  background: rgba(0, 0, 0, 0.65);
  padding: 2rem 3rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-text-box h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-text-box p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  font-family: 'DM Sans', sans-serif;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-indicators {
  bottom: 40px;
  z-index: 10;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.carousel-indicators button.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}



/* =========================================
   Buttons
   ========================================= */
.btn-primary-custom {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  background: #fff;
  color: var(--primary-color);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: #fff;
}

/* =========================================
   Sections
   ========================================= */
section {
  padding: 100px 0;
}

.section-light {
  background: var(--bg-primary);
}

.section-alt {
  background: var(--bg-secondary);
}

.hero-section+.section-alt,
.hero-section+section {
  margin-top: 0;
}


.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

/* =========================================
   Cards - Modern Style
   ========================================= */
.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card .icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Service Image Cards */
.service-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================
   About Section
   ========================================= */
.about-content {
  padding-right: 3rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent-color);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.stats-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.stats-box h4 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.stats-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================
   Testimonials
   ========================================= */
.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--accent-color);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-author-info h5 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
  font-family: 'DM Sans', sans-serif;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-info-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--border-color);
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-info-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.contact-info-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-form {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form .form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
  background: var(--bg-primary);
}

/* =========================================
   Gallery
   ========================================= */
.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-card:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-card .card-body {
  padding: 1.5rem;
}

.gallery-card .card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.gallery-card .card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* =========================================
   Rental Criteria
   ========================================= */
.criteria-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: var(--transition);
}

.criteria-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.criteria-number {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.75rem;
}

.criteria-card h5 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.criteria-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* =========================================
   Page Header
   ========================================= */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 120px 0 80px;
  text-align: center;
  color: #fff;
}

.page-header h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  color: #fff !important;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}


/* =========================================
   Footer
   ========================================= */
footer {
  background: var(--text-primary);
  color: #fff;
  padding: 80px 0 30px;
}

footer h5 {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.75rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  margin-right: 0.75rem;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}


/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  section {
    padding: 60px 0;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 3rem;
  }

  .about-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .page-header {
    padding: 100px 0 60px;
  }
}

/* =========================================
   Animations (AOS overrides)
   ========================================= */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}