/* ===========================
   DESKTOP HEADER
   =========================== */

main {
    background: #ffffff;
}


.site-header {
    width: 100%;
    background: var(--brand-light); 
    padding-top: 4px;
    border-top: 16px solid var(--brand-primary);
}

.header-bar {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    min-height: 120px;
    background: var(--brand-light); 
    border-bottom: 1px solid var(--brand-border);
}

/* Desktop left */
.header-left img {
    width: 60px;
    height: auto;
}

/* Desktop center logo */
.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.site-logo {
    width: 340px;
    height: auto;
}

/* Desktop right */
.header-right {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 1.1rem;
    line-height: 1.3;
}

.header-right span { 
    color: var(--brand-text);
}

/* ===========================
   DESKTOP NAVIGATION
   =========================== */

.desktop-nav {
    width: 100%;
    background: var(--brand-primary);
    margin-top: 0px;
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--brand-light);
    font-size: 1rem;
    font-weight: bold;
    padding: 8px 14px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav a:hover {
    background: var(--brand-secondary);
    color: var(--brand-light);
}

/* ===========================
   MOBILE HEADER
   =========================== */

.mobile-header {
    display: none;
}

/* ===========================
   DESKTOP SLIDER
   =========================== */

.hero-slider {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
}
.hero-slider img {
width:100%;
}
.static-hero {
        aspect-ratio: auto !important;
        height: auto !important;

    }

.hero-track {
    display: flex;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.hero-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

/* ===========================
   DESKTOP SLIDER INFO BOX
   =========================== */

.hero-info-box {
    position: absolute;
    top: 100px;
    left: 40%;
    transform: translateX(-80%);
    width: 380px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.85);
    color: #000;
    text-align: center;
    border-radius: 6px;
    border: 2px solid var(--brand-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 999;
}

.hero-info-box h2 {
    margin: 0 0 12px;
    font-size: 1.7rem;
    line-height: 1.3;
    color: var(--brand-secondary);
}

.hero-info-box p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.45;
}

.hero-contact-btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--brand-secondary);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

/* ===========================
   MAIN CONTENT BLOCKS (DESKTOP)
   =========================== */

.content-blocks {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* Perfect grid rows */
.content-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
}

/* Text block */
.content-text {
    flex: 1;
    display: flex;
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    align-items: stretch; /* FIX: ensures full height */
}
.content-blocks .content-text { 
	background: #e8e8e8;
}

.content-inner {
    padding: 25px;
    width: 100%;
}

.content-text h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--brand-primary);
}

.content-text p {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--brand-text);
}

.content-text ul {
    margin: 10px 0 20px;
    padding-left: 20px;
    line-height: 1.55;
    font-size: 1rem;
}

.content-text ul li {
    margin-bottom: 6px;
}

/* Image block */
.content-image {
    flex: 1;
    display: flex; /* FIX: allows image to stretch */
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}
.section-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--brand-primary);
    margin: 60px 0 30px;
    font-weight: bold;
}

.map-wrapper {
    width: 100%;
    max-width: 1200px;
    height: 400px; /* temporary placeholder height */
    margin: 0 auto 80px;
    background: #ddd; /* placeholder until we add the real map */
    border-radius: 6px;
}
#map {
    width: 100%;
    height: 400px;
    border-radius: 6px;
}
.directions-wrapper {
    text-align: center;
    margin-top: 20px;
}

.directions-btn {
    display: inline-block;
    background: var(--brand-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s ease;
}

.directions-btn:hover {
    background: var(--brand-secondary);
}
.cityscape-banner {
    position: relative;
    width: 100%;
    margin: 60px 0;
    text-align: center;
}

.cityscape-img {
    width: 100%;
    height: auto;
    display: block;
}

.cityscape-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--brand-primary);
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    padding: 0 20px;
}

.cityscape-phone {
    display: block;
    margin-top: 10px;
    font-size: 2.2rem;
    color: var(--brand-secondary);
}
/* ===========================
   FULL-WIDTH CONTACT FORM
   =========================== */

