/*
Theme Name: DIY Landlord Tools
Theme URI: https://diylandlordtools.com
Author: IMPACT Software Company
Author URI: https://diylandlordtools.com
Description: Custom theme for DIY Landlord Tools
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: diy-landlord-tools
*/

    :root {
        --primary-color: #0d6efd;
        --secondary-color: #6c757d;
        --success-color: #198754;
        --warning-color: #ffc107;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    /* Trust indicators */
    .trust-badge {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    /* Enhanced cards */
    .card-review {
        transition: all 0.3s ease;
        border: 1px solid #e9ecef;
        background: white;
    }
    .card-review:hover {
        transform: translateY(-8px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,.15)!important;
        border-color: var(--primary-color);
    }

    /* Social proof section */
    .social-proof {
        background: linear-gradient(to right, #f8f9fa, #e9ecef);
        padding: 2rem 0;
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
    }

    .stat-box {
        text-align: center;
        padding: 1rem;
    }
    .stat-number {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--primary-color);
        line-height: 1;
    }
    .stat-label {
        font-size: 0.9rem;
        color: #6c757d;
        margin-top: 0.5rem;
    }

    /* Improved value props */
    .value-card {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        height: 100%;
        border: 2px solid #f8f9fa;
        transition: all 0.3s ease;
    }
    .value-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 0.5rem 2rem rgba(13, 110, 253, 0.1);
    }

    /*
     * Target the actual menu link (<a> tag) within the Bootstrap navigation structure.
     */
    .navbar-nav .nav-link {
        /* 1. Add a smooth transition for the color change */
        transition: color 0.3s ease-in-out;
        /* Optional: Ensure the text color is easily readable (e.g., black/dark gray) */
        color: #333; /* Dark gray for the default state */
    }

    /*
     * Define the styles for the hover state
     */
    .navbar-nav .nav-link:hover {
        /* 2. Change the text color on mouse over (hover) */
        /* This will typically be your theme's primary/brand color */
        color: var(--bs-primary, #0d6efd);
    }

    /*
     * Optional: Apply the same hover style to the currently active/selected page link
     */
    .navbar-nav .nav-link.current-menu-item,
    .navbar-nav .nav-link.current-menu-item > a,
    .navbar-nav .active {
        /* Ensure the active link stands out even without hover */
        color: var(--bs-primary, #0d6efd) !important;
    }

  /* ---------------------------
   Review Card Wrapper
--------------------------- */

      .review-card {
          background: #fff;
          border-radius: 1rem;
          border: 1px solid #e5e5e5;
          box-shadow: 0 4px 14px rgba(0,0,0,0.06);
          transition: transform 0.2s ease, box-shadow 0.2s ease;
          overflow: hidden;
          display: flex;
          flex-direction: column;
      }

      /* Hover effect */
      .review-card:hover {
          transform: translateY(-4px);
          box-shadow: 0 6px 18px rgba(0,0,0,0.12);
      }

      /* ---------------------------
         Header area (logo)
      --------------------------- */

      .review-card .review-header {
          background: #f8f9fa;
          border-bottom: 1px solid #eee;
          text-align: center;
          padding: 20px 10px;
      }

      /* Ensure logos never overflow */
      .review-card .review-header img {
          max-height: 60px;
          width: auto;
          object-fit: contain;
      }

      /* ---------------------------
         Rating badge
      --------------------------- */

      .rating-badge {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          background: #0d6efd10;
          padding: 6px 12px;
          border-radius: 50px;
          font-weight: 600;
          font-size: 0.9rem;
          color: #0d6efd;
      }

      .rating-badge i {
          color: #0d6efd;
          font-size: 1rem;
      }

      /* ---------------------------
         Badge tags
      --------------------------- */

      .review-card .badge {
          font-size: 0.70rem;
          padding: 6px 10px;
          border-radius: 50px;
          border: 1px solid #ddd !important;
          background: #f8f9fa;
          color: #333;
      }

      /* ---------------------------
         Button
      --------------------------- */

      .review-card a.btn-outline-primary {
          font-weight: 600;
          border-width: 2px;
          padding: 10px;
          border-radius: 50px;
      }

      .review-card a.btn-outline-primary:hover {
          color: #fff;
          background-color: #0d6efd;
          border-color: #0d6efd;
      }

      /* ---------------------------
         Typography adjustments
      --------------------------- */

      .review-card h3 {
          font-size: 1.05rem;
          line-height: 1.35;
      }

      .review-card p {
          line-height: 1.5;
          font-size: 0.85rem;
      }

      /* ensures content fills height evenly */
      .review-card .p-4 {
          display: flex;
          flex-direction: column;
      }

      .price-badge {
          display: inline-flex;
          align-items: center;
          gap: 6px;
          background: #19875410; /* subtle green (success) tint */
          padding: 6px 12px;
          border-radius: 50px;
          font-weight: 600;
          font-size: 0.9rem;
          color: #198754;
      }

      .price-badge i {
          color: #198754;
          font-size: 1rem;
      }

    /* CTA improvements */
    .cta-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: relative;
        overflow: hidden;
    }
    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
        background-size: cover;
    }

    /* Author credibility */
    .author-box {
        background: white;
        border-left: 4px solid var(--primary-color);
        padding: 1rem 1.5rem;
        border-radius: 8px;
        box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    }

    /* Mobile optimizations */
    @media (max-width: 768px) {
        .display-3 {
            font-size: 2rem;
        }
        .stat-number {
            font-size: 2rem;
        }
        .hero-buttons .btn {
            width: 100%;
            margin-bottom: 0.5rem;
        }
    }

    /* Sticky header on scroll */
    .navbar {
        transition: all 0.3s ease;
    }
    .navbar.scrolled {
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
    }

    .section-padding {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    /* Testimonial styling */
    .testimonial-card {
        background: white;
        padding: 2rem;
        border-radius: 12px;
        border-left: 4px solid var(--success-color);
        box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    }

    .quote-icon {
        color: var(--success-color);
        font-size: 2rem;
        opacity: 0.3;
    }
