:root {
    --primary-color: #dc0000;
    --secondary-color: #8b0000;
    --dark-bg: #0a0a0a;
    --light-bg: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-light: #fff;
    --accent-color: #ff0000;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Fix deprecated H1UserAgentFontSizeInSection warning */
h1 {
    font-size: 2rem !important;
    font-weight: 700;
    line-height: 1.2;
    margin: 0.67em 0;
}

/* Explicitly override sectioning context font sizes */
article h1, aside h1, nav h1, section h1 {
    font-size: 2rem !important;
    margin: 0.67em 0;
}

/* Fixed background that stays in place while content scrolls */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/2024-03-18.webp') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

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

/* Header & Navigation */
.header {
    background: #000000;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo picture {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 132px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #ff0000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.btn-call-now {
    background: #000;
    color: #fff;
    margin-top: 1.5rem;
}

.btn-call-now:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--text-light);
    text-align: center;
    padding: 150px 20px 100px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#hero-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    padding: 1.2rem;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.hero h3.hero-h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

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

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

/* Features Section */
.features {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.6);
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature h3 {
    color: #000000;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    width: 100%;
    font-weight: 700;
    line-height: 1.3;
}

.feature p {
    color: #000000;
    text-align: justify;
    width: 100%;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Process Section */
.process {
    padding: 80px 20px;
    background: var(--light-bg);
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.process .section-subtitle {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem 1.5rem 1.25rem;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    width: 100%;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.process-step p {
    text-align: center;
    width: 100%;
    line-height: 1.7;
    color: #333;
}

.process-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.process-cta-content {
    text-align: center;
}

.process-cta-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.process-cta p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .process-cta {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.emphasis {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.35);
}

.faq-header {
    background: white;
    padding: 4px;
    border-radius: 10px;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.faq-item {
    margin-bottom: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Contact/Booking Section */
.contact {
    padding: 80px 20px;
    background: var(--light-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

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

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

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Areas Served */
.areas-served {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.areas-served h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.areas-list span {
    background: var(--light-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 400;
}

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

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

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

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }
    
    .navbar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 20px;
    }
    
    .logo-image {
        height: 80px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 1.5rem;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 0.5rem 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem;
    }

    .nav-cta {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 20px;
        gap: 1rem;
    }
    
    .nav-cta.active {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

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

    .hero h2.hero-h1 {
        font-size: 2rem;
    }

    .hero h3.hero-h2 {
        font-size: 1.5rem;
    }

    .services-grid,
    .features-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    /* Ensure all sections scroll properly on touch */
    .hero,
    .services,
    .features,
    .process,
    .about,
    .faq,
    .contact,
    .footer {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

@media (max-width: 768px) {
    .fixed-background {
        position: fixed;
        height: 100%;
    }
}
