/*
 * New style.css for Emergency Glazing in London
 *
 * This file contains a completely new and unique CSS design
 * for an emergency glazing service. The theme is professional
 * and trustworthy, with a new color scheme and modern typography.
 */

/* General Styling & Variables */
:root {
    --primary-color: #0c2d48; /* Dark Blue */
    --secondary-color: #38b2ac; /* Teal */
    --text-color: #2f435e; /* Dark Greyish Blue */
    --background-color: #f7f9fc; /* Very Light Blue-Grey */
    --white: #ffffff;
    --light-grey: #e9eef2;
    --dark-grey: #55606e;
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --border-radius: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-decoration: none;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.contact-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.contact-button:hover {
    background-color: #2b918f;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid var(--light-grey);
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 900;
}

.hero p {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero .cta-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
}

.hero .cta-button:hover {
    background-color: #082236;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
}

.section-light {
    background-color: var(--white);
}

.section-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-dark h2 {
    color: var(--secondary-color);
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.grid-item {
    background-color: var(--light-grey);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.section-dark .grid-item {
    background-color: #1a4d7d;
    color: var(--white);
}

.grid-item h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.section-dark .grid-item h3 {
    color: var(--secondary-color);
}

.grid-item p {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

.section-dark .grid-item p {
    color: var(--light-grey);
}

.image-container {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
}

/* Testimonials */
.testimonials .grid-item {
    text-align: left;
}

.testimonials .review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonials .reviewer-name {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

footer p {
    font-size: 1rem;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile-first Media Queries */

/* Tablet & Larger Screens */
@media (min-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-container {
        grid-column: span 1;
        grid-row: span 2;
    }
}

/* Desktop & Larger Screens */
@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
