/* Page hero/banner styles live in style.css */

/* Hero intro overlay — overview text on the banner image */
.page-banner--intro .banner-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

.page-banner--intro .banner-content--extended {
    max-width: 820px;
    gap: 1rem;
    padding: 2rem 1.75rem;
    background: rgba(0, 0, 0, 0.28);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-banner--intro .banner-content--extended h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.page-banner--intro .banner-content--extended h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.75rem auto 0;
}

.page-banner--intro .banner-lead {
    font-size: clamp(1.05rem, 2.5vw, 1.35rem);
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
    opacity: 0.98;
}

.page-banner--intro .banner-description {
    font-size: clamp(0.95rem, 2vw, 1.08rem);
    line-height: 1.65;
    margin: 0;
    opacity: 0.92;
    max-width: 720px;
}

.page-banner--intro .banner-content--extended .button-group {
    margin-top: 0.5rem;
}

.page-banner--commercial {
    background:
        linear-gradient(rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
        url('../images/folly-beach/folly-beach-2.jpeg') center center / cover no-repeat;
}

.page-banner--commercial.page-banner--intro .banner-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.32) 100%
    );
}

.page-banner--commercial .banner-content h1,
.page-banner--commercial .banner-content p,
.page-banner--commercial .banner-content .banner-lead,
.page-banner--commercial .banner-content .banner-description,
.page-banner--commercial .scroll-down a {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.page-banner--weddings.page-banner--intro .banner-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.32) 100%
    );
}

.page-banner--weddings .banner-content h1,
.page-banner--weddings .banner-content p,
.page-banner--weddings .banner-content .banner-lead,
.page-banner--weddings .banner-content .banner-description,
.page-banner--weddings .scroll-down a {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.page-banner.real-estate-banner.page-banner--intro .banner-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.page-banner.real-estate-banner .banner-content h1,
.page-banner.real-estate-banner .banner-content p,
.page-banner.real-estate-banner .banner-content .banner-lead,
.page-banner.real-estate-banner .banner-content .banner-description,
.page-banner.real-estate-banner .scroll-down a {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* Services Overview Section */
.services-overview {
    padding: 80px 0;
    background-color: var(--surface-color);
}

/* Shared .section-header styles live in style.css */

.overview-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Services Navigation */
.services-navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--light-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--dark-color);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-nav-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.service-nav-item p {
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-color);
}

/* Service Detail Section */
.service-detail {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-color: var(--section-muted-bg);
}

.service-detail--compact {
    padding: 56px 0;
}

.service-detail--compact .section-header {
    margin-bottom: 1.75rem;
}

.service-detail--compact .section-header .section-intro {
    margin-top: 0.75rem;
}

.service-detail--compact .service-content {
    gap: 2rem;
    align-items: center;
}

.service-detail--compact .feature-grid {
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.service-detail--compact .feature-item {
    padding: 1.15rem 1rem;
}

.service-detail--compact .feature-item i {
    font-size: 1.45rem;
    margin-bottom: 0.45rem;
}

.service-detail--compact .feature-item h4 {
    margin-bottom: 0.35rem;
}

.service-detail--compact .ideal-for {
    margin: 0.85rem 0 1rem;
    gap: 8px;
}

.service-detail--compact .ideal-for span {
    padding: 4px 12px;
    font-size: 0.85rem;
}

.service-detail--compact .service-info > .cta-button {
    margin-top: 0.25rem;
}

.service-detail--compact .service-image {
    max-height: 380px;
}

.service-detail--compact .service-image img {
    height: 100%;
    min-height: 280px;
}

.service-content {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-info {
    flex: 1;
    min-width: 300px;
}

.service-info p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-detail .service-info > .cta-button {
    margin-top: 1rem;
}

.service-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

@media (max-width: 992px) {
    .service-image img {
        height: auto;
    }
}

.service-image:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.service-detail .service-info {
    margin-bottom: 0;
}

.service-features, 
.ideal-for {
    margin: var(--spacing-md) 0;
}

.ideal-for {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ideal-for span {
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
    margin: 0 0 var(--spacing-md);
}

.feature-item {
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--box-shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-medium);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Pricing CTA section */
.pricing-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.pricing-point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-point i {
    color: var(--primary-color);
}

/* FAQ styles live in contact.css (contact page is the only FAQ user) */

/* Icon-specific styling for services */
.service-nav-item[href="#real-estate"] .service-icon {
    color: var(--primary-color);
}

.service-nav-item[href="#events"] .service-icon {
    color: #FF9800;
}

.service-nav-item[href="#construction"] .service-icon {
    color: #F44336;
}

#construction .feature-item i {
    color: #F44336;
}

#construction .ideal-for span {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

#construction .cta-button:hover {
    background-color: #F44336;
    border-color: #F44336;
}

/* Shared .cta-section styles live in style.css */

/* Responsive Styles */
@media (max-width: 992px) {
    .service-content {
        flex-direction: column;
    }
    
    .service-content.reverse {
        flex-direction: column;
    }

    .service-info, .service-image {
        width: 100%;
    }

    .service-detail--compact .service-image {
        max-height: none;
    }

    .service-detail--compact .service-image img {
        min-height: 0;
        height: auto;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .service-detail--compact {
        padding: 44px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer column layout lives in style.css */

@media (max-width: 768px) {
    .page-banner--intro .banner-content--extended {
        padding: 1.35rem 1.1rem;
        border-radius: 8px;
    }

    .page-banner--intro .banner-content--extended h1::after {
        width: 48px;
        margin-top: 0.5rem;
    }
}
