/*
Theme Name: Divi Child
Theme URI: https://diviextended.com/
Version: 1.0
Description: Child Theme of Divi
Author: Divi Extended
Template: Divi
*/

/* Import parent theme styles */
@import url("../Divi/style.css");

/* ============================= */
/* Info Bar Styles (Desktop) */
/* ============================= */

/* Force phone link color and hover */
.info-phone a,
.info-phone a span {
    color: #2C3A2D !important;  /* forest green */
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.info-phone a:hover,
.info-phone a:hover span {
    color: #D97A2B !important;  /* burnt orange */
    text-decoration: underline !important;
}

/* Add subtle dividers between items (desktop only) */
.info-bar-wrapper .et_pb_column:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,0.3);
    padding-left: 20px;
}

/* Stack content vertically and center in each column (desktop) */
.info-bar-wrapper .et_pb_column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.info-bar-wrapper .et_pb_icon {
    margin-bottom: 4px !important; /* icon/text spacing */
}

.info-bar-wrapper .et_pb_text {
    margin-top: 0 !important;
    line-height: 1.1 !important;
}

/* ============================= */
/* Mobile Styles for Info Bar */
/* ============================= */
@media (max-width: 767px) {
    .info-bar-wrapper {
        flex-direction: column;
        gap: 16px;
        margin-top: 0 !important;
        padding-top: 10px !important;
    }

    .info-bar-wrapper .et_pb_column {
        width: 100% !important;
        margin: 0 auto 20px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-left: none !important;
    }

    .info-bar-wrapper .et_pb_column:last-child {
        margin-bottom: 0 !important;
    }

    .info-bar-wrapper .et_pb_icon {
        margin-bottom: 2px !important;
    }

    .info-bar-wrapper .et_pb_text {
        margin-top: 0 !important;
        line-height: 1.1 !important;
    }
}

/* ============================= */
/* Hero Section Gradient Overlay */
/* ============================= */
.hero-gradient {
    position: relative;
    overflow: hidden;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.hero-gradient::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65%;
    background: linear-gradient(to top, rgba(44,58,45,0.8) 33%, rgba(44,58,45,0) 100%);
    z-index: 1;
}

.hero-gradient .et_pb_text {
    position: relative;
    z-index: 999 !important;
    color: #ffffff !important;
    text-align: left;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ============================= */
/* Listing Description Styling */
/* ============================= */
.listing-description {
    font-family: "Actor", system-ui, sans-serif;
    color: #2C3A2D;         /* forest green for body copy */
    font-size: 16px;
    line-height: 1.65;
    margin-top: 18px;
    margin-bottom: 30px;
    background-color: rgba(217, 122, 43, 0.05); /* subtle burnt orange background */
    padding: 12px 18px;
    border-radius: 8px;
}

.listing-description h2 {
    font-family: "Abril Fatface", serif;
    color: #D97A2B; /* burnt orange */
    font-size: 28px;
    margin-bottom: 12px;
}

/* Force override Divi default heading for Description */
.et_pb_module .listing-section-title,
.et_pb_module .listing-section-title span {
    font-family: "Abril Fatface", serif !important;
    color: #2C3A2D !important;   /* keep hunter green as final */
    font-size: 28px !important;
    line-height: 1.2 !important;
    margin: -80px 0 14px 0 !important; /* align with description box */
    font-weight: 400 !important;
    text-align: left !important;
    text-decoration: none !important;
    border-bottom: none !important;
    display: inline-block !important;
    position: relative;
}

/* Accent full-width underline for heading */
.et_pb_module .listing-section-title::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 100%;  /* full section width */
    height: 4px;
    background: #D97A2B;
    margin-top: 6px;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 980px) {
    .et_pb_module .listing-section-title { font-size: 22px !important; }
    .et_pb_module .listing-section-title::after { height: 3px; }
}

@media (max-width: 767px) {
    .et_pb_module .listing-section-title { font-size: 18px !important; }
    .et_pb_module .listing-section-title::after { height: 3px; }
}
/* Listing Gallery Slider */
.listing-gallery-slider .gd-frontend-slider-container,
.listing-gallery-slider .gd-slider {
    border-radius: 12px !important;       /* Rounded corners */
    border: 2px solid #D97A2B !important; /* Burnt orange border */
    overflow: hidden !important;          /* Ensure images respect the corners */
    margin-top: 15px;
    margin-bottom: 30px;
}

/* Individual slides spacing */
.listing-gallery-slider .gd-slide {
    padding: 4px !important;
}
