/* ============================================
   Lifesource Irrigation - Custom Styles
   Design | Build | Maintain
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors - from logo */
    --ls-green-brand: #A4BB4B;      /* Logo green - for accents, decorative */
    --ls-green: #6B7A30;            /* Accessible green - for text/buttons (passes WCAG AA) */
    --ls-green-dark: #4A5522;       /* Dark green - for hover states */
    --ls-green-light: #C5D67A;      /* Light green - for subtle backgrounds */
    
    /* Supporting Colors */
    --ls-gold: #c9a227;
    --ls-cream: #fefefe;
    --ls-gray: #6c757d;
    --ls-dark: #212529;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--ls-dark);
    background-color: var(--ls-cream);
}

main {
    display: block;
}

/* Remove iframe gap */
iframe {
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    z-index: 1030;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Transparent navbar for home page */
.navbar-transparent {
    background-color: transparent !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.navbar-transparent .nav-link {
    color: var(--ls-dark) !important;
}

.navbar-transparent .nav-link:hover,
.navbar-transparent .nav-link.active {
    color: var(--ls-green) !important;
}

/* Scrolled state - add background */
.navbar-transparent.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
}

/* Mobile - always show solid navbar */
@media (max-width: 991px) {
    .navbar-transparent {
        background-color: rgba(255, 255, 255, 0.98) !important;
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

.navbar-brand img {
    max-height: 52px;
    width: auto;
}

/* Medium screen navbar adjustments */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .navbar-brand img {
        max-height: 44px;
    }
    .nav-link {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.9rem;
    }
    .nav-link.btn-success {
        white-space: nowrap;
    }
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-brand img {
        max-height: 40px;
    }
    
    .navbar > .container {
        flex-wrap: wrap;
    }
    
    .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link.btn-success {
        display: inline-block;
        width: auto;
        margin-top: 0.5rem;
        margin-left: 0 !important;
    }
}

/* Service Sidebar - keep below navbar */
.col-lg-4 .sticky-top {
    z-index: 1000;
}

.nav-link {
    font-weight: 500;
    color: var(--ls-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ls-green) !important;
}

/* Dropdown menu styling */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--ls-green-light);
    color: var(--ls-dark);
}

.dropdown-item:active,
.dropdown-item.active {
    background-color: var(--ls-green);
    color: white;
}

/* Dropdown hover expand - desktop only */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .nav-item.dropdown .dropdown-menu {
        transition: opacity 0.2s ease;
    }
}

.nav-link.btn-success {
    color: white !important;
}

.nav-link.btn-success:hover {
    background-color: var(--ls-green-dark) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px; /* Account for transparent navbar */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.24) 50%, rgba(255,255,255,0.04) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.90);
    padding: 2.5rem;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--ls-dark);
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--ls-dark);
    line-height: 1.8;
    max-width: 500px;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 2rem 0; /* More top padding for navbar */
        background-attachment: scroll;
    }
    
    .hero::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.45) 100%);
    }
    
    .hero .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-content {
        background: rgba(255, 255, 255, 0.95);
        padding: 1.5rem;
        margin-top: 0;
        border-radius: 8px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero .lead {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Tablet adjustments */
@media (max-width: 991px) and (min-width: 769px) {
    .hero {
        padding-top: 100px;
    }
}

/* Tagline Banner */
/* Home Tagline Strip */
.tagline-strip {
    padding: 0.95rem 0;
}

.tagline-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-banner {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 6px;
    color: var(--ls-dark);
    margin: 0;
    line-height: 1;
    display: inline-block;
    text-align: center;
}

.tagline-banner span {
    color: var(--ls-green);
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 2rem;
    text-align: center;
}

.service-card h5 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--ls-gray);
    line-height: 1.7;
}

/* Section Styles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--ls-green);
    margin-top: 1rem;
}

.section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.section-title.section-title-tight {
    margin-bottom: 1.75rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(107, 122, 48, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    font-size: 2rem;
    color: white;
}

/* Gallery Modal - Constrain vertical images */
#galleryModal .modal-body img {
    max-height: 65vh;
    width: auto;
    max-width: 100%;
}

/* Gallery Testimonial Card - Modern Design */
.gallery-testimonial {
    aspect-ratio: 1;
    border-radius: 8px;
    background: linear-gradient(135deg, #A4BB4B 0%, #6B7A30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.gallery-testimonial .testimonial-content {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 92%;
    margin: 0 auto;
}

.gallery-testimonial .testimonial-content i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 0.35rem;
}

.gallery-testimonial .quote-text {
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: white;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-align: center;
}

