/* Services Page Creative Styling */

/* Hero Section - Strong Color Contrast */
.services-hero {
  min-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1e3d38 0%, #2d5a54 50%, #407F76 100%);
  overflow: hidden;
  margin-top: 60px;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/services/_DSC3388.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 1;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(64, 127, 118, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.services-hero-content {
  max-width: 900px;
  padding: 0 40px;
  position: relative;
  z-index: 3;
  color: var(--white);
}

.services-hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

.services-hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.whatsapp-btn::before {
  background-color: var(--white) !important;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(198, 154, 53, 0.4);
}

.whatsapp-btn:hover span,
.whatsapp-btn:hover i {
  color: var(--secondary-color);
}

.whatsapp-btn i {
  font-size: 1.2rem;
}

.secondary-cta {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.secondary-cta::before {
  background-color: var(--secondary-color);
}

.secondary-cta:hover span,
.secondary-cta:hover svg path,
.secondary-cta:hover svg polyline {
  color: var(--white);
  stroke: var(--white);
}

/* Masonry Layout */
.services-masonry-section {
  padding: 6rem 0;
  background: var(--white);
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.masonry-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

/* Masonry Item Sizes - Creative Non-Proportional Layout */
.masonry-item.large {
  grid-column: span 7;
  min-height: 600px;
}

.masonry-item.medium {
  grid-column: span 3;
  min-height: 600px;
}

.masonry-item.small {
  grid-column: span 2;
  min-height: 600px;
}

/* Reverse layout for second row */
.masonry-row.reverse .masonry-item.small {
  grid-column: span 2;
}

.masonry-row.reverse .masonry-item.medium {
  grid-column: span 4;
}

.masonry-row.reverse .masonry-item.large {
  grid-column: span 6;
}

.masonry-item {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.masonry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
  transition: all 0.4s ease;
  z-index: 1;
}

.masonry-item:hover::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
}

.masonry-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.masonry-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--white);
}

.service-icon-white {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.masonry-item:hover .service-icon-white {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: rotate(360deg);
}

.service-icon-white i {
  font-size: 2rem;
  color: var(--white);
}

.masonry-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
}

.masonry-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.service-features-white {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
}

.service-features-white li {
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.service-features-white i {
  color: var(--secondary-color);
  font-size: 1rem;
}

/* CTA Whitespace - User-First Appeal */
.cta-whitespace {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-expand.white-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 154, 53, 0.4);
}

.btn-expand.white-btn i {
  font-size: 1.1rem;
}

/* Additional Services Grid */
.additional-services {
  padding: 6rem 0;
}

.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 3rem;
}

.service-card-image {
  position: relative;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
  transition: all 0.3s ease;
}

.service-card-image:hover::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 100%);
}

.service-card-image:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.service-card-overlay {
  position: relative;
  z-index: 2;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--white);
}

.service-card-overlay h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card-overlay p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: auto;
}

/* Booking/Contact Section */
.booking-contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a54 100%);
  position: relative;
  overflow: hidden;
}

.booking-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('/img/services/_DSC8804.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.booking-contact-section h2 {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.booking-contact-section h2::after {
  background: rgba(255, 255, 255, 0.5);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.booking-info {
  color: var(--white);
}

.booking-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.booking-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.2rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  color: var(--secondary-color);
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.quick-links {
  margin-top: 2rem;
}

.booking-form-wrapper {
  background: var(--white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.booking-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.booking-form .form-control {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.booking-form .form-control:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 127, 118, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.btn-expand.full-width {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  margin-top: 1rem;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-expand.full-width:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* CTA Banner */
.cta-banner {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4a843 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/img/services/_DSC3472.JPG');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.cta-banner h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-banner h2::after {
  display: none;
}

.cta-banner p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-banner .cta {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.cta-banner .cta::before {
  background-color: var(--primary-color);
}

.cta-banner .cta:hover span,
.cta-banner .cta:hover i {
  color: var(--white);
}

.cta-banner .whatsapp-btn {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.cta-banner .whatsapp-btn::before {
  background-color: var(--white);
}

.cta-banner .whatsapp-btn:hover span,
.cta-banner .whatsapp-btn:hover i {
  color: #25D366;
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fade-in 1s ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up.visible,
.slide-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .masonry-item.large {
    grid-column: span 6;
  }

  .masonry-item.medium {
    grid-column: span 4;
  }

  .masonry-item.small {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .services-hero h1 {
    font-size: 3rem;
  }

  .masonry-row {
    grid-template-columns: repeat(6, 1fr);
  }

  .masonry-item.large,
  .masonry-item.medium {
    grid-column: span 6;
    min-height: 500px;
  }

  .masonry-item.small {
    grid-column: span 3;
    min-height: 400px;
  }

  .services-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 70vh;
    margin-top: 60px;
  }

  .services-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .services-hero p {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta-group .cta,
  .hero-cta-group .cta-whatsapp {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .masonry-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .masonry-item.large,
  .masonry-item.medium,
  .masonry-item.small {
    width: 100%;
    min-height: 400px;
  }

  .masonry-content {
    padding: 30px 25px;
  }

  .masonry-content h3 {
    font-size: 1.5rem;
  }

  .masonry-content p {
    font-size: 0.95rem;
  }

  .services-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-image {
    min-height: 400px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-info h3 {
    font-size: 1.6rem;
  }

  .booking-info p {
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
  }

  .booking-form-wrapper {
    padding: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.8rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-buttons .cta {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  /* Footer responsive */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .services-hero h1 {
    font-size: 1.75rem;
  }

  .services-hero p {
    font-size: 0.95rem;
  }

  .masonry-content,
  .service-card-overlay {
    padding: 20px;
  }

  .masonry-item.large,
  .masonry-item.medium,
  .masonry-item.small {
    min-height: 350px;
  }

  .masonry-content h3 {
    font-size: 1.3rem;
  }

  .service-icon-white {
    width: 60px;
    height: 60px;
  }

  .service-icon-white i {
    font-size: 1.5rem;
  }

  .booking-form-wrapper {
    padding: 1.5rem;
  }

  .booking-info h3 {
    font-size: 1.4rem;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem;
  }

  .services-hero-content {
    padding: 0 20px;
  }

  .btn-expand,
  .cta-whatsapp,
  .cta-phone {
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
}
