@import url('nextjs.css');
@import url('nextjs3.css');
@import url('nextjs4.css');

/* ── Custom overrides for CI4 build ── */

/* Responsive display utilities missing from compiled CSS */
@media (min-width: 768px) {
    .md\:block  { display: block !important; }
    .md\:hidden { display: none  !important; }
    .md\:inline-block { display: inline-block !important; }
}
.hidden { display: none; }

/* Banner image — full width, proportional */
.banner-img-wrap {
    width: 100%;
}
.banner-img-wrap img {
    width: 100%;
    height: auto;
}
.banner-img-wrap img.hidden {
    display: none !important;
}
@media (min-width: 768px) {
    .banner-img-wrap img.md\:block  { display: block !important; }
    .banner-img-wrap img.md\:hidden { display: none  !important; }
}

/* Banner top padding to clear absolute header */
.pt-\[90px\]  { padding-top: 90px; }
.pt-\[120px\] { padding-top: 120px; }
@media (min-width: 768px)  { .md\:pt-\[120px\] { padding-top: 120px; } }
@media (min-width: 1024px) { .lg\:pt-\[120px\] { padding-top: 120px; } }

/* Ensure header becomes white on scroll */
.header.sticky {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Collapsible footer clients */
.collapsible__content {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Dropdown submenus */
.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 250px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 12px;
    z-index: 50;
}
@media (max-width: 1023px) {
    .submenu {
        position: relative;
        box-shadow: none;
        padding: 4px 0 4px 12px;
    }
}

/* Mobile navbar open state */
.navbar.open {
    visibility: visible !important;
    opacity: 1 !important;
    top: 100% !important;
}

/* Carousel placeholder */
.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    min-width: 100%;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
}
.carousel-dot.active { background: #CA232A; }

/* Banner carousel slide heights & overlay buttons */
.carousel-slide .relative {
    position: relative;
}
.banner-btn-red {
    background: linear-gradient(135deg, #9D262A 0%, #CA232A 100%);
}
.banner-btn-telemagenta {
    background: #CF3476;
}
.banner-btn-outline {
    background: transparent;
    border: 2px solid #fff;
}

/* Testimonial carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.testimonial-slide {
    min-width: 100%;
}
.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 8px;
}
@media (min-width: 1024px) {
    .testimonial-btn { display: flex; }
}
.testimonial-prev { left: 16px; }
.testimonial-next { right: 16px; }

/* Google Maps embed */
#map {
    width: 100%;
    line-height: 0;
}
#map iframe {
    display: block;
    width: 100%;
}

/* Contact form */
.form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.form-input:focus { border-color: #CA232A; }
.form-error { color: #CA232A; font-size: 12px; margin-top: 4px; }
.alert-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}
