/* Modern Design System for Godevi Homepage Redesign */

:root {
  --primary-color: #d81c25;
  --secondary-color: #f8f9fa;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
}

/* Modern Typography */
body {
  font-family: 'Inter', 'Poppins', sans-serif !important;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Modern Cards */
.modern-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: none;
  margin-bottom: 30px;
}

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

.modern-card .content {
  padding: 25px;
}

.modern-card .image {
  overflow: hidden;
  position: relative;
}

/* Image Zoom on Hover */
.img-zoom {
  transition: var(--transition-smooth);
}

.modern-card:hover .img-zoom {
  transform: scale(1.08);
}

/* Hover Lift */
.hover-lift {
  transition: var(--transition-smooth);
}
.hover-lift:hover {
  transform: translateY(-5px);
}

/* Section Styling Enhancements */
.section-title h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--text-dark);
}
.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.bg-light {
  background-color: var(--secondary-color) !important;
}

/* Hero Carousel Text Enchancements */
.home-banner-area .carousel-caption {
  background: transparent;
  padding: 10px 20px;
  display: inline-block;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.home-banner-area .carousel-caption h1 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700 !important;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

/* Buttons */
.btn-primary, .btn-danger {
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(216, 28, 37, 0.3);
  border: none;
}
.btn-primary:hover, .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 28, 37, 0.4);
}

/* Adjustments for existing structures to match modern vibe */
.item-single {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.03);
}
.item-single:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.item-single .image img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.item-single:hover .image img {
  transform: scale(1.05);
}

/* Service Carousel Overrides */
#recipeCarousel .item-single {
  padding: 30px 20px;
  text-align: center;
  height: 100%;
}
#recipeCarousel .item-single img {
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
#recipeCarousel .item-single:hover img {
  transform: scale(1.1);
}

/* Video Section Floating Look */
.iframe-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 5px solid white;
}

/* Village Card Modern Layout */
.village-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-bottom: 30px;
  background-color: #000;
}

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

.village-card .village-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 0.8;
}

.village-card:hover .village-img {
  transform: scale(1.1);
  opacity: 0.6;
}

.village-card .village-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.village-card .village-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  color: #fff;
  text-align: left;
  transform: translateY(calc(100% - 100px));
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.village-card:hover .village-content {
  transform: translateY(0);
}

.village-card .village-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.village-card .village-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.5s ease 0.1s;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.village-card:hover .village-desc {
  opacity: 1;
}

.village-card .explore-btn {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: var(--primary-color);
  padding: 8px 24px;
  border-radius: 30px;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
  box-shadow: 0 4px 15px rgba(216, 28, 37, 0.4);
}

.village-card:hover .explore-btn {
  opacity: 1;
}

/* Modern Testimonial Section */
.testimonial-section {
  position: relative;
  background-color: var(--secondary-color) !important;
  padding: 80px 0;
}

/* Remove old conflicting design elements from original style.css */
.testimonial-section .testimonial-slider::before,
.testimonial-section .testimonial-slider::after {
  display: none !important;
}

.modern-testimonial-card {
  background: #fff;
  border-radius: var(--border-radius-lg);
  padding: 60px 40px 40px 40px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.05);
  position: relative;
  transition: var(--transition-smooth);
  margin: 40px 15px 20px 15px;
  text-align: center;
  border: none;
}

.modern-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.modern-testimonial-card .quote-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(216, 28, 37, 0.3);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-testimonial-card .client-content {
  position: relative;
  z-index: 1;
}

.modern-testimonial-card .client-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
}

.modern-testimonial-card .client-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 25px;
}

.modern-testimonial-card .client-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin: 0 auto;
}

.modern-testimonial-card .client-img img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  object-fit: cover !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 3px solid #fff;
}

.modern-testimonial-card .client-info {
  text-align: center;
}

.modern-testimonial-card .client-info h3 {
  font-size: 18px;
  margin: 0 0 5px;
  color: var(--text-dark);
  font-weight: 700;
}

.modern-testimonial-card .client-info span {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modern-testimonial-card .review-stars {
  color: #ffb800;
  font-size: 16px;
  margin-top: 10px;
}

.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--primary-color) !important;
}

/* Services Slick Slider Customization */
.services-slider {
  padding: 20px 0 40px;
}

.services-slider .slick-slide {
  margin: 0 10px;
  outline: none;
}

.services-slider .slick-list {
  padding: 15px 0; /* Room for box shadows */
}

.services-prev, .services-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.services-prev:hover, .services-next:hover {
  background: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.services-prev {
  left: -40px;
}

.services-next {
  right: -40px;
}

@media (max-width: 992px) {
  .services-prev { left: -15px; }
  .services-next { right: -15px; }
}

.services-slider .modern-card {
  padding: 40px 20px;
  margin-bottom: 0;
  border: 1px solid rgba(0,0,0,0.03);
}

.services-slider .slick-dots {
  bottom: 0px;
}

.services-slider .slick-dots li button:before {
  font-size: 14px;
  color: #ccc;
  opacity: 1;
}

.services-slider .slick-dots li.slick-active button:before {
  color: var(--primary-color);
}