.gallery-testimonial .client-info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-testimonial .client-name {
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.gallery-testimonial .client-location {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-testimonial .testimonial-content.quote-only .quote-text {
    margin-bottom: 0;
}

/* Gallery Testimonial - Medium screens */
@media (max-width: 1200px) {
    .gallery-testimonial {
        padding: 0.75rem;
    }
    
    .gallery-testimonial .testimonial-content i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .gallery-testimonial .quote-text {
        font-size: 0.7rem;
        line-height: 1.35;
        -webkit-line-clamp: 4;
    }
    
    .gallery-testimonial .client-name {
        font-size: 0.7rem;
    }
    
    .gallery-testimonial .client-location {
        font-size: 0.65rem;
    }
}

/* Gallery Testimonial - Tablet */
@media (max-width: 992px) {
    .gallery-testimonial .quote-text {
        font-size: 0.75rem;
        -webkit-line-clamp: 5;
    }
}

/* Gallery Testimonial - Mobile */
@media (max-width: 768px) {
    .gallery-testimonial {
        padding: 0.6rem;
    }
    
    .gallery-testimonial .testimonial-content i {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .gallery-testimonial .quote-text {
        font-size: 0.65rem;
        line-height: 1.3;
        -webkit-line-clamp: 4;
        margin-bottom: 0.3rem;
    }
    
    .gallery-testimonial .client-info {
        padding-top: 0.25rem;
    }
    
    .gallery-testimonial .client-name {
        font-size: 0.65rem;
    }
    
    .gallery-testimonial .client-location {
        font-size: 0.6rem;
    }
}

@media (max-width: 400px) {
    .gallery-testimonial {
        padding: 0.5rem;
    }
    
    .gallery-testimonial .testimonial-content i {
        display: none;
    }
    
    .gallery-testimonial .quote-text {
        font-size: 0.6rem;
        line-height: 1.25;
        -webkit-line-clamp: 5;
        margin-bottom: 0.25rem;
    }
    
    .gallery-testimonial .client-info {
        padding-top: 0.2rem;
        border-top: none;
    }
    
    .gallery-testimonial .client-name {
        font-size: 0.6rem;
    }
    
    .gallery-testimonial .client-location {
        font-size: 0.55rem;
    }
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--ls-green);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 1rem;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--ls-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--ls-dark);
}

.testimonial-card .client-location {
    color: var(--ls-green);
    font-size: 0.875rem;
}

/* Carousel Controls */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
    width: auto;
    opacity: 1;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-size: 50%;
}

/* Trust Indicators */
.trust-stats-wrapper {
    padding: 2rem 0;
}

.trust-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.trust-item .number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 600;
    color: var(--ls-green);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 0.5rem;
}

.trust-item .label {
    color: var(--ls-dark);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 180px;
    margin: 0 auto;
}

/* Vertical Divider */
.vertical-divider {
    width: 1px;
    height: 70%;
    background: linear-gradient(180deg, transparent 0%, var(--ls-green) 30%, var(--ls-green) 70%, transparent 100%);
    opacity: 0.3;
    align-self: center;
}

/* Testimonial Section */
.testimonial-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
}

.testimonial-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--ls-green);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem !important;
}

/* Fixed height carousel to prevent resizing */
#testimonialCarousel .carousel-inner {
    height: 220px;
}

#testimonialCarousel .carousel-item {
    height: 220px;
    transition: opacity 0.6s ease-in-out;
}

/* Fade transition instead of slide */
#testimonialCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#testimonialCarousel.carousel-fade .carousel-item.active {
    opacity: 1;
}

#testimonialCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#testimonialCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.testimonial-card {
    padding: 0 3rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Opening quote - left side */
.testimonial-card::before {
    content: "\201C";
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--ls-green-light);
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Closing quote - right side */
.testimonial-card::after {
    content: "\201D";
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--ls-green-light);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.testimonial-card .testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--ls-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 420px;
    text-align: center;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.testimonial-author .author-name {
    font-weight: 600;
    color: var(--ls-dark);
    font-size: 1rem;
}

.testimonial-author .author-location {
    color: var(--ls-green);
    font-size: 0.9rem;
}

.testimonial-card.quote-only .testimonial-quote {
    margin-bottom: 0;
}

/* Carousel Indicators Override */
#testimonialCarousel .carousel-indicators {
    margin-bottom: 0;
}

#testimonialCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--ls-green-light);
    opacity: 0.35;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#testimonialCarousel .carousel-indicators button.active {
    opacity: 1;
    background-color: var(--ls-green);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .trust-item .number {
        font-size: 4rem;
    }
    
    .trust-item .label {
        font-size: 1rem;
    }
    
    .trust-stats-wrapper {
        border-bottom: 1px solid rgba(164, 187, 75, 0.25);
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-section {
        padding-left: 0;
    }
    
    .testimonial-card {
        padding: 0 2.5rem;
    }
    
    .testimonial-card::before,
    .testimonial-card::after {
        font-size: 2.5rem;
    }
    
    .testimonial-card .testimonial-quote {
        font-size: 1rem;
        max-width: 100%;
    }
    
    #testimonialCarousel .carousel-inner,
    #testimonialCarousel .carousel-item {
        height: 240px;
    }
}

