/* Zenlivery - Main Stylesheet */

/* Importing fonts (Montserrat and Lora - visually appealing, not standard) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lora:wght@400;500;600&display=swap');

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables for Consistent Design */
:root {
  /* Color Palette */
  --zenlivery-white: #ffffff;
  --zenlivery-dark-green: #4B5945;
  --zenlivery-medium-green: #66785F;
  --zenlivery-light-green: #91AC8F;
  --zenlivery-pale-green: #B2C9AD;

  /* Spacing Variables */
  --zenlivery-space-xs: 0.5rem;
  --zenlivery-space-sm: 1rem;
  --zenlivery-space-md: 2rem;
  --zenlivery-space-lg: 3rem;
  --zenlivery-space-xl: 5rem;

  /* Font Sizes */
  --zenlivery-font-xs: 0.875rem;
  --zenlivery-font-sm: 1rem;
  --zenlivery-font-md: 1.25rem;
  --zenlivery-font-lg: 1.75rem;
  --zenlivery-font-xl: 2.5rem;
  --zenlivery-font-xxl: 3.5rem;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--zenlivery-dark-green);
  overflow-x: hidden;
  background-color: var(--zenlivery-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  margin-bottom: var(--zenlivery-space-md);
  font-weight: 600;
  color: var(--zenlivery-dark-green);
}

h1 {
  font-size: var(--zenlivery-font-xxl);
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: var(--zenlivery-font-xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h3 {
  font-size: var(--zenlivery-font-lg);
}

p {
  margin-bottom: var(--zenlivery-space-md);
  font-size: var(--zenlivery-font-sm);
}

a {
  color: var(--zenlivery-medium-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.zenlivery-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--zenlivery-space-md);
}

/* Buttons */
.zenlivery-btn {
  display: inline-block;
  padding: var(--zenlivery-space-sm) var(--zenlivery-space-sm);
  background-color: var(--zenlivery-medium-green);
  color: var(--zenlivery-white);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.zenlivery-btn:hover {
    background-color: var(--zenlivery-dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.zenlivery-btn-outline {
  background-color: transparent;
  border: 2px solid var(--zenlivery-medium-green);
  color: var(--zenlivery-medium-green);
}

.zenlivery-btn-outline:hover {
  background-color: var(--zenlivery-medium-green);
  color: var(--zenlivery-white);
}

/* Header and Navigation */
.zenlivery-header {
  padding: var(--zenlivery-space-xs) 0;
  position: sticky;
  top: 0;
  background-color: var(--zenlivery-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.zenlivery-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zenlivery-logo {
  height: 50px;
}

.zenlivery-nav {
  display: flex;
  align-items: center;
}

.zenlivery-nav-links {
  display: flex;
  list-style: none;
}

.zenlivery-nav-links li {
  margin-left: var(--zenlivery-space-md);
}

.zenlivery-nav-links a {
  font-weight: 500;
  padding: var(--zenlivery-space-xs) 0;
  position: relative;
}

.zenlivery-nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--zenlivery-medium-green);
  transition: width 0.3s ease;
}

.zenlivery-nav-links a:hover::after {
  width: 100%;
}

.zenlivery-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--zenlivery-dark-green);
  cursor: pointer;
}

/* Hero Section */
.zenlivery-hero {
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--zenlivery-pale-green);
}

.zenlivery-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--zenlivery-space-lg) 0;
  max-width: 45%;
}

.zenlivery-hero-title {
  margin-bottom: var(--zenlivery-space-sm);
}

.zenlivery-hero-subtitle {
  font-size: var(--zenlivery-font-md);
  margin-bottom: var(--zenlivery-space-md);
  color: var(--zenlivery-medium-green);
  font-size: 16px;
}

.zenlivery-hero-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
}

/* Sections Common */
.zenlivery-section {
  padding: var(--zenlivery-space-lg) 0;
}

.zenlivery-section-title {
  text-align: center;
  margin-bottom: var(--zenlivery-space-lg);
}

.zenlivery-section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--zenlivery-space-lg);
  color: var(--zenlivery-medium-green);
}

/* Services Section */
.zenlivery-services {
  background-color: var(--zenlivery-white);
}

.zenlivery-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--zenlivery-space-md);
}

