/* Gary Matthews Solicitors - Injury Law - Main Stylesheet */

/* ========================================
   CSS Reset and Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #00acc1;
    --dark-teal: #00838f;
    --light-teal: #b2ebf2;
    --accent-green: #4caf50;
    --accent-amber: #ffa726;
    --accent-red: #e91e63;
    --dark-bg: #212121;
    --dark-gray: #424242;
    --light-gray: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: var(--white);
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-teal);
}

/* ========================================
   Header and Navigation
   ======================================== */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-teal);
    border-bottom-color: var(--primary-teal);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    color: var(--primary-teal);
    font-size: 24px;
    font-weight: bold;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-teal);
    cursor: pointer;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.hero-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-form h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent-amber);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ff9800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.4);
}

.btn-secondary {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========================================
   Container and Layout
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Stats Banner
   ======================================== */
.stats-banner {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.stats-banner .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 16px;
}

/* ========================================
   Services Grid
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card .btn {
    padding: 10px 25px;
    font-size: 14px;
}

/* ========================================
   CTA Sections
   ======================================== */
.cta-section {
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.cta-section.bg-teal {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
}

.cta-section.bg-amber {
    background: linear-gradient(135deg, var(--accent-amber) 0%, #ff9800 100%);
}

.cta-section.bg-red {
    background: linear-gradient(135deg, var(--accent-red) 0%, #c2185b 100%);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   Two Column Layout
   ======================================== */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-column h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-column h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-teal);
}

.content-column p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-column ul {
    list-style: none;
    margin: 20px 0;
}

.content-column ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-light);
}

.content-column ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 18px;
}

/* ========================================
   Process Steps
   ======================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    position: relative;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-teal);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* ========================================
   Table Styles
   ======================================== */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-table thead {
    background-color: var(--primary-teal);
    color: var(--white);
}

.content-table th,
.content-table td {
    padding: 15px;
    text-align: left;
}

.content-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.content-table tbody tr:hover {
    background-color: var(--light-gray);
}

/* ========================================
   Blockquote
   ======================================== */
blockquote {
    background-color: var(--light-teal);
    border-left: 5px solid var(--primary-teal);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-dark);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-teal);
}

.footer-section p,
.footer-section li {
    color: #b0b0b0;
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-section ul li a {
    color: #b0b0b0;
}

.footer-section ul li a:hover {
    color: var(--primary-teal);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--dark-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.footer-social a:hover {
    background-color: var(--primary-teal);
}

.footer-bottom {
    border-top: 1px solid var(--dark-gray);
    padding-top: 20px;
    text-align: center;
    color: #b0b0b0;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   Content Page
   ======================================== */
.content-section {
    background-color: var(--white);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 32px;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.content-wrapper h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--primary-teal);
}

.content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-light);
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0 20px 40px;
    color: var(--text-light);
}

.content-wrapper li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ========================================
   Contact Information
   ======================================== */
.contact-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.info-box {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.info-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--white);
}

.info-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.7;
}

.info-box a {
    color: var(--primary-teal);
    font-weight: 600;
}

.info-box a:hover {
    color: var(--dark-teal);
}

/* ========================================
   Map Container
   ======================================== */
.map-container {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hero .container,
    .two-column {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 80px;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        flex-basis: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-form {
        padding: 25px;
    }

    .section {
        padding: 50px 0;
    }

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

    .phone-number {
        font-size: 18px;
    }

    .stat-item h3 {
        font-size: 36px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}