/* Newsletter Bar */
.newsletter-bar {
    background: linear-gradient(135deg, var(--ls-green) 0%, var(--ls-green-dark) 100%) !important;
}

/* Newsletter Content - Summernote WYSIWYG styles */
.newsletter-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.newsletter-content p {
    margin-bottom: 1rem;
}

.newsletter-content h1,
.newsletter-content h2,
.newsletter-content h3,
.newsletter-content h4,
.newsletter-content h5,
.newsletter-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--ls-dark);
}

.newsletter-content ul,
.newsletter-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.newsletter-content blockquote {
    border-left: 4px solid var(--ls-green);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: var(--ls-gray);
}

/* Footer */
.footer {
    background: var(--ls-dark);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--ls-green-light);
}

/* Buttons */
.btn-success {
    background-color: var(--ls-green) !important;
    border-color: var(--ls-green) !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: var(--ls-green-dark) !important;
    border-color: var(--ls-green-dark) !important;
}

.btn-outline-success {
    color: var(--ls-green) !important;
    border-color: var(--ls-green) !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    background-color: var(--ls-green) !important;
    border-color: var(--ls-green) !important;
    color: white !important;
}

/* Bootstrap Background Overrides */
.bg-success {
    background-color: var(--ls-green) !important;
}

.text-success {
    color: var(--ls-green) !important;
}

.border-success {
    border-color: var(--ls-green) !important;
}

/* Irish Heritage Section */
.irish-corner {
    background: linear-gradient(135deg, #f8f9fa 0%, #f4f7e6 100%);
    border-left: 4px solid var(--ls-green-brand);
}

.irish-heart {
    display: block;
    margin: 0 auto;
}

.irish-heart-sm {
    vertical-align: middle;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--ls-green) 0%, var(--ls-green-dark) 100%);
    padding: 4rem 0;
    color: white;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item.active {
    color: white;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--ls-green);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

/* Service Detail Page */
.service-hero {
    min-height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 85, 34, 0.85) 0%, rgba(107, 122, 48, 0.6) 100%);
}

/* Service Offering - Modern List Style */
.service-offering {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.5rem;
    margin-left: -0.5rem;
}

.service-offering:hover {
    background-color: rgba(164, 187, 75, 0.08);
    transform: translateX(0.5rem);
}

.service-offering-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Our Approach Section */
.approach-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--ls-green-brand);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Team Member Card */
.team-card {
    text-align: center;
}

.team-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ls-green-brand);
    margin-bottom: 1.5rem;
}

.team-card h5 {
    margin-bottom: 0.25rem;
}

.team-card .role {
    color: var(--ls-green);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

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

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

/* Utility Classes */
.bg-light-green {
    background-color: #f4f7e6;
}

/* Service sidebar active state */
.list-group-item.active.bg-light-green {
    background-color: #f4f7e6 !important;
    border-color: var(--ls-green) !important;
    color: var(--ls-dark);
}

/* Content text styling for extended descriptions */
.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.content-text p {
    margin-bottom: 1.25rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.text-green {
    color: var(--ls-green);
}

.border-green {
    border-color: var(--ls-green) !important;
}

/* Gallery Card with Overlay - Service Pages */
.gallery-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Service Page Testimonial Card */
.service-testimonial-card {
    height: 250px;
    background: linear-gradient(135deg, #A4BB4B 0%, #6B7A30 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.service-testimonial-card .quote-mark {
    position: absolute;
    top: -10px;
    right: 15px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    pointer-events: none;
}

.service-testimonial-card .quote-text {
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-testimonial-card .client-info {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.service-testimonial-card.quote-only .quote-text {
    margin-bottom: 0;
}

.service-testimonial-card .client-info strong {
    display: block;
    font-size: 0.95rem;
    color: white;
}

.service-testimonial-card .client-info .location {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 2px;
}

/* Whitespace - matching client preference */
.py-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .py-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* About Page Hero Image */
.about-hero-img {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* About Page Declan Image */
.declan-photo-frame {
    width: 100%;
    max-width: 760px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(107, 122, 48, 0.24);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    background: #f5f7ef;
}

.declan-profile-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
    object-position: center 35%;
}

@media (max-width: 991.98px) {
    .declan-photo-frame {
        max-width: 520px;
    }
}
