
/* =====================================================
   SCOTTLAND YARD
   MAIN STYLESHEET

   Author: Scottland Yard
   Purpose:
   Main styling for all website pages.

   Sections:
   1. Reset & Variables
   2. Global Styles
   3. Navigation
   4. Hero Section
   5. Buttons
   6. Layout Utilities
===================================================== */


/* =====================================================
   1. RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Montserrat', sans-serif;

    background-color: #172d1d;

    color: #222;

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}


/* =====================================================
   2. COLOR VARIABLES
===================================================== */

:root {

    /* Primary Brand Colors */

    --forest-green: #23452b;

    --deep-green: #172d1d;

    --light-green: #3c7547;

    /* Accent Colors */

    --gold: #d7aa52;

    --gold-hover: #c2943f;

    --wood: #6f4a2f;

    /* Neutral Colors */

    --white: #ffffff;

    --off-white: #f5f2eb;

    --gray: #666666;

    --dark: #111111;

    /* Shadows */

    --shadow-small:
        0 5px 15px rgba(0,0,0,.08);

    --shadow-large:
        0 15px 40px rgba(0,0,0,.15);

    /* Border Radius */

    --radius-sm: 8px;

    --radius-md: 15px;

    --radius-lg: 25px;
}


/* =====================================================
   3. CONTAINER
===================================================== */

.container {

    width: 90%;

    max-width: 1200px;

    margin: 0 auto;
}


/* =====================================================
   4. HEADER
===================================================== */

.header {

    background: rgba(0,0,0,.90);
    
    position: fixed;

    top: 0;

    width: 100%;

    z-index: 999;

    transition: .3s ease;

    padding: 20px 0;
}

/*
   This class will be added
   via JavaScript when the user scrolls
*/

.header.scrolled {

    background: rgba(23,45,29,.95);

    backdrop-filter: blur(10px);

    box-shadow: var(--shadow-small);
}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;
}


/* Logo */

.logo img {

    height: 80px;

    width: auto;
}


/* Desktop Navigation */

.nav-menu {

    display: flex;

    gap: 40px;
}

.nav-menu a {

    color: var(--gold);

    font-weight: 600;

    transition: .3s ease;
}

.nav-menu a:hover {

    color: var(--off-white);
}


/* Phone Button */

.phone-btn {

    background: var(--gold);

    color: var(--dark);

    padding: 12px 20px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s ease;
}

.phone-btn:hover {

    background: var(--gold-hover);

    transform: translateY(-2px);
}


/* =====================================================
   5. HAMBURGER MENU
===================================================== */

.hamburger {

    display: none;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    background: transparent;

    border: none;
}

.hamburger span {

    width: 28px;

    height: 3px;

    background: white;

    border-radius: 5px;
}


/* Mobile Navigation */

.mobile-menu {

    position: fixed;

    top: 0;

    right: -100%;

    width: 280px;

    height: 100vh;

    background: var(--deep-green);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 25px;

    transition: .4s ease;

    z-index: 998;
}

.mobile-menu.active {

    right: 0;
}

.mobile-menu a {

    color: white;

    font-size: 1.2rem;

    font-weight: 600;
}


/* =====================================================
   6. HERO SECTION
===================================================== */

.hero {

    position: relative;

    height: 100vh;

    min-height: 750px;

    background:
        url('../images/hero-landscape.png')
        center center / cover no-repeat;

    display: flex;

    align-items: center;

    color: white;
}

/*
   Dark overlay creates contrast
   between image and text
*/

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0,0,0,.60),
            rgba(0,0,0,.55)
        );
}

.hero-content {

    position: relative;

    z-index: 2;
}

.hero-text {

    max-width: 700px;
}

.hero h1 {

    font-size: clamp(
        3rem,
        6vw,
        5.5rem
    );

    font-weight: 800;

    line-height: 1.05;

    margin-bottom: 25px;
}

.hero p {

    font-size: 1.25rem;

    max-width: 650px;

    margin-bottom: 40px;
}


/* =====================================================
   7. BUTTONS
===================================================== */

.btn {

    display: inline-block;

    padding: 15px 30px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s ease;
}

.btn-primary {

    background: var(--gold);

    color: var(--dark);
}

.btn-primary:hover {

    background: var(--gold-hover);

    transform: translateY(-3px);
}

.btn-secondary {

    border: 2px solid white;

    color: white;

    margin-left: 15px;
}

.btn-secondary:hover {

    background: white;

    color: var(--dark);
}


/* =====================================================
   8. SECTION HEADERS
===================================================== */

.section-header {

    text-align: center;

    margin-bottom: 70px;
}

.section-header h2 {

    font-size: 3rem;

    color: var(--off-white);

    margin-bottom: 15px;
}

.section-header p {

    color: var(--gray);

    max-width: 700px;

    margin: 0 auto;
}


/* =====================================================
   9. COMMON SECTION SPACING
===================================================== */

.services-preview,
.about,
.testimonials,
.final-cta {

    padding: 120px 0;
}

/*    css id="scottland-style-css-part2"              */

/* =====================================================
   10. SERVICES SECTION
===================================================== */

