/* Patio Elegant CSS - Custom styling for the patio.html page */

:root {
  --primary-color: #0d6efd;
  --secondary-color: #f8b500;
  --dark-blue: #0a4da8;
  --light-blue: #e6f3ff;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #e0a800);
  --gradient-light: linear-gradient(135deg, #f8f9fa, #e9ecef);
  --gradient-gold: linear-gradient(135deg, #f8b500, #e0a800);
}

/* Hero Section Enhancements */
.service-hero {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.service-hero-content {
  max-width: 800px;
  color: var(--white);
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.hero-badge i {
  font-size: 16px;
}

.service-hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-feature i {
  color: var(--secondary-color);
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

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

.hero-stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.hero-stat-text {
  font-size: 14px;
  opacity: 0.8;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--secondary-color);
  bottom: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite;
}

/* Introduction Section Enhancements */
.service-details {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.elegant-bg-shape {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 400px;
  height: 400px;
  background: var(--light-blue);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  animation: float 15s ease-in-out infinite;
}

.elegant-bg-shape-2 {
  top: auto;
  right: auto;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  animation-duration: 20s;
  animation-delay: 2s;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-blue);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.1);
}

.section-badge i {
  font-size: 16px;
  color: var(--secondary-color);
}

.elegant-divider {
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 20px 0 25px;
  border-radius: 2px;
  position: relative;
}

.elegant-divider span {
  position: absolute;
  right: -10px;
  top: -3px;
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.intro-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--dark-gray);
  font-weight: 500;
  margin-bottom: 20px;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Clean Layout Styles */
.clean-layout {
  padding: 60px 0;
  background-color: #fff;
}

/* Clean Header */
.clean-header {
  text-align: left;
  margin-bottom: 40px;
}

.clean-badge {
  display: inline-block;
  background-color: #f8b500;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.clean-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.clean-underline {
  width: 40px;
  height: 4px;
  background-color: #0d6efd;
  margin-bottom: 30px;
}

/* Two Column Layout */
.clean-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
}

.clean-text-column {
  padding-right: 20px;
}

.clean-intro-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.clean-paragraph {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.clean-image-column {
  position: relative;
}

.clean-main-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Clean Gallery */
.clean-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.clean-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

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

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

/* Benefits Section */
.clean-benefits-section {
  margin-top: 40px;
}

.clean-benefits-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  padding-left: 12px;
  border-left: 3px solid #0d6efd;
}

/* Benefits Grid */
.clean-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  position: relative;
}

.clean-benefit-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.clean-benefit-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clean-benefit-icon.blue {
  background-color: rgba(13, 110, 253, 0.1);
}

.clean-benefit-icon.blue i {
  color: #0d6efd;
}

.clean-benefit-icon.green {
  background-color: rgba(25, 135, 84, 0.1);
}

.clean-benefit-icon.green i {
  color: #198754;
}

.clean-benefit-icon.orange {
  background-color: rgba(253, 126, 20, 0.1);
}

.clean-benefit-icon.orange i {
  color: #fd7e14;
}

.clean-benefit-icon.purple {
  background-color: rgba(111, 66, 193, 0.1);
}

.clean-benefit-icon.purple i {
  color: #6f42c1;
}

.clean-benefit-icon.yellow {
  background-color: rgba(255, 193, 7, 0.1);
}

.clean-benefit-icon.yellow i {
  color: #ffc107;
}

.clean-benefit-icon i {
  font-size: 18px;
}

.clean-benefit-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.clean-benefit-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* Experience Badge */
.clean-experience-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #f8b500;
  color: #fff;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
}

.clean-years {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.clean-text {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

/* Additional Benefits */
.clean-additional-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.clean-benefit-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clean-benefit-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .clean-two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .clean-text-column {
    padding-right: 0;
    order: 2;
  }
  
  .clean-image-column {
    order: 1;
  }
  
  .clean-benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .clean-experience-badge {
    position: relative;
    margin: 20px auto;
  }
}

@media (max-width: 768px) {
  .clean-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .clean-benefit-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .clean-benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .clean-benefit-content {
    text-align: center;
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .elegant-intro-container {
    grid-template-columns: 1fr;
  }
  
  .elegant-image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .elegant-image-gallery {
    grid-template-columns: 1fr;
  }
}

.service-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 8px solid var(--white);
}

.service-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.service-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  color: var(--dark-gray);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-image-badge i {
  color: var(--secondary-color);
}

.experience-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  color: var(--white);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
  animation: pulse 2s infinite;
}

.experience-badge .years {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(248, 181, 0, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(248, 181, 0, 0.3);
  }
}

.service-benefits {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-item {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 15px;
  transition: var(--transition);
  border-left: 4px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.benefit-item:hover {
  border-left-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
  background: var(--primary-color);
}

.benefit-icon i {
  color: var(--primary-color);
  font-size: 20px;
  transition: var(--transition);
}

.benefit-item:hover .benefit-icon i {
  color: var(--white);
}

.benefit-content {
  flex: 1;
}

.benefit-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-gray);
}

.mini-divider {
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  margin-bottom: 10px;
  border-radius: 2px;
}

