/* Reset some defaults */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #272936;
    color: #f7f7f9;
    line-height: 1.6;
}

header {
    background: #272936;
    color: #fff;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

header img {
    margin-left: 40px;
    height: 300px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-right: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #ffcc00;
}

main {
    max-width: 900px;
    margin: 40px auto 20px auto;
    background: #232432;
    padding: 32px 40px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    text-align: center;
}

main h1 {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 12px;
}

main p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

section {
    max-width: 900px;
    margin: 30px auto;
    background: #232432;
    padding: 28px 36px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.14);
}

section h2 {
    color: #ffcc00;
    font-size: 1.7rem;
    margin-bottom: 16px;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 4px;
}

/* Add this for the Our Services intro paragraph */
section > p {
    color: #e0e0e0;
    font-size: 1.13rem;
    margin: 18px 0 28px 0;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.telephone {
    display: inline-block;
    background: #ffcc00;
    color: #232432;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(255,204,0,0.10);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.telephone:hover {
    background: #ffe066;
    color: #272936;
}

.facebook {
    display: inline-block;
    background: #4267B2;
    color: #fff;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 1.15rem;
    margin: 8px 0;
    box-shadow: 0 2px 8px rgba(66,103,178,0.10);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.facebook:hover {
    background: #365899;
    color: #ffcc00;
}

.get-in-touch {
    display: inline-block;
    margin-left: 5px;
    padding: 4px 12px;
    background: #ffcc00;
    color: #232432;
    font-size: 1.08rem;
    font-weight: bold;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255,204,0,0.10);
    text-align: center;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    border: none;
}

.get-in-touch:hover {
    background: #ffe066;
    color: #272936;
    text-decoration: none;
}

.view-gallery {
    display: inline-block;
    margin-left: -1px;
    margin-top: -3px;
    padding: 4px 12px;
    background: #3fff2d;
    color: #232432;
    font-size: 1.08rem;
    font-weight: bold;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255,204,0,0.10);
    text-align: center;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    border: none;
}

.view-gallery:hover {
    background: #27a800;
    color: #272936;
    text-decoration: none;
}

.view-reviews {
    display: inline-block;
    margin-left: -1px;
    margin-top: -3px;
    margin-right: 3px;
    padding: 4px 12px;
    background: #3fff2d;
    color: #232432;
    font-size: 1.08rem;
    font-weight: bold;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255,204,0,0.10);
    text-align: center;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    border: none;
}

.view-reviews:hover {
    background: #27a800;
    color: #272936;
    text-decoration: none;
}

.rating {
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.15rem;
    letter-spacing: 1px;
}

/* Remove default anchor styling for .get-in-touch */
.get-in-touch:link,
.get-in-touch:visited,
.get-in-touch:active,
.get-in-touch:focus {
    color: #232432;
    text-decoration: none;
    border: none;
    outline: none;
}

#image-carousel,
#image-carousel .splide__track,
#image-carousel .splide__list,
#image-carousel .splide__slide {
    height: 440px;
    max-height: 440px;
}

#image-carousel img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    background: #232432;
    /* Prevent overlay by centering and containing both orientations */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 8px;
}

