:root {
  --primary-color: #d32f2f; /* Deep Red */
  --secondary-color: #fbc02d; /* Warm Gold */
  --dark-color: #1a1a1a;
  --light-color: #fff9f0; /* Cream */
  --text-color: #333;
  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
header.main-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo img {
  max-height: 70px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

nav.main-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav.main-nav ul li a {
  font-weight: 500;
  transition: var(--transition);
}

nav.main-nav ul li a:hover, nav.main-nav ul li a.active {
  color: #ffb600;
}

.book-now-btn {
  background-color: #18330c;
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  box-shadow:0 4px 15px rgba(27, 55, 16, 0.69);
  transition: var(--transition);
  animation: pulse 2s infinite;
  display: inline-block;
}

.book-now-btn:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(251, 192, 45, 0.4);
  color: var(--dark-color) !important;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Auto-Sliding Banner (Index Page) */
.slider-container {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-content {
  color: #fff;
  padding: 0 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h2 {
  color: #fff;
  font-size: 4.5rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.slider-btn {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 30px;
  transition: var(--transition);
}

.slider-btn:hover {
  background-color: #18330c;
  color: #fff;
}

/* Page Banners */
.page-banner {
  height: 45vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-content h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  animation: fadeDown 0.8s ease-out;
}

.page-banner-content p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Sections */
.section {
  padding: 6rem 5%;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #18330c;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-img {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.about-img::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  background: var(--secondary-color);
  z-index: -1;
  border-radius: 10px;
}

.about-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

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

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #555;
}

/* Services / Menu */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.menu-card {
  background: #fff;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-bottom: 4px solid #18330c;
}

.menu-card h3 {
  color: #18330c;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 0.8rem;
  position: relative;
}

.menu-card h3::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 50px; height: 2px;
  background: var(--secondary-color);
}

.menu-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f9f9f9;
  display: flex;
  align-items: flex-start;
  color: #555;
}

.menu-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--secondary-color);
  margin-right: 12px;
  margin-top: 3px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(251, 192, 45, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: #fff;
  font-size: 2.5rem;
  transform: scale(0);
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Contact */
.contact-container {
  display: flex;
  gap: 4rem;
  background: #fff;
  padding: 4rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.contact-info {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.info-item i {
  color: #fff;
  background: #18330c;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  box-shadow: 0 5px 15px rgba(211,47,47,0.3);
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #eee;
  background: #fdfdfd;
  border-radius: 8px;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: #18330c;
  background: #fff;
  box-shadow: 0 0 10px rgba(211,47,47,0.1);
}

.submit-btn {
  background: #18330c;
  color: #fff;
  border: none;
  padding: 1.2rem 2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
}

/* Comprehensive Footer */
footer.main-footer {
  background: #111;
  color: #ddd;
  padding: 5rem 5% 0;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-widget h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--secondary-color);
}

.footer-widget p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px; height: 40px;
  background: #222;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: #18330c;
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 10px;
  color: #fbc02d;
}

.footer-contact li {
  display: flex;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--secondary-color);
  margin-right: 15px;
  margin-top: 5px;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #333;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
}

.footer-bottom p span {
  color: var(--secondary-color);
}

/* ============================
   LVN HOMEPAGE SECTIONS CSS
   ============================ */

.gray-bg { background-color: #f7f7f7; }
.dark-bg { background-color: #1a1a1a; }

/* Services Flip Cards */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.flip-card {
  background-color: transparent;
  height: 350px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 15px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  overflow: hidden;
}

.flip-card-front {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.flip-overlay {
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: #fff;
  text-align: left;
}

.flip-overlay h3 {
  color: #fff;
  margin: 0;
  font-size: 1.5rem;
}
.flip-overlay h3 i { margin-right: 10px; color: var(--secondary-color); }

.flip-card-back {
  background-color: #fff;
  color: var(--text-color);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.flip-card-back h3 {
  color: #18330c;
  margin-bottom: 1rem;
}

/* Why Choose Us Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.feature-box:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #18330c;
}

.feature-icon {
  width: 80px; height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #18330c;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  background: #18330c;
  color: #fff;
}

.feature-box h3 { margin-bottom: 1rem; font-size: 1.4rem; }

/* Our Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 3rem;
}

.work-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s;
}
.work-grid img:hover {
  transform: scale(1.05);
}

/* Testimonials (Jothys Style) */
.testimonials-section {
  position: relative;
  background-color: #f6f0eb; /* Equivalent to --color-four */
  padding: 5rem 5%;
  overflow: hidden; /* Hide overflowing slides */
}

/* Auto-slider wrapper */
.testi-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
}

.testi-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.testi-block {
  position: relative;
  flex: 0 0 calc(33.333% - 14px);
}

@media (max-width: 992px) {
  .testi-block {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .testi-block {
    flex: 0 0 100%;
  }
}

.testi-block .inner-box {
  position: relative;
  padding: 40px;
  background: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testi-block .quote-icon {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 74px;
}
.testi-block .quote-icon img {
  opacity: 0.1;
  width: 100%;
}

.testi-block .rating {
  position: relative;
  font-size: 12px;
  color: var(--secondary-color);
  letter-spacing: 1px;
  line-height: 20px;
  margin-bottom: 20px;
}

.testi-block .text {
  position: relative;
  font-size: 18px;
  line-height: 1.6em;
  font-family: "Playfair Display", serif;
  margin-bottom: 35px;
  color: var(--text-color);
  font-style: italic;
}

.testi-block .auth-info {
  position: relative;
  min-height: 84px;
  line-height: 20px;
  padding-top: 20px;
  padding-left: 105px;
}

.testi-block .auth-info .auth-title {
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
  color: #18330c;
  font-size: 14px;
  letter-spacing: 0.20em;
}

.testi-block .auth-info .image {
  position: absolute;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
}

.testi-block .auth-info .image img {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}

/* Our Gallery (Jothys Style) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
  padding: 0 25px;
}

.news-block {
  position: relative;
  margin-bottom: 30px;
}

.news-block .inner-box {
  position: relative;
  display: block;
}

.news-block .image-box {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}

.news-block .image-box:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 170px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.90), transparent);
  z-index: 1;
}

.news-block .image {
  position: relative;
  display: block;
  z-index: 0;
  overflow: hidden;
}

.news-block .image img {
  position: relative;
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 500ms ease;
}

.news-block .inner-box:hover img {
  transform: scale(1.05);
}

.news-block .over-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-left: 30px;
  padding-right: 25px;
  padding-bottom: 25px;
  z-index: 3;
}

.news-block .cat {
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 12px;
  letter-spacing: 0.20em;
  margin-bottom: 5px;
}

.news-block h4 {
  position: relative;
  margin-bottom: 0;
  color: #fff;
  font-size: 20px;
}

.gallery-btn-wrapper {
  text-align: center;
  margin-top: 2rem;
}

/* Floating Action Buttons (Jothys Style) */
.float, .c-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.62);
  animation: jump 1.8s infinite ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* WhatsApp Button Position */
.float {
  bottom: 90px;
  left: 20px;
  background-color: transparent;
}

/* Call Button Position */
.c-phone {
  bottom: 160px;
  left: 20px;
  background-color: transparent;
  animation-delay: 0.5s;
}

.float img, .c-phone img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

@keyframes jump {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.float:hover, .c-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Animations on Scroll */
.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .about-content, .contact-container {
    flex-direction: column;
  }
  .slide-content h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav.main-nav ul {
    display: none; /* Mobile menu logic omitted for brevity */
  }
  .page-banner-content h1 {
    font-size: 2.5rem;
  }
}

/* Image Modal / Lightbox */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
  color: #18330c;
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}
