/* Sollett Bros. Ltd. CSS - January 2026 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: black;
    line-height: 1.6;
    background-color: #999;
}

.top-banner {
    background: #214a7d;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
}

.top-banner a {
    color: #fff;
    text-decoration: underline;
    margin-left: 5px;
}

header {
    background: #999;
    padding: 20px 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.header-logo {
    text-align: center;
}

nav {
    background: #214a7d;
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    position: relative;
}

nav > ul > li > a {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s;
}

nav > ul > li > a:hover {
    background: #2563eb;
}

nav > ul > li > a.active {
    background: #999;
    color: #214a7d;
}

/* Mobile hero image div - no longer used, hidden permanently */
.hero-mobile-img {
    display: none !important;
}

.hero {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 80px 20px;
    text-align: center;
    min-height: 500px;
    background-color: #555;
}

/* Full-bleed background image inside hero, handled as a real img tag in HTML */
.hero-bg-img {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
    z-index: 0;
}

/* Mobile version hidden by default on desktop */
.hero-bg-mobile {
    display: none !important;
}

/* Dark overlay on top of the background image */
.hero-overlay {
    display: block !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-columns {
    position: relative;
    z-index: 2;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    color: white;
}

.hero-phone {
    font-size: 36px;
    font-weight: bold;
    margin: 25px 0;
    letter-spacing: 1px;
    color: white;
}

.btn-primary {
    background: #214a7d;
    color: #000;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: #999;
}

.hero-columns {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 100%;
    width: 100%;
    padding: 0 50px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-col-left,
.hero-col-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    padding-left: 8%;
}

.hero-col-centre {
    flex: 1;
    text-align: center;
}

.ideal-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.ideal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 10px;
    padding: 25px 30px;
    text-decoration: none;
    transition: all 0.3s;
    width: 100%;
}

.ideal-btn img {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.ideal-btn-label {
    color: white;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-top: 12px;
    text-transform: uppercase;
}

.ideal-btn:hover {
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.footer-ideal-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.footer-ideal-btn img {
    max-width: 180px;
    height: auto;
}

.quote-form {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quote-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.quote-form button {
    width: 100%;
}

.trust-badges {
    background: #999;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
}

.trust-badge-title {
    font-size: 14px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    background-color: #999;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: black;
    max-width: 1600px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 5px;
    background-color: #999;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 60px 0;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    background: #214a7d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #214a7d;
    text-align: center;
    text-transform: uppercase;
}

.service-description {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: #214a7d;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.service-link:hover {
    color: #2563eb;
}

footer {
    background: #999;
    color: black;
    padding: 60px 20px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: black;
    text-transform: uppercase;
    text-align: center;
}

.footer-section p,
.footer-section a {
    color: black;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 12px;
    color: black;
    line-height: 1.8;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: black;
    margin: 0 15px;
    font-size: 12px;
}

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav ul {
        flex-direction: column;
    }

    nav > ul > li > a {
        padding: 15px;
    }

    .hero {
        padding: 30px 15px;
        min-height: 0;
    }

    .hero-bg-img,
    .hero-overlay {
        display: block !important;
    }

    /* Swap to mobile crop image */
    .hero-bg-desktop {
        display: none !important;
    }

    .hero-bg-mobile {
        display: block !important;
        object-position: center center;
    }

    .hero-columns {
        flex-direction: column;
        align-items: center;
        padding: 0 15px;
    }

    .hero-col-left,
    .hero-col-right {
        padding-left: 0;
        width: 100%;
        max-width: 400px;
    }

    .hero-col-centre {
        order: -1;
        width: 100%;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero-phone {
        font-size: 28px;
    }

    .trust-badges {
        gap: 40px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* ── Gallery Grid ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 300px);
    gap: 15px;
    justify-content: center;
    padding: 20px 0 50px;
}

.gallery-item {
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item::after {
    content: '⤢';
    position: absolute;
    inset: 0;
    background: rgba(33, 74, 125, 0.55);
    color: white;
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ── Lightbox ── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#lightbox.active {
    display: flex;
}

#lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

#lightbox-close {
    position: fixed;
    top: 20px;
    right: 28px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    font-weight: 300;
    z-index: 10000;
    user-select: none;
}

#lightbox-close:hover {
    color: #aac4e8;
}

#lightbox-prev,
#lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 48px;
    cursor: pointer;
    user-select: none;
    padding: 10px 18px;
    background: rgba(33,74,125,0.5);
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 10000;
}

#lightbox-prev { left: 16px; }
#lightbox-next { right: 16px; }

#lightbox-prev:hover,
#lightbox-next:hover {
    background: rgba(33,74,125,0.9);
}