.contact-section {
    width: 100%;
    background: #222; /* dark grey like footer */
    padding: 10px 20px;
    color: #fff;
	box-sizing: border-box;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-inner h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--brand-light);
}

.contact-form .form-row {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-submit {
    background: var(--brand-secondary);
    color: #fff;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.contact-submit:hover {
    background: var(--brand-primary);
}
/* DESKTOP CONTACT FORM LAYOUT */

.contact-top-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.contact-top-row .form-group {
    flex: 1;
    min-width: 0; /* prevents horizontal overflow */
}


.contact-details {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-details h2 {
    margin-bottom: 20px;
    color: var(--brand-primary);
}

.contact-details p {
    margin: 10px 0;
    line-height: 1.6;
    font-size: 1.1rem;
}


.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #fff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.full-width textarea {
    height: 160px;
}
.testimonials-section {
    background: #ffffff; /* white section */
    padding: 60px 20px;
}


.testimonials-heading {
    text-align: center;
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 40px;
    font-weight: bold;
}

.testimonial {
	position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 25px 30px;
    background: #e8e8e8; /* grey card */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	border-left: 6px solid var(--brand-primary); 
	padding-left: 24px;
	opacity: 0; 
	transform: translateY(20px); 
	animation: fadeUp 0.6s ease forwards;
}
.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 4rem;
    color: rgba(0,0,0,0.08);
    font-weight: bold;
    line-height: 1;
    pointer-events: none;
}
.testimonial:nth-child(even) {
    background: #e2e2e2;
}

.testimonial:nth-child(odd) {
    background: #f2f2f2;
}
#contact-map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
}
.thank-you-section {
    padding: 80px 20px;
    text-align: center;
    background: #ffffff;
}

.thank-you-inner {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-section h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: var(--brand-primary);
}

.thank-you-section p {
    font-size: 1.2rem;
    margin: 10px 0;
    line-height: 1.6;
}

.thank-you-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;
    background: var(--brand-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

.thank-you-button:hover {
    background: var(--brand-primary-dark);
}

.legal-page {
    background: #ffffff;
    padding: 60px 20px;
}

.legal-inner {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.65;
    color: var(--brand-text);
}

.legal-inner h2 {
    margin-top: 30px;
    font-size: 1.4rem;
    color: var(--brand-primary);
}

.legal-inner ul {
    margin: 10px 0 20px;
    padding-left: 20px;
}

.footer-legal-links {
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
}

.footer-legal-links a {
    color: var(--brand-light);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--brand-secondary);
}

.footer-legal-links .divider {
    color: var(--brand-light);
    opacity: 0.6;
}
.sitemap-list {
    margin: 30px 0;
    padding-left: 20px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.sitemap-list a {
    color: var(--brand-primary);
    text-decoration: none;
}

.sitemap-list a:hover {
    color: var(--brand-secondary);
}




@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }




.testimonial .quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--brand-text);
    margin-bottom: 10px;
}


.testimonial .date {
    font-size: 0.95rem;
    color: var(--brand-secondary);
    font-weight: bold;
}


/* DESKTOP: tighten spacing above footer */
@media (min-width: 769px) {
    .contact-section {
        margin: 0;
		margin-top: 0px; /* or -20px depending on the white space */
		padding-top: 0; /* optional: tighten even more */
		padding-top: 40px; /* adjust to taste */
    }

    footer {
        margin-top: 0;
        padding-top: 0px;
    }
	.directions-wrapper { 
		margin-bottom: 0px; /* reduce from whatever it is now */ 
	}
	.cityscape-banner { 
		margin: 0px; /* was 60px */ 
		padding: 0; /* remove gap below the cityscape */
	}
	.cityscape-banner img { 
		display: block; /* removes default inline spacing */ 
		margin: 0; 
		padding: 0; 
	}
	.contact-submit { 
		margin-top: 30px; /* adds the spacing you want */
	}
}





/* ===========================
   DESKTOP ALTERNATION (if needed)
   =========================== */

@media (min-width: 769px) {
    .content-row.reverse {
        flex-direction: row-reverse !important;
    }
}

