/* Boise Location Page Enhanced Styling */

/* Improved Section Spacing */
main section {
    padding: 5rem 0;
    position: relative;
}

main section:nth-child(odd) {
    background-color: var(--light-grey);
}

/* Section Intro Text */
.section-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* Services Showcase Section */
.services-showcase {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 6rem 0;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover::before {
    opacity: 1;
}

.service-card.reversed {
    flex-direction: row-reverse;
}

.service-card.reversed::before {
    left: auto;
    right: 0;
}

.service-image {
    flex: 1;
    max-width: 45%;
    position: relative;
    overflow: hidden;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0));
    pointer-events: none;
}

.service-card.reversed .service-image::after {
    background: linear-gradient(to left, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

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

.service-content {
    flex: 1;
    padding: 3rem;
}

.service-content h3 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.service-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-content h4 {
    color: var(--dark-grey);
    font-size: 1.3rem;
    margin: 1.8rem 0 0.8rem;
}

.service-features, 
.block-cleaning-steps {
    margin: 1.8rem 0;
    padding-left: 1.5rem;
}

.service-features li, 
.block-cleaning-steps li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.5rem;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--gold-light);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.service-highlight::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 10px;
    font-size: 100px;
    color: rgba(0,0,0,0.05);
    font-family: 'Playfair Display', serif;
}