.services-preview {

    background: var(--off-white);
}

.service-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 30px;
}

.service-card {

    background: white;

    border-radius: var(--radius-lg);

    overflow: hidden;

    box-shadow: var(--shadow-small);

    transition: all .35s ease;
}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-large);
}

.service-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;
}

.service-content {

    padding: 30px;
}

.service-content h3 {

    color: var(--deep-green);

    margin-bottom: 15px;

    font-size: 1.4rem;
}

.service-content p {

    color: var(--gray);
}


/* =====================================================
   11. ABOUT SECTION
===================================================== */

.about {

    background: var(--off-white);
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.section-tag {

    display: inline-block;

    color: var(--gold);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.about-text h2 {

    font-size: 3rem;

    color: var(--deep-green);

    margin-bottom: 25px;
}

.about-text p {

    color: var(--gray);

    margin-bottom: 30px;
}

.benefits {

    display: flex;

    flex-direction: column;

    gap: 15px;
}

.benefits li {

    font-weight: 600;

    color: var(--deep-green);
}

.about-image img {

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-large);

    width: 100%;
}


/* =====================================================
   12. PRICING BANNER
===================================================== */

.pricing-banner {

    background:
        linear-gradient(
            rgba(23,45,29,.92),
            rgba(23,45,29,.92)
        ),
        url('../images/pricing-bg.jpg')
        center center / cover no-repeat;

    text-align: center;

    padding: 120px 20px;

    color: white;
}

.pricing-banner h2 {

    font-size: 3rem;

    margin-bottom: 30px;
}

.pricing-banner span {

    color: var(--gold);
}

.pricing-banner .btn {

    margin-top: 20px;
}


/* =====================================================
   13. TESTIMONIALS
===================================================== */

.testimonials {

    background: var(--off-white);
}

.testimonial-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.testimonial {

    background: white;

    padding: 40px;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-small);

    transition: .3s ease;
}

.testimonial:hover {

    transform: translateY(-8px);
}

.testimonial p {

    font-style: italic;

    margin-bottom: 20px;

    color: var(--gray);

    line-height: 1.8;
}

.testimonial strong {

    color: var(--deep-green);
}


/* =====================================================
   14. FINAL CALL TO ACTION
===================================================== */

.final-cta {

    background: var(--deep-green);

    color: white;

    text-align: center;
}

.final-cta h2 {

    font-size: 3.2rem;

    margin-bottom: 20px;
}

.final-cta p {

    font-size: 1.2rem;

    margin-bottom: 35px;
}


/* =====================================================
   15. FOOTER
===================================================== */

.footer {

    background: #0d1710;

    color: rgba(255,255,255,.8);

    text-align: center;

    padding: 70px 20px;
}

.footer-logo {

    max-width: 180px;

    margin: 0 auto 25px;
}

.footer p {

    margin-bottom: 12px;
}

.footer a {

    color: var(--gold);

    font-weight: 600;
}

.footer a:hover {

    color: white;
}


/* =====================================================
   16. SIMPLE FADE-IN ANIMATIONS
===================================================== */

