/* ========================================
   Renovix Construction - Custom Styles
   ======================================== */

/* Theme Variables */
:root {
  --bs-primary: #037B94;        /* Dark teal (from logo) */
  --bs-primary-dark: #025a6d;   /* Darker teal for hover */
  --bs-secondary: #178E9E;      /* Turquoise (from logo) */
  --bs-body-bg: #f8fafc;        /* Clean white background */
  --bs-body-color: #212529;     /* Dark text */
  --bs-dark: #014772;           /* Dark blue (from logo) */
}

/* Global Styles */
body {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  padding-top: 0; /* No padding needed - navbar not sticky */
}

/* Navbar Customization */
.navbar {
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #212529 !important;
}

.navbar-brand img {
  height: 80px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: #212529 !important;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #037B94 0%, #01124A 100%);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--bs-primary-dark);
  border-color: var(--bs-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.3);
}

/* Carousel Customization */
.carousel {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-item img {
  height: 500px;
  object-fit: contain;
  width: 100%;
  background-color: #f8fafc;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 20px;
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.card-img-top {
  border-radius: 10px 10px 0 0;
  height: 250px;
  object-fit: cover;
}

/* List Group */
.list-group-item {
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  padding: 1rem 1.25rem;
}

.list-group-item:hover {
  border-left-color: var(--bs-primary);
  background-color: #f8f9fa;
  padding-left: 1.5rem;
}

.list-group-item i {
  color: var(--bs-primary);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--bs-dark);
  color: white;
  padding: 2rem 0 1rem;
  margin-top: 4rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

footer .social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 5px;
  transition: all 0.3s ease;
}

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

/* Section Headings */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--bs-dark);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--bs-primary);
}

/* Contact Form */
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(217, 119, 6, 0.25);
}

/* Info Box */
.info-box {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.info-box h3 {
  color: var(--bs-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.info-box i {
  color: var(--bs-primary);
  margin-right: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .carousel-item img {
    height: 300px;
  }
  
  body {
    padding-top: 0;
  }
}

/* Gallery Page */
.gallery-section {
  margin-bottom: 3.5rem;
}

.gallery-thumb-wrap {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-thumb-wrap:hover .gallery-thumb {
  transform: scale(1.05);
}

/* Utility Classes */
.text-primary {
  color: var(--bs-primary) !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