/* Center and fill out only the contact page main */
body.contact-page main {
    max-width: 700px;
    min-height: 60vh;
    margin: 40px auto 20px auto;
    background: #232432;
    padding: 40px 48px;
    border-radius: 14px;
    box-shadow: 0 2px 18px rgba(0,0,0,0.18);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Make sure the body and html fill the viewport */
body.contact-page, body.contact-page html {
    height: 100%;
    min-height: 100vh;
}

.services-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.service-block {
    background: #292a38;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 24px 32px;
    min-width: 220px;
    text-align: left;
}

.service-block h3 {
    color: #ffcc00;
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.service-block ul {
    list-style: disc inside;
    color: #f7f7f9;
    margin-left: 0;
    padding-left: 0;
}

.service-block li {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.service-images {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.service-images img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #181924;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    border: 1px solid #232432;
    padding: 4px;
}

.service-images.large {
    display: flex;
    gap: 32px;
    justify-content: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.service-images.large figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

.service-images.large img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    background: #181924;
    box-shadow: 0 1px 8px rgba(0,0,0,0.12);
    border: 1px solid #232432;
    padding: 8px;
    margin-bottom: 8px;
}

.service-images.large figcaption {
    color: #ffcc00;
    font-size: 1.05rem;
    margin-top: 0;
    text-align: center;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.desc-below {
    color: #b0b0b0;
    font-size: 0.98rem;
    font-style: italic;
    margin-top: 4px;
    font-weight: 400;
    line-height: 1.4;
    max-width: 160px;
}

.service-descriptions {
    margin-bottom: 18px;
}

.service-desc {
    margin-bottom: 10px;
    color: #e0e0e0;
    font-size: 1rem;
}

.service-desc strong {
    color: #ffcc00;
    font-weight: 600;
    margin-right: 6px;
}

.desc-placeholder {
    color: #b0b0b0;
    font-style: italic;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin-top: 24px;
}

.testimonial {
    background: #292a38;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 22px 28px;
    max-width: 320px;
    min-width: 220px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial blockquote {
    color: #f7f7f9;
    font-size: 1.08rem;
    font-style: italic;
    margin: 0 0 12px 0;
    padding: 0;
    border-left: 4px solid #ffcc00;
    padding-left: 12px;
}

.testimonial .author {
    color: #ffcc00;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 4px;
    align-self: flex-end;
}

/* Mobile adjustments */
@media (max-width: 700px) {
    html, body {
        width: 100vw;
        min-width: 0;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    body {
        width: 100vw;
        min-width: 0;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header {
        flex-direction: column;
        align-items: center;
        padding: 16px 0 0 0;
    }
    header img {
        margin: 0 auto 12px auto !important;
        height: 100px;
        display: block;
        align-self: center;
        /* Ensure logo is centered */
        float: none;
    }
    nav {
        width: 100vw;
        background: #232432;
        border-radius: 0;
        margin: 0;
        box-shadow: none;
        padding: 0;
        display: block;
        position: relative;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100vw;
        margin: 0;
        padding: 0;
        gap: 0;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
        background: #232432;
    }
    nav ul li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #333;
        text-align: center;
    }
    nav ul li:last-child {
        border-bottom: none;
    }
    nav a {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 1.15rem;
        color: #fff;
        text-align: center;
        background: transparent;
        border-radius: 0;
        transition: background 0.2s, color 0.2s;
        border: none;
        letter-spacing: 0.5px;
    }
    nav a:hover,
    nav a:focus {
        background: #272936;
        color: #ffcc00;
    }
    header img {
        margin-left: 10px;
        height: 100px;
    }
    main {
        padding: 16px 8px;
        min-width: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    main h1,
    main p {
        text-align: center;
        width: 100%;
    }
    .get-in-touch {
        display: inline-block;
        margin-left: 5px;
        margin-top: 8px;
        margin-bottom: 8px;
        width: auto;
        text-align: center;
    }
    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .service-block {
        min-width: 0;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        align-items: center;
        text-align: center;
        padding: 18px 8px;
    }
    .service-images.large {
        justify-content: center;
        gap: 18px;
    }
    .service-images.large figure {
        align-items: center;
        margin: 0 auto;
    }
    .service-images.large img {
        width: 90px;
        height: 90px;
    }
    .desc-below {
        max-width: 100%;
        font-size: 0.97rem;
    }
    section > p {
        font-size: 1rem;
        margin: 14px 0 20px 0;
        padding: 0 2px;
    }
    .testimonials-container {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        width: 100%;
        padding: 0;
    }
    .testimonial {
        max-width: 98vw;
        min-width: 0;
        width: 100%;
        padding: 16px 10px;
        margin: 0 auto;
        box-sizing: border-box;
        align-items: flex-start;
        text-align: left;
    }
    .testimonial blockquote {
        font-size: 1rem;
        padding-left: 10px;
    }
    .testimonial .author {
        font-size: 0.98rem;
        margin-top: 6px;
        align-self: flex-end;
    }
}