.zenlivery-service-card {
  background-color: var(--zenlivery-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
}

.zenlivery-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.zenlivery-service-image {
  height: 150%;
  width: 100%;
  object-fit: cover;
}

.zenlivery-service-content {
  padding: var(--zenlivery-space-md);
}

.zenlivery-service-title {
  font-size: var(--zenlivery-font-md);
  margin-bottom: var(--zenlivery-space-sm);
}

.zenlivery-service-price {
  font-weight: 600;
  color: var(--zenlivery-medium-green);
  margin: var(--zenlivery-space-sm) 0;
  font-size: var(--zenlivery-font-md);
}

/* About Section */
.zenlivery-about {
  background-color: var(--zenlivery-pale-green);
  position: relative;
  overflow: hidden;
}

.zenlivery-about-container {
  display: flex;
  align-items: center;
  gap: var(--zenlivery-space-lg);
}

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

.zenlivery-about-content {
  flex: 1;
}

/* Testimonials Section */
.zenlivery-testimonials {
  background-color: var(--zenlivery-white);
}

.zenlivery-testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.zenlivery-testimonial {
  text-align: center;
  padding: var(--zenlivery-space-md);
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-testimonial-text {
  font-style: italic;
  font-size: var(--zenlivery-font-md);
  margin-bottom: var(--zenlivery-space-md);
  position: relative;
}

.zenlivery-testimonial-text::before,
.zenlivery-testimonial-text::after {
  content: '"';
  font-size: 4rem;
  color: var(--zenlivery-pale-green);
  position: absolute;
  line-height: 1;
}

.zenlivery-testimonial-text::before {
  top: -20px;
  left: -20px;
}

.zenlivery-testimonial-text::after {
  bottom: -40px;
  right: -20px;
}

.zenlivery-testimonial-author {
  font-weight: 600;
  color: var(--zenlivery-dark-green);
}

/* Pricing Section */
.zenlivery-pricing {
  background-color: var(--zenlivery-pale-green);
}

.zenlivery-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--zenlivery-space-md);
}

.zenlivery-price-card {
  background-color: var(--zenlivery-white);
  border-radius: 8px;
  padding: var(--zenlivery-space-md);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.zenlivery-price-card:hover {
  transform: scale(1.03);
}

.zenlivery-price-card.zenlivery-featured {
  border: 3px solid var(--zenlivery-medium-green);
  transform: scale(1.05);
}

.zenlivery-price-title {
  color: var(--zenlivery-dark-green);
  margin-bottom: var(--zenlivery-space-sm);
}

.zenlivery-price-amount {
  font-size: var(--zenlivery-font-xl);
  color: var(--zenlivery-medium-green);
  margin-bottom: var(--zenlivery-space-md);
  font-weight: 700;
}

.zenlivery-price-description {
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-price-features {
  list-style: none;
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-price-features li {
  margin-bottom: var(--zenlivery-space-xs);
  padding-bottom: var(--zenlivery-space-xs);
  border-bottom: 1px solid var(--zenlivery-pale-green);
}

/* Gallery Section */
.zenlivery-gallery {
  background-color: var(--zenlivery-white);
  overflow: hidden;
}

.zenlivery-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--zenlivery-space-sm);
}

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

.zenlivery-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.zenlivery-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(75, 89, 69, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.zenlivery-gallery-title {
  color: var(--zenlivery-white);
  text-align: center;
  padding: 0 var(--zenlivery-space-sm);
}

/* Contact Section */
.zenlivery-contact {
  background-color: var(--zenlivery-light-green);
}

.zenlivery-contact-container {
  display: flex;
  gap: var(--zenlivery-space-lg);
}

.zenlivery-contact-info {
  flex: 1;
}

.zenlivery-contact-form {
  flex: 2;
}

.zenlivery-contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-contact-icon {
  margin-right: var(--zenlivery-space-sm);
  width: 24px;
  height: 24px;
  fill: var(--zenlivery-dark-green);
}

.zenlivery-form-group {
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-label {
  display: block;
  margin-bottom: var(--zenlivery-space-xs);
  font-weight: 500;
}

.zenlivery-input,
.zenlivery-textarea {
  width: 100%;
  padding: var(--zenlivery-space-sm);
  border: 1px solid var(--zenlivery-pale-green);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

.zenlivery-input:focus,
.zenlivery-textarea:focus {
  outline: none;
  border-color: var(--zenlivery-medium-green);
}

.zenlivery-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.zenlivery-footer {
  background-color: var(--zenlivery-dark-green);
  color: var(--zenlivery-white);
  padding: var(--zenlivery-space-lg) 0;
}

.zenlivery-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--zenlivery-space-lg);
}

.zenlivery-footer-logo {
  height: 40px;
  margin-bottom: var(--zenlivery-space-md);
  filter: brightness(0) invert(1);
}

.zenlivery-footer-about {
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-footer-title {
  color: var(--zenlivery-white);
  margin-bottom: var(--zenlivery-space-md);
  font-size: var(--zenlivery-font-md);
  position: relative;
  padding-bottom: var(--zenlivery-space-xs);
}

.zenlivery-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--zenlivery-light-green);
}

.zenlivery-footer-links {
  list-style: none;
}

.zenlivery-footer-links li {
  margin-bottom: var(--zenlivery-space-xs);
}

.zenlivery-footer-links a {
  color: var(--zenlivery-pale-green);
}

.zenlivery-footer-links a:hover {
  color: var(--zenlivery-white);
}

.zenlivery-footer-bottom {
  margin-top: var(--zenlivery-space-lg);
  padding-top: var(--zenlivery-space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zenlivery-footer-copyright {
  font-size: var(--zenlivery-font-xs);
}

.zenlivery-social-icons {
  display: flex;
}

.zenlivery-social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-left: var(--zenlivery-space-sm);
  transition: all 0.3s ease;
}

.zenlivery-social-icon:hover {
  background-color: var(--zenlivery-light-green);
}

.zenlivery-social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--zenlivery-white);
}

