/* Contact Page Styles - moved from inline CSS in contact2.blade.php */

/* Contact Details Styles */
.contact-details__wrap-title {
    margin-bottom: 30px;
    overflow: hidden;
}

.contact-details__title {
    float: left;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

/* Contact Map */
.contact-map-box {
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
}

.contact-map-box iframe {
    width: 100%;
    height: 430px;
    border: none;
}

/* Tabs Styling */
.wrap-nav-tabs {
    margin: 30px 0 0;
    border-bottom: 2px solid #e0e0e0;
}

.wrap-nav-tabs .nav-tabs {
    border: none;
}

.wrap-nav-tabs .nav-tabs>li {
    margin-bottom: -2px;
}

.wrap-nav-tabs .nav-tabs>li>a {
    border: none;
    border-radius: 0;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    color: #666;
    background: transparent;
}

.wrap-nav-tabs .nav-tabs>li.active>a,
.wrap-nav-tabs .nav-tabs>li>a:hover {
    color: #d32f2f;
    background: transparent;
    border: none;
    border-bottom: 2px solid #d32f2f;
}


.ui-title-inner {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* Contact Form */
.contact-form-box {
    background: #f8f8f8;
    padding: 20px;
    margin-bottom: 35px;
    border-radius: 5px;
}

.contact-form-box .form-control {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 14px;
    background: #fff;
    margin-bottom: 20px;
}

.contact-form-box textarea.form-control {
    height: 150px;
    resize: none;
}

.contact-form-box .form-control:focus {
    border-color: #d32f2f;
    outline: none;
    box-shadow: 0 0 5px rgba(211, 47, 47, 0.2);
}

.contact-form-box .btn-submit {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-box .btn-submit:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* Sidebar Widget Styles */
.widget {
    margin-bottom: 40px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.widget-content .list-descriptions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-content .list-descriptions dt {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
    margin-top: 15px;
}

.widget-content .list-descriptions dt:first-child {
    margin-top: 0;
}

.widget-content .list-descriptions dd {
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
    line-height: 1.8;
}

/* Opening Hours Box */
.opening-hours-widget {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 5px;
}

.opening-hours-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opening-hours-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.opening-hours-widget ul li:last-child {
    border-bottom: none;
}

.opening-hours-widget ul li strong {
    color: #333;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.opening-hours-widget ul li span {
    color: #666;
}

.opening-hours-widget ul li span.text-red {
    color: #d32f2f;
    font-weight: 600;
}

/* Call to Action Section */
.section_letter {
    background: #d32f2f;
    padding: 50px 0;
    margin: 50px 0 0;
}

.letter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.letter__inner {
    flex: 1;
    padding-right: 30px;
}

.letter__title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.letter__info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.letter__btn .social-block {
    background: #fff;
    color: #d32f2f;
    padding: 15px 40px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.letter__btn .social-block:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}



/* Accordion Styles */
.accordion {
    margin-top: 30px;
    padding-top: 30px;
    padding-right: 50px;
    padding-left: 15px;
}

.accordion .panel {
    border: 1px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: none;
}

.accordion .panel-heading {
    background: #f8f8f8;
    border-radius: 0;
    padding: 0 0px;
    margin-bottom: 2px;

}

.accordion .panel-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333;
    padding: 24px 20px;

}

.accordion .btn-collapse {
    position: relative;
    /* participate in flex layout */
    margin-right: 10px;
    padding-bottom: 5px;
    /* spacing between icon and title */
    width: 34px;
    height: 34px;
    border: 2px solid #d32f2f;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.accordion .btn-collapse:hover {
    background: #d32f2f;
}

.accordion .btn-collapse .icon {
    padding-bottom: 2px;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion .btn-collapse .icon:before {
    content: "-";
    color: #d32f2f;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.accordion .btn-collapse.collapsed .icon:before {
    content: "+";
    color: #d32f2f;
}

.accordion .btn-collapse:hover .icon:before {
    color: #fff;
}

.accordion .panel-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

@media (max-width: 768px) {
    .letter {
        flex-direction: column;
    }

    .letter__inner {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .contact-details__title {
        font-size: 22px;
    }

    .contact-map-box iframe {
        height: 300px;
    }
}

.header-container-padding {
    padding-right: 90px;
    padding-left: 90px;
}

@media (max-width: 768px) {
    .header-container-padding {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Page scope */
.page-contact .contact-form-box {
    /* additional overrides */
}

/* Force tab text & underline to brand red (#d32f2f) on Contact page (override switcher color files) */
.page-contact .wrap-nav-tabs .nav-tabs>li.active>a,
.page-contact .wrap-nav-tabs .nav-tabs>li>a:hover,
.page-contact .wrap-nav-tabs .nav-tabs>li>a:focus {
    color: #d32f2f !important;
    border-bottom-color: #d32f2f !important;
}

/* Also ensure the bottom border is visible and uses the red color */
.page-contact .wrap-nav-tabs .nav-tabs>li.active>a {
    border-bottom: 2px solid #d32f2f !important;
}

/* End contact.css */
/* 30px gap below the Email line in LOCATION INFO tab */
.tab-pane#tab2 p:last-child {
    margin-bottom: 30px;
}

/* 30px gap below the opening hours widget in WHEN TO VISIT tab */
.tab-pane#tab3 .opening-hours-widget {
    margin-bottom: 30px;
}


/* Sidebar widget spacing — add 10px to the top of the first widget */
.sidebar .widget:first-of-type {
    margin-top: 10x;
}

/* Reduce bottom gap under the Quick Contact widget specifically in the sidebar */
.sidebar .widget:nth-of-type(2) .contact-form-box {
    margin-bottom: -20px;
}