/* ── Gallery Section Header ── */
.gallery-section {
    margin-bottom: 40px;
}

.gallery-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: black;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 30px auto 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid black;
    width: fit-content;
}

/* ── Gallery Responsive ── */
@media (max-width: 1600px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 300px);
    }
}

@media (max-width: 1280px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 300px);
    }
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 300px);
    }
}
/* ── Finance Page ── */
.finance-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 50px;
    text-align: center;
}

.finance-content .ideal-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    margin: 10px auto 30px;
    max-width: 860px;
}

.finance-content .ideal-btn {
    flex: 1;
    max-width: 400px;
}

.finance-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: black;
}

.finance-legal {
    margin-top: 40px;
    font-size: 13px !important;
    color: #444 !important;
    border-top: 1px solid rgba(0,0,0,0.15);
    padding-top: 20px;
}

/* ── Services List ── */
.services-list {
    max-width: 1200px;
    margin: 20px auto 60px;
}

.service-section {
    margin-bottom: 20px;
    border-bottom: 2px solid #bbb;
}

.service-section:last-child {
    border-bottom: none;
}

.service-section-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.service-section-heading img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.service-section-heading h2 {
    font-size: 26px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
    letter-spacing: 1px;
    margin: 0;
}

.service-item {
    padding: 16px 0 16px 70px;
    border-bottom: 1px solid #d0d8e4;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.service-item p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.service-item a {
    color: #214a7d;
    font-weight: 700;
}

@media (max-width: 600px) {
    .service-section-heading h2 {
        font-size: 20px;
    }
    .service-item {
        padding: 14px 0 14px 0;
    }
}

/* ── Header Logo ── */
.header-logo img {
    max-width: 700px;
    width: 100%;
    height: auto;
}

/* ── Footer legal paragraph ── */
.footer-legal-para {
    margin-top: 20px;
}

/* ── Contact page ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0 60px;
}

.contact-form-section,
.contact-map-section {
    background: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-section-title {
    text-align: left;
    font-size: 24px;
    margin-bottom: 25px;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
}

.contact-field {
    margin-bottom: 15px;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: black;
    background: #fff;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #214a7d;
}

.contact-field textarea {
    resize: vertical;
}

.contact-details {
    margin-top: 25px;
    font-size: 14px;
    line-height: 2;
}

.contact-details a {
    color: #214a7d;
    text-decoration: none;
}

.contact-details a:hover {
    color: #2563eb;
}

.contact-map-iframe {
    border: 0;
    border-radius: 10px;
    width: 100%;
    height: 400px;
}

.btn-primary-white {
    color: white;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ── Index page ── */
.hero-quote-label {
    margin-top: 30px;
    font-size: 18px;
    color: white;
}

#form-status {
    margin-top: 12px;
    font-size: 14px;
    display: none;
}

.service-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* ── Privacy & Cookie Policy Page ── */
.privacy-content {
    max-width: 1000px;
    margin: 20px auto 60px;
    background: white;
    border-radius: 10px;
    padding: 40px 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.privacy-updated {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
    font-style: italic;
}

.privacy-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #214a7d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 30px 0 12px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.privacy-content h3:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.privacy-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 12px;
}

.privacy-content ul {
    margin: 10px 0 15px 25px;
}

.privacy-content ul li {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 5px;
}

.privacy-content a {
    color: #214a7d;
    font-weight: 600;
    text-decoration: none;
}

.privacy-content a:hover {
    color: #2563eb;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 25px 20px;
    }
}

/* ── Cookie Consent Banner ── */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a3a63;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 99999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    flex-wrap: wrap;
}

#cookie-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
    color: #fff;
}

#cookie-banner a {
    color: #aac4e8;
    text-decoration: underline;
}

#cookie-banner a:hover {
    color: #fff;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-accept {
    background: #214a7d;
    color: #fff;
    border: 2px solid #fff;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

#cookie-accept:hover {
    background: #fff;
    color: #214a7d;
}

#cookie-decline {
    background: transparent;
    color: #ccc;
    border: 2px solid #666;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: border-color 0.2s, color 0.2s;
}

#cookie-decline:hover {
    border-color: #aaa;
    color: #fff;
}

@media (max-width: 600px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}
