:root {
    --primary-red: #8B2328;
    --primary-red-dark: #6e1b1f;
    --dark-charcoal: #333333;
    --light-gray: #f5f5f5;
    --silver-accent: #9ea8b0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-charcoal);
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-red);
}

.nav-phone {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.nav-phone:hover {
    background-color: var(--primary-red-dark);
}

.mobile-header-phone {
    display: none;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.mobile-header-phone:hover {
    background-color: var(--primary-red-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-header-phone {
        display: block;
    }

    .nav {
        position: fixed;
        top: 110px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 2rem 0;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .nav-phone {
        margin: 1rem auto;
        display: inline-block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}



.hero {
    position: relative;
   background-image: url('/public/keiths-garage-door-service-new-door-installation.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 4rem 20px;
    transform: translateZ(0);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-call {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.btn-text-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-phone-line {
    display: inline;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 3rem 20px;
    }

    .hero-logo {
        width: 240px;
        height: 160px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-call {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }

    .btn-text-line {
        justify-content: center;
    }

    .btn-phone-line {
        font-size: 1.3rem;
        font-weight: 800;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background-color: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 35, 40, 0.3);
}

.btn-secondary {
    background-color: var(--dark-charcoal);
    color: var(--white);
    border-color: var(--dark-charcoal);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 35, 40, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

.btn-light:hover {
    background-color: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.25rem;
}

.btn-full {
    width: 100%;
}

.trust-bar {
    background-color: var(--light-gray);
    padding: 2rem 20px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.trust-item span {
    font-weight: 600;
    color: var(--dark-charcoal);
}

.services-overview,
.about-snippet,
.testimonials-section {
    padding: 4rem 20px;
}

.section-title {
    text-align: center;
    color: var(--dark-charcoal);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--silver-accent);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--silver-accent);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.about-snippet {
    background-color: var(--light-gray);
}

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

.about-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--dark-charcoal);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

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

.stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-charcoal);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-red);
}

.final-cta {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.cta-title {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-text {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.cta-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

.cta-link:hover {
    opacity: 0.8;
}

.footer {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

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

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero {
    background-color: var(--dark-charcoal);
    color: var(--white);
    padding: 4rem 20px 2rem;
    text-align: center;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
}

.about-main {
    padding: 4rem 20px;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}

.about-photo {
    position: sticky;
    top: 100px;
    align-self: start;
}

.keith-photo {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.keith-photo:hover {
    transform: scale(1.02);
}

.photo-placeholder {
    background-color: var(--light-gray);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.photo-placeholder i {
    font-size: 4rem;
    color: var(--silver-accent);
    margin-bottom: 1rem;
}

.photo-placeholder p {
    color: var(--silver-accent);
    font-weight: 600;
}

.about-story h2 {
    margin-bottom: 1.5rem;
}

.about-story p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.values-section {
    padding: 4rem 20px;
    background-color: var(--light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--silver-accent);
    line-height: 1.8;
}

.about-cta {
    padding: 4rem 20px;
    text-align: center;
}

.about-cta-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-main {
    padding: 4rem 20px;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

@media (max-width: 768px) {
    .services-grid-detailed {
        grid-template-columns: 1fr;
    }
}

.service-card-detailed {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-icon-large {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-large i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.service-card-detailed h3 {
    margin-bottom: 1rem;
}

.service-card-detailed p {
    color: var(--dark-charcoal);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-charcoal);
}

.service-features i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

.service-area {
    padding: 4rem 20px;
    background-color: var(--light-gray);
    text-align: center;
}

.testimonials-main {
    padding: 4rem 20px;
}

.testimonials-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .testimonials-grid-full {
        grid-template-columns: 1fr;
    }
}

.google-review-cta {
    max-width: 600px;
    margin: 0 auto;
}

.review-box {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 3rem 2rem;
    text-align: center;
}

.review-box i {
    font-size: 4rem;
    color: #4285f4;
    margin-bottom: 1rem;
}

.review-box h3 {
    margin-bottom: 1rem;
}

.review-box p {
    margin-bottom: 1.5rem;
    color: var(--dark-charcoal);
}

.contact-main {
    padding: 4rem 20px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 60px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.contact-phone:hover {
    color: var(--primary-red-dark);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--silver-accent);
}

.service-areas {
    font-size: 0.9rem;
    color: var(--silver-accent);
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-charcoal);
}

.required {
    color: var(--primary-red);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    cursor: pointer;
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}