.service-content .secondary-button {
    margin-top: 2rem;
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-content .secondary-button:hover {
    background-color: var(--gold);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

@media (max-width: 992px) {
    .service-card, 
    .service-card.reversed {
        flex-direction: column;
    }
    
    .service-image {
        max-width: 100%;
        height: 300px;
    }
    
    .service-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .service-content {
        padding: 2rem;
        text-align: center;
    }
    
    .service-features li, 
    .block-cleaning-steps li {
        text-align: left;
    }
    
    .service-highlight {
        text-align: left;
    }
}

/* Enhanced Video Showcase */
.video-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

.video-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.video-thumbnail video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.video-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-content h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.video-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 1rem;
}

/* Seasonal Switcher Enhancement */
.seasonal-switcher {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.season-button {
    background-color: var(--white);
    color: var(--dark-grey);
    border: 2px solid var(--gold-light);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.season-button:hover {
    background-color: var(--gold-light);
    color: var(--dark-grey);
}

.season-button.active {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 1rem;
}

/* Enhanced Gallery Styling */
.media-gallery {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.gallery-grid a {
    display: block;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background-color: #f8f9fa; /* Light background for loading state */
}

.gallery-grid a:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-grid a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.gallery-grid a:hover::before {
    opacity: 1;
}

.gallery-grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block; /* Ensure image is displayed as block */
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0.9;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3); /* Add text shadow for better readability */
}

.gallery-grid a:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.gallery-cta {
    margin-top: 3rem;
    text-align: center;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
}

/* Fix for PhotoSwipe */
.pswp {
    z-index: 10000; /* Ensure PhotoSwipe appears above all other elements */
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-caption {
        font-size: 0.8rem;
        padding: 0.7rem;
    }
}

/* Simple Gallery Styling */
.simple-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0.9;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .simple-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-item .gallery-caption {
        font-size: 0.8rem;
        padding: 0.7rem;
    }
}

/* Packages Section */
.packages-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.package-card.featured {
    border: 2px solid var(--gold);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-header {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    padding: 1.5rem;
    color: var(--dark-grey);
    text-align: center;
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
}

.package-header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    color: inherit;
}

.package-price {
    font-size: 1.3rem;
    font-weight: 700;
}

.package-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.package-content ul {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.package-content ul li {
    margin-bottom: 0.7rem;
    position: relative;
}

.package-content ul li::before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

.package-content .cta-button,
.package-content .secondary-button {
    margin-top: auto;
    align-self: center;
}

/* Testimonial Wall Enhancement */
.testimonial-wall {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--gold-dark);
    text-align: right;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 6rem 0;
}

.faq-grid {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item h3 {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.3rem;
    color: var(--dark-grey);
    background-color: var(--light-grey);
    border-left: 4px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item h3:hover {
    background-color: var(--gold-light);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--dark-grey);
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--dark-grey);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-button {
    background: var(--dark-grey);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background: #222;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.secondary-button {
    background: transparent;
    color: var(--dark-grey);
    border: 2px solid var(--dark-grey);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.secondary-button:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Service Areas Map Enhancement */
#service-areas {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.service-map-container {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
    height: 600px;
}

@media (min-width: 992px) {
    .service-map-container {
        flex-direction: row;
        height: 600px;
    }
    
    .service-map {
        flex: 1;
        width: 100%;
        height: 100%;
    }
    
    .map-overlay {
        position: absolute;
        top: 2rem;
        right: 2rem;
        width: 300px;
        max-height: calc(100% - 4rem);
        overflow-y: auto;
        z-index: 10;
    }
}

.service-map {
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.map-overlay {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

@media (max-width: 991px) {
    .service-map-container {
        height: 800px;
    }
    
    .service-map {
        height: 500px;
    }
    
    .map-overlay {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        max-height: 300px;
        overflow-y: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card, 
    .service-card.reversed {
        flex-direction: column;
    }
    
    .service-image {
        max-width: 100%;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .video-card-grid,
    .gallery-grid,
    .testimonial-grid,
    .benefits-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .seasonal-switcher {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .season-button {
        flex: 1 0 40%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button, 
    .secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* Scrolling Gallery Styling */
.scroll-gallery-container {
    position: relative;
    margin-top: 3rem;
    padding: 0 1rem;
    width: 100%;
    overflow: hidden;
}

.scroll-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 0;
    gap: 1.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    width: 100%;
}

.scroll-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.scroll-gallery .gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    margin-right: 1.5rem;
}

.scroll-gallery .gallery-item:last-child {
    margin-right: 0;
}

.scroll-gallery .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.scroll-gallery .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-gallery .gallery-item:hover::before {
    opacity: 1;
}

.scroll-gallery .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0.9;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.scroll-gallery .gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.scroll-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
    width: 100%;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    margin: 0 1rem;
}

.scroll-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 768px) {
    .scroll-gallery .gallery-item {
        width: 250px;
        height: 250px;
        margin-right: 1rem;
    }
    
    .scroll-gallery .gallery-caption {
        font-size: 0.8rem;
        padding: 0.7rem;
    }
    
    .scroll-btn {
        width: 35px;
        height: 35px;
        margin: 0 0.5rem;
    }
}

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

.grid-gallery .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 250px;
}

.grid-gallery .gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

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

.grid-gallery .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.grid-gallery .gallery-item:hover::before {
    opacity: 1;
}

.grid-gallery .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    opacity: 0.9;
    transform: translateY(5px);
    transition: all 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.grid-gallery .gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 600px) {
    .grid-gallery {
        grid-template-columns: 1fr;
    }
    
    .grid-gallery .gallery-item {
        height: 220px;
    }
}

/* Boise Hero Section: Use only .hero-section-boise and .hero-content for all styling */
.hero-section-boise {
    position: relative;
    margin-left: 14px;
    margin-right: 14px;
    display: flex;
    align-items: flex-start;
    min-height: 380px;
    width: 100%;
    background: url('../Assets/images/20230908_163806.jpg') center right/cover no-repeat;
    border-radius: 16px;
    overflow: hidden;
}
.hero-section-boise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #d4aa36 0%, #f8f9fa 60%, rgba(255,255,255,0) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-section-boise .hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 3rem 2.5rem 3rem 100px;
    margin-left: 0 !important;
    color: #222;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 380px;
}
.hero-section-boise .hero-content > * {
    text-align: left !important;
    align-self: flex-start !important;
}
.hero-section-boise .cta-button {
    margin-left: 0 !important;
    display: inline-block !important;
    text-align: left !important;
    align-self: flex-start !important;
}
.hero-section-boise .hero-content h1 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}
.hero-section-boise .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.location-badge {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 0.35em 0.9em;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
}
@media (max-width: 900px) {
    .hero-section-boise {
        min-height: 220px;
        background-position: center center;
    }
    .hero-section-boise .hero-content {
        max-width: 100%;
        padding: 2rem 1rem;
        min-height: 220px;
    }
    .hero-section-boise::before {
        width: 100%;
        background: linear-gradient(90deg, #d4aa36 0%, #f8f9fa 65%, rgba(255,255,255,0) 100%);
    }
}
@media (max-width: 600px) {
    .hero-section-boise .hero-content h1 {
        font-size: 1.3rem;
    }
    .hero-section-boise .hero-content {
        padding: 1.2rem 0.5rem;
    }
}
