/* Jorino - Custom Styles */

/* ============================================
   Base & Typography
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url('https://images.unsplash.com/photo-1600334129128-685c5582fd35?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-home {
  min-height: 85vh;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
}

/* Wave SVG transition */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.hero-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-wave .shape-fill {
  fill: #FFFFFF;
}

/* ============================================
   Navigation
   ============================================ */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: #7D9B76;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-block;
  background-color: #7D9B76;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #6B8968;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 155, 118, 0.3);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: 0.875rem 2rem;
  border: 2px solid white;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: white;
  color: #1a1a1a;
}

.btn-outline-dark {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.btn-outline-dark:hover {
  background-color: #1a1a1a;
  color: white;
}

/* ============================================
   Cards & Services
   ============================================ */
.service-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: #7D9B76;
}

.service-card:hover .service-icon svg {
  color: white;
}

/* Circular image cards */
.circular-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.circular-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Parallax Dark Section
   ============================================ */
.parallax-section {
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

/* ============================================
   Pricing Table
   ============================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid #7D9B76;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:hover {
  background-color: #f8f8f8;
}

.pricing-table .price {
  font-weight: 700;
  color: #7D9B76;
  text-align: right;
}

.pricing-table .service-name {
  font-weight: 600;
}

.pricing-table .sub-item td {
  padding-left: 2rem;
  font-style: italic;
  color: #666;
}

/* ============================================
   Contact Form
   ============================================ */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #7D9B76;
  box-shadow: 0 0 0 3px rgba(125, 155, 118, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: #2d2d2d;
  color: #ccc;
}

.footer a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #7D9B76;
}

.footer-heading {
  color: white;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.footer-link svg {
  width: 16px;
  height: 16px;
  color: #7D9B76;
}

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #555;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  border-color: #7D9B76;
  background-color: #7D9B76;
  color: white;
}

/* ============================================
   Booking Placeholder
   ============================================ */
.booking-placeholder {
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.text-jorino-green {
  color: #7D9B76;
}

.bg-jorino-green {
  background-color: #7D9B76;
}

.section-padding {
  padding: 5rem 0;
}

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

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    background-attachment: scroll;
  }
  
  .hero-home {
    min-height: 70vh;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
  
  .hero-wave svg {
    height: 50px;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .circular-image {
    width: 120px;
    height: 120px;
  }
}