/* ===========================
   MOBILE LAYOUT
   =========================== */

@media (max-width: 768px) {

    .header-bar,
    .desktop-nav {
        display: none;
    }

    .mobile-header {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 15px 10px;
        gap: 1px;
        background: var(--brand-light);
        box-sizing: border-box;
    }

    .mobile-logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    .mobile-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-top-row img {
        width: 50px;
        height: auto;
    }

    .mobile-menu-toggle {
        background: none;
        border: none;
        font-size: 60px;
        cursor: pointer;
        padding: 0;
        line-height: 1;
        color: var(--brand-primary);
    }

    .mobile-phone,
    .mobile-email {
        text-align: center;
        font-size: 1.3rem;
        color: var(--brand-secondary);
        text-decoration: none;
        padding: 6px 0;
    }

    .mobile-phone {
        font-weight: bold;
    }

    .mobile-nav {
        display: none;
        background: var(--brand-primary);
        border-top: 1px solid var(--brand-secondary);
        overflow: hidden;
        transition: max-height 0.3s ease;
        max-height: 0;
    }

    .mobile-nav.open {
        display: block;
        max-height: 500px;
    }

    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav li {
        border-bottom: 1px solid #eee;
    }

    .mobile-nav a {
        display: block;
        text-decoration: none;
        color: var(--brand-light);
        padding: 14px 20px;
        font-size: 1.2rem;
    }

    .mobile-nav a:hover {
        background: #f5f5f5;
    }

    .hero-slider {
        width: 100%;
        aspect-ratio: 1920 / 480;
        height: auto;
        overflow: hidden;
    }

    .hero-track {
        height: 100%;
    }

    .hero-track img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .hero-info-box {
        display: none;
    }

    .content-row {
        display: flex;
        flex-direction: column;
    }

    /* Force text first, image second on mobile */
    .content-row .content-text {
        order: 1;
    }

    .content-row .content-image {
        order: 2;
    }
    .cityscape-banner {
        background: #e8e8e8;
        padding: 40px 20px;
        position: relative;
        width: 100%;
        box-sizing: border-box; /* prevents overflow */
        overflow: hidden;       /* safety net */
    }

    .cityscape-img {
        display: none;
    }

    .cityscape-text {
        position: static;
        transform: none;
        width: 100%;            /* ensures it fits the screen */
        max-width: 100%;        /* prevents accidental overflow */
        box-sizing: border-box; /* padding stays inside width */
        padding: 0;
        margin: 0 auto;
        color: var(--brand-primary);
        font-size: 1.2rem;
        line-height: 1.4;
        text-shadow: none;
        text-align: center;
        overflow-wrap: break-word; /* breaks long text if needed */
    }

    .cityscape-phone {
        font-size: 1.8rem;
        margin-top: 10px;
        color: var(--brand-secondary);
    }
    .contact-section {
        width: 100%;
        padding: 40px 20px;
        box-sizing: border-box; /* prevents padding from causing overflow */
        overflow: hidden;       /* safety net */
    }

    .contact-inner {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box; /* ensures padding stays inside width */
    }

    .contact-submit {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    /* Stack the top row vertically */
    .contact-top-row {
        flex-direction: column;
        gap: 0;
    }

    /* Ensure each form group takes full width */
    .form-group {
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    /* Labels above fields */
    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: bold;
        color: #fff;
    }

    /* Inputs and textarea full width */
    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Message box height on mobile */
    .full-width textarea {
        height: 140px;
    }

    /* Submit button full width */
    .contact-submit {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .static-hero img {
        height: auto;         /* stops the zoom */
        max-height: none;
        object-fit: contain;  /* or remove this line entirely */
    }
    .static-hero {
        aspect-ratio: auto !important;
        height: auto !important;
    }

    .static-hero img {
        width: 100%;
        height: auto !important;
        object-fit: cover; /* or contain if you prefer */
        display: block;
    }
    .testimonials-section {
        padding: 0px 20px; /* or 20px if you want it tighter */
    }
}
