/* Legacy Planning Retreats - Responsive Styles */

/* Large Tablets and Small Desktops */
@media (max-width: 1199px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 2rem; }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Tablets */
@media (max-width: 991px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .navbar-nav .nav-link {
    margin: 0 10px;
  }
  
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-desc {
    margin: 0 auto 3rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
    margin: 0 10px;
  }
  
  .team-info {
    padding: 1.5rem;
  }
  
  .shape-blob-1,
  .shape-blob-2 {
    display: none;
  }
}

/* Small Tablets and Large Phones */
@media (max-width: 767px) {
  :root {
    --section-padding: 40px 0;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 5px;
    padding: 0.5rem;
  }
  
  /* Typography */
  h1 { font-size: 2.4rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.4rem; }
  h5 { font-size: 1.2rem; }
  h6 { font-size: 1.1rem; }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Sections */
  .section-desc {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1.2rem;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
  
  .price {
    font-size: 2rem;
  }
  
  /* Team */
  .team-img {
    height: 250px;
  }
  
  .team-info {
    padding: 1.2rem;
  }
  
  .team-name {
    font-size: 1.2rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem 1rem;
    margin: 0 5px;
  }
  
  .testimonial-card::before {
    font-size: 3rem;
    top: 5px;
    left: 15px;
  }
  
  .testimonial-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Forms */
  .form-control {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  /* FAQ */
  .accordion-header button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1.5rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-links a {
    margin: 0 10px;
    display: inline-block;
    margin-bottom: 0.5rem;
  }
}

/* Mobile Phones */
@media (max-width: 575px) {
  :root {
    --section-padding: 30px 0;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.5rem;
  }
  
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.3rem; }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
    padding: 1.5rem 0;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-desc {
    font-size: 0.95rem;
  }
  
  /* Sections */
  .section-title::after {
    width: 60px;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
  }
  
  /* Cards in Rows */
  .row .col-lg-4,
  .row .col-lg-6,
  .row .col-md-4,
  .row .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Team */
  .team-img {
    height: 220px;
  }
  
  .team-info {
    padding: 1rem;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 1.2rem 0.8rem;
    margin: 0;
  }
  
  .testimonial-card::before {
    font-size: 2.5rem;
    top: 0;
    left: 10px;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  /* Footer */
  .footer-links {
    flex-direction: column;
  }
  
  .footer-links a {
    margin: 0.3rem 0;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }
}

/* Extra Small Phones */
@media (max-width: 375px) {
  /* Typography */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }
  
  /* Hero */
  .hero-section {
    min-height: 55vh;
  }
  
  /* Cards */
  .card-body {
    padding: 1rem;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  /* Team */
  .team-img {
    height: 200px;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 1rem 0.6rem;
  }
  
  .testimonial-card::before {
    font-size: 2rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 160px;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .navbar-nav {
    padding-top: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.1rem 5px;
    padding: 0.3rem;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .team-img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Hover Capabilities */
@media (hover: hover) {
  .card:hover,
  .team-card:hover,
  .gallery-item:hover {
    cursor: pointer;
  }
}

@media (hover: none) {
  .card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print Styles */
@media print {
  * {
    color: black !important;
    background: white !important;
    box-shadow: none !important;
  }
  
  header,
  footer,
  .breadcrumb {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 20pt 0;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Optional: Add dark mode styles if needed */
}

/* Reduced Motion for Mobile */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  .swiper {
    overflow: hidden;
  }
  
  .swiper-slide {
    transition: transform 0.3s ease;
  }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .swiper-autoplay {
    autoplay: false;
  }
  
  .swiper-effect-fade,
  .swiper-effect-slide {
    effect: 'slide';
  }
} 