.fade-in {

    opacity: 100;

    transform: translateY(30px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.fade-in.show {

    opacity: 1;

    transform: translateY(0);
}


/* =====================================================
   17. TABLET BREAKPOINT
===================================================== */

@media (max-width: 992px) {

    .about-grid {

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero h1 {

        font-size: 4rem;
    }

    .section-header h2 {

        font-size: 2.5rem;
    }

    .about-text h2 {

        font-size: 2.5rem;
    }

    .pricing-banner h2 {

        font-size: 2.5rem;
    }

    .final-cta h2 {

        font-size: 2.8rem;
    }
}


/* =====================================================
   18. MOBILE BREAKPOINT
===================================================== */

@media (max-width: 768px) {

    /* Hide desktop navigation */

    .main-nav {

        display: none;
    }

    .phone-btn {

        display: none;
    }

    .hamburger {

        display: flex;
    }

    .logo img {

        height: 65px;
    }

    .hero {

        text-align: center;

        min-height: 700px;
    }

    .hero h1 {

        font-size: 3rem;
    }

    .hero p {

        font-size: 1.05rem;
    }

    .hero-buttons {

        display: flex;

        flex-direction: column;

        gap: 15px;
    }

    .btn-secondary {

        margin-left: 0;
    }

    .section-header h2 {

        font-size: 2.2rem;
    }

    .about-text h2 {

        font-size: 2.2rem;
    }

    .pricing-banner h2 {

        font-size: 2.2rem;
    }

    .final-cta h2 {

        font-size: 2.3rem;
    }

    .service-card img {

        height: 220px;
    }

    .testimonial {

        padding: 30px;
    }
}


/* =====================================================
   19. SMALL PHONES
===================================================== */

@media (max-width: 480px) {

    .hero h1 {

        font-size: 2.4rem;
    }

    .hero p {

        font-size: 1rem;
    }

    .btn {

        width: 100%;

        text-align: center;
    }

    .pricing-banner {

        padding: 90px 20px;
    }

    .pricing-banner h2 {

        font-size: 1.8rem;
    }

    .final-cta h2 {

        font-size: 2rem;
    }
}


/* =====================================================
   END OF HOMEPAGE STYLES
===================================================== */

```
.active-page {
    color: var(--gold) !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: var(--dark);
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

.lazy-image {
    opacity: 0;
    transition: opacity .8s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* SERVICES PAGE HERO */

.page-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.services-hero {
    background:
        url('../images/services-hero.jpg')
        center center / cover no-repeat;
}

/* SERVICE DETAIL SECTIONS */

.service-detail {
    padding: 120px 0;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-layout.reverse {
    direction: rtl;
}

.service-layout.reverse > * {
    direction: ltr;
}

.service-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-large);
}

.service-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.service-info p {
    margin-bottom: 25px;
}

.service-info ul li {
    margin-bottom: 12px;
    font-weight: 600;
}

.alt {
    background: white;
}

.additional-services {
    padding: 120px 0;
    background: var(--off-white);
}

@media (max-width: 900px) {

    .service-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-layout.reverse {
        direction: ltr;
    }
}

/* ==========================================
   GALLERY PAGE
========================================== */

.gallery-hero {
    background:
        url('../images/gallery-hero.jpg')
        center center / cover no-repeat;
}

.gallery-section {
    padding: 100px 0;
}

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;
}

.gallery-item {

    position: relative;

    overflow: hidden;

    border-radius: 20px;

    cursor: pointer;

    box-shadow: var(--shadow-small);
}

.gallery-item img {

    width: 100%;

    height: 350px;

    object-fit: cover;

    transition: .4s ease;
}

.gallery-item:hover img {

    transform: scale(1.08);
}

.gallery-overlay {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.55);

    display: flex;

    align-items: center;

    justify-content: center;

    opacity: 0;

    transition: .3s ease;
}

.gallery-item:hover .gallery-overlay {

    opacity: 1;
}

.gallery-overlay h3 {

    color: white;

    font-size: 1.5rem;
}

.gallery-filters {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 15px;

    margin-bottom: 50px;
}

.gallery-filter {

    background: white;

    border: 2px solid var(--forest-green);

    padding: 12px 24px;

    border-radius: 40px;

    cursor: pointer;

    font-weight: 600;
}

.gallery-filter.active {

    background: var(--forest-green);

    color: white;
}

.before-after {

    padding: 120px 0;

    background: white;
}

.before-after-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;
}

.before-card img {

    width: 100%;

    border-radius: 20px;
}

.before-card h3 {

    text-align: center;

    margin-bottom: 20px;

    color: var(--deep-green);
}

@media (max-width:768px) {

    .before-after-grid {

        grid-template-columns: 1fr;
    }
}





/* ================================
   CONTACT PAGE
================================ */

.contact-hero{
background:url('../images/contact-hero.jpg')
center/cover no-repeat;
}

.contact-options,
.estimate-section,
.map-section,
.service-areas,
.business-hours,
.faq{

padding:100px 0;
}

.contact-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;
}

.contact-card{

background:white;

padding:40px;

border-radius:20px;

text-align:center;

box-shadow:var(--shadow-small);

transition:.3s;
}

.contact-card:hover{

transform:translateY(-8px);

box-shadow:var(--shadow-large);
}

.contact-icon{

font-size:48px;

margin-bottom:20px;
}

.estimate-wrapper{

display:grid;

grid-template-columns:1fr 1.3fr;

gap:60px;

align-items:start;
}

.form-group{

margin-bottom:25px;
}

.form-group label{

display:block;

margin-bottom:8px;

font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{

width:100%;

padding:14px;

border:1px solid #ccc;

border-radius:10px;

font-family:inherit;
}

.checkbox-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:10px;

margin:20px 0;
}

.submit-btn{

width:100%;
margin-top:20px;
}

.map-wrapper{

border-radius:20px;

overflow:hidden;

box-shadow:var(--shadow-large);
}

.map-wrapper iframe{

width:100%;

height:500px;

border:0;
}

.area-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(160px,1fr));

gap:20px;
}

.area-card{

background:var(--forest-green);

color:white;

padding:25px;

text-align:center;

border-radius:15px;

font-weight:700;
}

.hours-card{

background:white;

padding:50px;

border-radius:20px;

box-shadow:var(--shadow-small);

max-width:700px;

margin:auto;
}

.hours-card table{

width:100%;
}

.hours-card td{

padding:12px;
}

.faq-item{

background:white;

margin-bottom:15px;

border-radius:15px;

overflow:hidden;

box-shadow:var(--shadow-small);
}

.faq-question{

width:100%;

padding:22px;

text-align:left;

background:none;

border:none;

font-size:1.05rem;

font-weight:700;

cursor:pointer;
}

.faq-answer{

max-height:0;

overflow:hidden;

transition:.3s;
}

.faq-item.open .faq-answer{

max-height:200px;

padding:0 22px 22px;
}

@media(max-width:900px){

.estimate-wrapper{

grid-template-columns:1fr;
}

.checkbox-grid{

grid-template-columns:1fr;
}

}

