/* =================================
   GOOGLE MAP EMBED SECTION
================================= */

.map-section{
    padding:80px 0;
}


/* GRID */
.map-grid{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: stretch;
    width: 100%;
}

/* MAP BOX */
.map-box{
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    display: flex; /* Helps iframe fill the box */
}

.map-box iframe {
    width: 100% !important;
    height: 100% !important; /* Forces iframe to stretch */
    min-height: 400px !important; /* Prevents place card from hiding */
    flex: 1;
}

/* INFO BOX */
.map-info{
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

/* Push buttons to bottom */
.map-info .trust-buttons {
    margin-top: auto;
    padding-top: 20px;
    flex-direction: column;
    gap: 12px;
    display: flex;
}

.map-info .btn-estimate,
.map-info .btn-call {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* HEADINGS */
.map-info h3{
    color: var(--header-bg);
    margin-bottom: 10px;
    margin-top: 15px;
}

/* TEXT */
.map-info p{
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* LIST */
.map-info ul{
    list-style: none;
    padding: 0;
}

.map-info ul li{
    color: #000;
    margin-bottom: 8px;
}

/* BUTTON */
.directions-btn{
    display: inline-block;
    margin-top: 20px;
    background: var(--cta-color);
    color: #000;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.directions-btn:hover{
    background: #ffcc4d;
    transform: translateY(-3px);
}
/* =================================
   RESPONSIVE BREAKPOINTS
================================= */

/* Large Tablets & Small Desktops (1200px and below) */
@media (max-width: 1200px){
    .map-grid{
        gap: 20px;
    }
    
    .map-info{
        padding: 20px;
    }
    
    .map-box iframe{
        min-height: 380px;
    }
}

/* Tablets & Medium Screens (992px and below) */
@media (max-width: 992px){
    .map-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-section{
        padding: 60px 0;
    }
    
    .map-box{
        padding: 8px;
    }
    
    .map-box iframe{
        min-height: 380px;
    }
    
    .map-info{
        padding: 25px;
    }
    
    .map-info h3{
    }
    
    .directions-btn{
        padding: 10px 16px;
        font-size: 15px;
    }
}

/* Small Tablets & Large Phones (768px and below) */
@media (max-width: 768px){
    .map-section{
        padding: 50px 0;
    }
    
    .map-grid{
        gap: 18px;
        padding: 0 15px;
    }
    
    .map-box{
        padding: 6px;
        border-radius: 12px;
    }
    
    .map-box iframe{
        min-height: 320px;
        border-radius: 8px;
    }
    
    .map-info{
        padding: 20px;
        border-radius: 12px;
    }
    
    .map-info h3{
        margin-bottom: 8px;
        margin-top: 12px;
    }
    
    .map-info p{
        margin-bottom: 12px;
    }
    
    .map-info ul li{
        margin-bottom: 6px;
    }
    
    .directions-btn{
        margin-top: 15px;
        padding: 10px 16px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

/* Mobile Devices (576px and below) */
@media (max-width: 576px){
    .map-section{
        padding: 40px 0;
    }
    
    .map-grid{
        gap: 15px;
        padding: 0 12px;
    }
    
    .map-box{
        padding: 5px;
        border-radius: 10px;
    }
    
    .map-box iframe{
        min-height: 280px;
        border-radius: 6px;
    }
    
    .map-info{
        padding: 20px 22px;
        border-radius: 10px;
    }
    
    .map-info h3{
        margin-bottom: 8px;
        margin-top: 10px;
    }
    
    .map-info h3:first-child{
        margin-top: 0;
    }
    
    .map-info p{
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .map-info ul li{
        margin-bottom: 5px;
        gap: 6px;
    }
    
    .directions-btn{
        margin-top: 12px;
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .directions-btn:hover{
        transform: translateY(-2px);
    }
}

/* Small Mobile Devices (400px and below) */
@media (max-width: 400px){
    .map-section{
        padding: 30px 0;
    }
    
    .map-grid{
        gap: 12px;
        padding: 0 10px;
    }
    
    .map-box{
        padding: 4px;
        border-radius: 8px;
    }
    
    .map-box iframe{
        min-height: 240px;
        border-radius: 4px;
    }
    
    .map-info{
        padding: 20px 22px;
        border-radius: 8px;
    }
    
    .map-info h3{
        margin-bottom: 6px;
    }
    
    .map-info p{
        margin-bottom: 8px;
    }
    
    .map-info ul li{
        margin-bottom: 4px;
    }
    
    .directions-btn{
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape){
    .map-section{
        padding: 40px 0;
    }
    
    .map-grid{
        gap: 15px;
    }
    
    .map-box iframe{
        min-height: 300px;
    }
    
    .map-info{
        padding: 15px;
    }
    
    .map-info ul{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .directions-btn{
        width: auto;
        display: inline-block;
        min-width: 200px;
    }
}

/* Print Styles (Optional) */
@media print {
    .map-section{
        padding: 20px 0;
    }
    
    .map-grid{
        display: block;
    }
    
    .map-box{
        box-shadow: none;
        border: 1px solid #ddd;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .map-box iframe{
        min-height: 300px;
    }
    
    .map-info{
        box-shadow: none;
        border: 1px solid #ddd;
        padding: 15px;
    }
    
    .directions-btn{
        background: #f0f0f0;
        color: #000;
        border: 1px solid #ddd;
        text-decoration: none;
    }
}

/* =========================================
   TYPOGRAPHY STANDARDIZATION (USER REQUESTED)
   ========================================= */
/* Desktop */
.map-section h2, .section-title h2 { font-size: 40px !important; }
.map-section h3, .map-info h3, .section-title h3 { font-size: 22px !important; }
.map-section p, .map-info p, .section-title p { font-size: 18px !important; line-height: 1.6 !important; }
.map-section li { font-size: 18px !important; line-height: 1.6 !important; }

/* Tablet and Mobile (<= 1024px) */
@media (max-width: 1024px) {
    .map-section h2, .section-title h2 { font-size: 35px !important; }
    .map-section h3, .map-info h3, .section-title h3 { font-size: 22px !important; }
    .map-section p, .map-info p, .section-title p { font-size: 18px !important; line-height: 1.6 !important; }
    .map-section li { font-size: 18px !important; line-height: 1.6 !important; }
}