/**
 * File: section-enhancements.css
 * Location: /css/section-enhancements.css
 * Last Modified: 2025-06-11 23:10:00
 * 
 * Description:
 * Enhanced styling for page sections with 3D effects and spacing
 * Uses CSS variables from the :root defined in header.php
 */

/* Set body and html for full height layout */
html, body {
  background-color: #ffffff; /* White background as requested */
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure main content fills available space */
.main-content {
  flex: 1 0 auto;
}

/* Footer styling for flush bottom */
footer {
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
  position: relative;
  bottom: 0;
}

/* General section enhancements */
.section {
  margin: 30px 15px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  padding: 15px;
}

/* Hero section - special case */
.hero {
  margin: 15px 15px 30px 15px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 15px;
}

/* Section colors */
.section-light {
  background-color: #f0f0f0;
}

.section-medium {
  background-color: #e5e5e5;
}

/* Testimonial section - already has styling */
.testimonial-section {
  margin: 30px 15px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 15px;
}

/* CTA section with stronger shadow */
.cta-section {
  margin: 30px 15px 30px 15px; /* Added bottom margin */
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  padding: 15px;
}

/* Container padding adjustments */
.section .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section {
    margin: 20px 10px;
    border-radius: 6px;
    padding: 10px;
  }
  
  .hero {
    margin: 10px 10px 20px 10px;
    border-radius: 6px;
    padding: 10px;
  }
  
  .cta-section {
    margin: 20px 10px 0 10px;
    border-radius: 6px;
    padding: 10px;
  }
}