/* Materials Section Enhancements */
.paver-materials {
  padding: 80px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--medium-gray);
  max-width: 700px;
  margin: 0 auto;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.material-item {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-top: 5px solid transparent;
}

.material-item:nth-child(1) {
  border-top-color: #6c757d;
}

.material-item:nth-child(2) {
  border-top-color: #dc3545;
}

.material-item:nth-child(3) {
  border-top-color: #6f42c1;
}

.material-item:nth-child(4) {
  border-top-color: #20c997;
}

.material-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.material-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.material-item:nth-child(1) .material-icon {
  background: rgba(108, 117, 125, 0.1);
}

.material-item:nth-child(2) .material-icon {
  background: rgba(220, 53, 69, 0.1);
}

.material-item:nth-child(3) .material-icon {
  background: rgba(111, 66, 193, 0.1);
}

.material-item:nth-child(4) .material-icon {
  background: rgba(32, 201, 151, 0.1);
}

.material-item:nth-child(1) .material-icon i {
  color: #6c757d;
}

.material-item:nth-child(2) .material-icon i {
  color: #dc3545;
}

.material-item:nth-child(3) .material-icon i {
  color: #6f42c1;
}

.material-item:nth-child(4) .material-icon i {
  color: #20c997;
}

.material-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.material-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.material-item p {
  margin-bottom: 20px;
  color: var(--medium-gray);
}

.material-item ul {
  padding-left: 20px;
}

.material-item ul li {
  margin-bottom: 10px;
  position: relative;
}

.material-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

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

.material-item:hover .material-image img {
  transform: scale(1.05);
}

/* Design Ideas Section Enhancements */
.design-ideas {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.design-item {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.design-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.design-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.design-icon i {
  font-size: 24px;
  color: var(--primary-color);
}

.design-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.design-item p {
  margin-bottom: 20px;
  color: var(--medium-gray);
}

.design-item ul {
  padding-left: 20px;
}

.design-item ul li {
  margin-bottom: 10px;
}

.design-image {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

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

.design-item:hover .design-image img {
  transform: scale(1.05);
}

/* Process Section Enhancements */
.service-process {
  padding: 80px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
}

.process-item {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.process-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.process-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.process-item p {
  color: var(--medium-gray);
}

.process-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

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

.process-item:hover .process-image img {
  transform: scale(1.05);
}

/* Maintenance Tips Section Enhancements */
.maintenance-tips {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.maintenance-item {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition);
  text-align: center;
}

.maintenance-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.maintenance-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.maintenance-icon i {
  font-size: 30px;
  color: var(--primary-color);
}

.maintenance-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.maintenance-item p {
  color: var(--medium-gray);
}

.maintenance-image {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 20px;
}

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

.maintenance-item:hover .maintenance-image img {
  transform: scale(1.05);
}

/* Comparison Table Section Enhancements */
.comparison-table {
  padding: 80px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.comparison-grid {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-grid th,
.comparison-grid td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-grid th {
  background: var(--gradient-primary);
  color: var(--white);
  font-weight: 600;
}

.comparison-grid th.highlight {
  background: var(--gradient-secondary);
}

.comparison-grid td.highlight {
  background: rgba(248, 181, 0, 0.1);
}

.comparison-grid tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.comparison-grid i.fa-star {
  color: var(--secondary-color);
}

.comparison-grid i.fa-check {
  color: #28a745;
}

.comparison-grid i.fa-minus {
  color: var(--medium-gray);
}

.comparison-grid i.fa-exclamation-triangle {
  color: #dc3545;
}

/* FAQ Section Enhancements */
.faq-section {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
}

.faq-item {
  background: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-5px);
}

.faq-question {
  padding: 20px;
  background: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
}

.faq-question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question {
  background: var(--primary-color);
  color: var(--white);
}

.faq-item.active .faq-question i {
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--box-shadow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-title {
  color: var(--white);
  margin: 0 0 5px 0;
  font-size: 18px;
}

.gallery-description {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 14px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/paver-patio.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 20px;
  position: relative;
  padding-left: 25px;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 50px;
  color: var(--light-blue);
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar i {
  color: var(--primary-color);
  font-size: 20px;
}

.testimonial-info h4 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.testimonial-info p {
  margin: 0;
  font-size: 14px;
  color: var(--medium-gray);
}

/* CTA Section Enhancements */
.service-cta {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 20px;
  font-size: 18px;
  opacity: 0.9;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
}

.cta-feature i {
  color: var(--secondary-color);
}

.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.cta-buttons .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.cta-buttons .btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
}

.cta-guarantee {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
}

.cta-guarantee h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
}

.cta-guarantee h4 i {
  color: var(--secondary-color);
}

.cta-guarantee p {
  font-size: 14px;
  opacity: 0.8;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-hero-content h1 {
    font-size: 36px;
  }
  
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .service-image {
    margin-top: 30px;
  }
  
  .service-benefits {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hero-content h1 {
    font-size: 30px;
  }
  
  .hero-features {
    flex-direction: column;
  }
  
  .hero-feature {
    width: 100%;
  }
  
  .materials-grid,
  .design-grid,
  .process-grid,
  .maintenance-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
}