/* Success Page */
.zenlivery-success {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--zenlivery-pale-green);
}

.zenlivery-success-container {
  max-width: 600px;
  padding: var(--zenlivery-space-xl);
  background-color: var(--zenlivery-white);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.zenlivery-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--zenlivery-space-md);
  fill: var(--zenlivery-medium-green);
}

/* Policy Pages */
.zenlivery-policy {
  padding: var(--zenlivery-space-md) 0;
}

.zenlivery-policy-container {
  max-width: 900px;
  margin: 0 auto;
}

.zenlivery-policy-section {
  margin-bottom: var(--zenlivery-space-md);
}

.zenlivery-policy-title {
  font-size: var(--zenlivery-font-lg);
  margin-bottom: var(--zenlivery-space-md);
}

/* Custom Icons */
.zenlivery-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Image Slideshow */
.zenlivery-slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 10px;
}

.zenlivery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.zenlivery-slide.active {
  opacity: 1;
}

.zenlivery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zenlivery-slideshow:hover .zenlivery-slide.active img {
  transform: scale(1.05);
}

.zenlivery-slideshow-nav {
  position: absolute;
  bottom: var(--zenlivery-space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.zenlivery-slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.zenlivery-slideshow-dot.active {
  background-color: var(--zenlivery-white);
  transform: scale(1.2);
}

.zenlivery-slideshow-prev,
.zenlivery-slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(75, 89, 69, 0.7);
  color: var(--zenlivery-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.zenlivery-slideshow-prev {
  left: var(--zenlivery-space-md);
}

.zenlivery-slideshow-next {
  right: var(--zenlivery-space-md);
}

.zenlivery-slideshow-prev:hover,
.zenlivery-slideshow-next:hover {
  background: rgba(75, 89, 69, 1);
}

/* Media Queries for Responsiveness */
@media (max-width: 991px) {
  :root {
    --zenlivery-font-xs: 1rem;
    --zenlivery-font-sm: 1.125rem;
    --zenlivery-font-md: 1.5rem;
    --zenlivery-font-lg: 2rem;
    --zenlivery-font-xl: 2.75rem;
    --zenlivery-font-xxl: 3.75rem;

    --zenlivery-space-xs: 0.75rem;
    --zenlivery-space-sm: 1.25rem;
    --zenlivery-space-md: 2.5rem;
    --zenlivery-space-lg: 4rem;
    --zenlivery-space-xl: 6rem;
  }

  .zenlivery-mobile-toggle {
    display: block;
  }

  .zenlivery-nav-links {
    position: fixed;
    top: 51px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--zenlivery-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--zenlivery-space-md);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .zenlivery-nav-links.active {
    right: 0;
  }

  .zenlivery-nav-links li {
    margin: 0 0 var(--zenlivery-space-sm) 0;
    width: 100%;
  }

  .zenlivery-nav-links a {
    display: block;
    padding: var(--zenlivery-space-xs) 0;
    width: 100%;
  }

  .zenlivery-hero {
    height: auto;
    min-height: 70vh;
    flex-direction: column-reverse;
  }

  .zenlivery-hero-image {
    position: relative;
    width: 100%;
    /* height: 50vh; */
    order: -1;
  }

  .zenlivery-hero-content {
    max-width: 100%;
    padding: var(--zenlivery-space-xl) 0;
  }

  .zenlivery-about-container {
    flex-direction: column;
  }

  .zenlivery-contact-container {
    flex-direction: column;
  }

  .zenlivery-slideshow {
    height: 350px;
  }

  h1 {
    font-size: var(--zenlivery-font-xl);
  }

  .zenlivery-about-container {
    align-items: unset;
  }
}

@media (max-width: 767px) {
  .zenlivery-pricing-grid,
  .zenlivery-gallery-container {
    /* grid-template-columns: 1fr; */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }

  .zenlivery-hero {
    text-align: center;
  }

  .zenlivery-testimonial-text::before,
  .zenlivery-testimonial-text::after {
    display: none;
  }

  .zenlivery-footer-bottom {
    flex-direction: column;
  }

  .zenlivery-footer-copyright {
    margin-bottom: 0;
  }

  .zenlivery-slideshow {
    height: 250px;
  }

  .zenlivery-testimonial {
    text-align: center;
    padding: var(--zenlivery-space-md) var(--zenlivery-space-xs) 0;
    margin-bottom: 0;
  }

  .zenlivery-slide img {
    height: 156%;
  }

  .zenlivery-section-title {
    margin-bottom: var(--zenlivery-space-sm);
  }
  .zenlivery-testimonial-text {
    font-size: var(--zenlivery-font-sm);
    margin-bottom: var(--zenlivery-space-sm);
  }
  .zenlivery-testimonial-author {
    margin-bottom: 20px;
  }
  h2 {
    font-size: var(--zenlivery-font-lg);
  }
  .zenlivery-footer-container {
    gap: var(--zenlivery-space-sm);
  }
  h3 {
    font-size: var(--zenlivery-font-md);
  }
  .zenlivery-footer-bottom {
    margin-top: var(--zenlivery-space-md);
  }
  .zenlivery-container {
    padding: 0 var(--zenlivery-space-sm);
  }
  .zenlivery-footer-logo {
    margin-bottom: var(--zenlivery-space-sm);
}
.zenlivery-footer-about {
    margin-bottom: var(--zenlivery-space-sm);
}
}

@media (max-width: 575px) {
  .zenlivery-price-card.zenlivery-featured {
    transform: none;
  }

  .zenlivery-hero-title {
    font-size: var(--zenlivery-font-md);
  }

  .zenlivery-section-title {
    font-size: var(--zenlivery-font-md);
  }

  .zenlivery-slideshow-prev,
  .zenlivery-slideshow-next {
    width: 30px;
    height: 30px;
  }

  .zenlivery-success-container {
    max-width: 100%;
    padding: 41px var(--zenlivery-space-sm);
  }

  .zenlivery-success {
    padding: 0 20px;
  }

  h1 {
    font-size: var(--zenlivery-font-lg);
  }

  .zenlivery-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 5px;
  }
  .zenlivery-price-amount {
    font-size: var(--zenlivery-font-md);
  }
  .zenlivery-contact-container {
    gap: var(--zenlivery-space-sm);
  }
  .zenlivery-slideshow-next {
    right: var(--zenlivery-space-xs);
  }
  .zenlivery-slideshow-prev {
    left: var(--zenlivery-space-xs);
  }
  .zenlivery-pricing-grid, .zenlivery-gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  .zenlivery-contact-container {
       gap: var(--zenlivery-space-sm);
  }
  .zenlivery-policy-section ul {
    padding-left: 16px;
  }
p {
    font-size: 16px;
}
.zenlivery-btn {
    font-size: 14px;
}
.zenlivery-logo {
    height: 40px;
}
.zenlivery-header {
    padding: 5px 0;
}
.zenlivery-container.zenlivery-nav-container a {
   height: 40px;
}
.zenlivery-policy-title {
  font-size: var(--zenlivery-font-md);
}
.zenlivery-form-group {
    margin-bottom: var(--zenlivery-space-sm);
}
}

@media (max-width: 359px) {
  :root {
    --zenlivery-font-xs: 0.9rem;
    --zenlivery-font-sm: 1rem;
    --zenlivery-font-md: 1.375rem;
    --zenlivery-font-lg: 1.75rem;
    --zenlivery-font-xl: 2.5rem;
    --zenlivery-font-xxl: 3.5rem;
  }
}
