/* =====================================================
   PRODUCT SHOWCASE STYLES - Log Cabins / Houses
   Mapped to main site CSS variables (style.css :root)
   ===================================================== */

/* ---------- Product Hero ---------- */
.hero-product {
    min-height: 85vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    padding: .5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.hero-badge i {
    font-size: .75rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all var(--transition);
}

.hero-scroll-indicator a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ---------- Specifications Bar ---------- */
.product-specs-bar {
    background: var(--primary);
    padding: 30px 0;
    margin-top: -1px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

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

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

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.spec-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.spec-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.spec-content {
    display: flex;
    flex-direction: column;
}

.spec-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.spec-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Product Description ---------- */
.product-description {
    background: var(--body-bg);
}

.product-content {
    padding-right: 40px;
}

@media (max-width: 991px) {
    .product-content {
        padding-right: 0;
    }
}

.product-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

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

.product-price-tag {
    background: linear-gradient(135deg, var(--section-alt) 0%, rgba(184, 134, 11, 0.1) 100%);
    border-left: 4px solid var(--accent);
    padding: 25px 30px;
    border-radius: 0 0.75rem 0.75rem 0;
    margin-top: 30px;
}

.product-price-tag .price-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-price-tag .price-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-price-tag .price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ---------- Product Features Card ---------- */
.product-features-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}

.product-features-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--section-alt);
}

.product-features-card h4 i {
    color: var(--accent);
    margin-right: 10px;
}

.product-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    color: var(--text-dark);
}

.product-features-list li:last-child {
    border-bottom: none;
}

.product-features-list li i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---------- Gallery Grid ---------- */
.gallery-grid-item {
    display: block;
    text-decoration: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    background: #fff;
}

.gallery-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-grid-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.gallery-grid-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 17, 8, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity var(--transition);
    color: #fff;
    font-size: 0.9rem;
}

.gallery-grid-overlay i {
    font-size: 1.5rem;
}

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

.gallery-grid-caption {
    padding: 14px 16px;
}

.gallery-grid-caption h6 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.gallery-grid-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Benefits Section ---------- */
.product-benefits {
    background: var(--body-bg);
}

.benefit-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 50px rgba(30, 17, 8, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(58, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--accent);
    transition: all var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--accent);
    color: #fff;
}

.benefit-card h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ---------- Product CTA ---------- */
.product-cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    padding: 60px 0;
}

.product-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

@media (max-width: 991px) {
    .product-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

.product-cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.product-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.product-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .product-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .product-cta-actions .btn {
        width: 100%;
    }
}

/* ---------- Enquiry Section ---------- */
.product-enquiry {
    background: var(--body-bg);
}

.enquiry-info {
    padding-right: 30px;
}

@media (max-width: 991px) {
    .enquiry-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

.enquiry-info .lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.enquiry-contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enquiry-contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.enquiry-contact-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.enquiry-contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(58, 107, 53, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.enquiry-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.enquiry-contact-text .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.enquiry-contact-text a,
.enquiry-contact-text span:not(.label) {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color var(--transition);
}

.enquiry-contact-text a:hover {
    color: var(--accent);
}

/* ---------- Enquiry Form Card ---------- */
.enquiry-form-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 575px) {
    .enquiry-form-card {
        padding: 25px;
    }
}

/* ---------- Related Products ---------- */
.product-related {
    background: var(--section-alt);
}

.product-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 50px rgba(30, 17, 8, 0.15);
}

.product-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.08);
}

.product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 24, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.product-card-body {
    padding: 20px;
}

.product-card-body h5 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.product-card-body .specs {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.product-card-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 10px;
}

.product-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.product-card-features span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-card-features span i {
    color: var(--accent);
    margin-right: 4px;
}

.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    z-index: 2;
}

.product-card-badge.badge-new {
    background: var(--accent);
}

.product-card-badge.badge-coming {
    background: var(--dark-lighter);
}

.product-card-coming-soon {
    opacity: 0.85;
}

.product-card-coming-soon .product-card-overlay {
    opacity: 1;
    background: rgba(44, 24, 16, 0.5);
}

.coming-soon-text {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

/* =====================================================
   HOUSES LISTING PAGE
   ===================================================== */

.section-padding-sm {
    padding: 30px 0;
}

/* Filter Navigation */
.houses-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.houses-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition);
}

.houses-filter-btn:hover {
    background: var(--section-alt);
    color: var(--accent);
    border-color: var(--accent);
}

.houses-filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.houses-filter-btn i {
    font-size: 0.9rem;
}

/* =====================================================
   HOUSE SHOWCASE SECTIONS
   ===================================================== */

.house-showcase {
    padding: 5rem 0;
}

.house-showcase:nth-child(even) {
    background: var(--section-alt);
}

/* Image */
.house-showcase-image {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.house-showcase-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.house-showcase-image:hover img {
    transform: scale(1.04);
}

/* Content */
.house-showcase-content {
    padding: 0 10px;
}

.house-showcase-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.house-showcase-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* Specs Grid */
.house-showcase-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.house-showcase-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 10px 14px;
    background: rgba(58, 107, 53, 0.06);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.house-showcase-specs li:hover {
    background: rgba(58, 107, 53, 0.12);
    transform: translateX(4px);
}

.house-showcase-specs li i {
    color: var(--accent);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* Divider */
.house-showcase-divider {
    padding: 0;
}

.house-showcase-divider hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 991px) {
    .house-showcase {
        padding: 3.5rem 0;
    }

    .house-showcase-image img {
        height: 320px;
    }

    .house-showcase-title {
        font-size: 1.75rem;
    }

    .house-showcase-content {
        padding: 0;
        margin-top: 1.5rem;
    }
}

@media (max-width: 575px) {
    .house-showcase-specs {
        grid-template-columns: 1fr;
    }

    .house-showcase-image img {
        height: 250px;
    }
}

/* ---------- Utilities ---------- */
.text-accent {
    color: var(--accent) !important;
}

#enquiry-char-count {
    font-weight: 500;
}

/* ---------- Magnific Popup Overrides ---------- */
.mfp-bg {
    background: rgba(30, 17, 8, 0.92);
}

.mfp-fade.mfp-bg {
    opacity: 0;
    transition: opacity .3s ease;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 1;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: opacity .3s ease;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

