/* Mobile-first design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

.landing-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background image */
.hero-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45); /* Dimming overlay */
    pointer-events: none;
    z-index: 1;
}

.hero-image {
    background-color: rgba(0, 0, 0, 0.2); /* Lighter background color */
    background-image: url('bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



/* Video control elements removed */

.hidden {
    display: none !important;
}

/* Business hours note */
.hours-note {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    border-left: 3px solid #d11f1f;
}

/* Overlay removed */

/* Geo-restriction overlay */
.blocked-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blocked-message {
    background-color: #fff;
    color: #000;
    padding: 2rem;
    border-radius: 10px;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.blocked-message h2 {
    margin-bottom: 1rem;
    color: #d9534f;
}

/* Content styling */
.content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    justify-content: space-between; /* Distribute space evenly */
    min-height: 90vh; /* Take up more viewport height */
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    max-width: 400px; /* Doubled from 200px */
    width: 80%; /* Make it responsive */
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    object-fit: contain;
    object-position: center;
}

.headline {
    margin-bottom: 2.5rem;
}

.headline h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.headline h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #f8f8f8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 auto 2.5rem auto;
    width: 100%;
    max-width: 350px;
    align-items: stretch; /* Stretch buttons to fill height */
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Make buttons take full width within the flex container */
    text-align: center; /* Center text within button */
}

.btn-primary {
    background-color: #D01F1F; /* Darker red for better contrast with white text */
    color: white;
    border: 2px solid transparent; /* Added transparent border */
}

.btn-primary:hover {
    background-color: #B01818; /* Even darker on hover for visual feedback */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* New Success Button Style (Green) */
.btn-success {
    background-color: #28a745; /* Green */
    color: white;
    border: 2px solid transparent; /* Added transparent border */
}

.btn-success:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Benefits section */
.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* Style for emoji icons */
.benefit-item {
    font-size: 1rem;
}

/* Text Me form section */
.text-me-section {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem 1.5rem;
    border-radius: 10px;
    margin: 1.5rem auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
}

.text-me-section h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-description {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #fff;
}

.hidden {
    display: none !important;
}

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

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

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

.submit-btn {
    width: 100%;
    cursor: pointer;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Address section */
.address {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0 1rem 0;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
} /* <-- Moved this closing brace */

/* --- CTA Button Layout Adjustments --- */
/* Default (Mobile): Column layout */
.cta-buttons {
    /* display: flex; already set */
    /* flex-direction: column; already set */
}

/* Default Order (During Hours): Call first, Text second */
.cta-buttons .btn-primary { order: 1; } /* Call button */
.cta-buttons .btn-secondary { order: 2; } /* Text button (default state) */
.cta-buttons .btn-success { order: 2; } /* Text button (during hours green state) */
.cta-buttons #text-me-btn { order: 2; } /* Ensure text button is second by default */

/* After Hours Layout (Mobile): Text first, Call second */
.cta-buttons.after-hours-layout {
    /* flex-direction: column; /* Stays column */
}
.cta-buttons.after-hours-layout #text-me-btn { order: 1; } /* Text button first */
.cta-buttons.after-hours-layout a.btn { order: 2; } /* Call button second */
/* --- End CTA Button Layout Adjustments --- */

/* Style for address emoji */
.address {
    font-size: 1.1rem;
}

.address a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.address a:hover {
    color: #FF3E3E;
    transform: translateY(-2px);
}

.address a p {
    margin: 0;
}

/* Services Section */
.services-section {
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    max-width: 100%;
}

.services-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid #d11f1f;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.service-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Media queries for larger screens */
@media (min-width: 768px) {
    .content {
        padding: 2rem;
    }

    .logo {
        max-width: 500px; /* Doubled from 250px */
    }

    .headline h2 {
        font-size: 3rem;
    }

    .headline h3 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: row; /* Switch to row layout on larger screens */
        max-width: 600px;
        justify-content: center;
        margin: 0 auto 2.5rem auto;
        align-items: stretch; /* Align items vertically - Changed back to stretch */
    }

    /* Reset order for row layout (During Hours): Call left, Text right */
    .cta-buttons .btn-primary { order: 1; }
    .cta-buttons .btn-secondary { order: 2; }
    .cta-buttons .btn-success { order: 2; }
    .cta-buttons #text-me-btn { order: 2; }

    /* After Hours Layout (Desktop): Text left, Call right */
    .cta-buttons.after-hours-layout {
        /* flex-direction: row; /* Stays row */
    }
    .cta-buttons.after-hours-layout #text-me-btn { order: 1; } /* Text button first (left) */
    .cta-buttons.after-hours-layout a.btn { order: 2; } /* Call button second (right) */


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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Center single service item on tablet */
    .services-grid.single-service {
        grid-template-columns: 1fr; /* Back to single column */
        max-width: 350px; /* Adjust max-width as needed */
        margin-left: auto;
        margin-right: auto;
    }

    .services-section {
        padding: 1.5rem;
        margin: 2.5rem 0;
    }

    .text-me-section {
        max-width: 500px;
        padding: 2.5rem;
    }
    
    .address {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .content {
        padding: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    /* Center single service item on desktop */
    .services-grid.single-service {
        grid-template-columns: 1fr; /* Back to single column */
        max-width: 400px; /* Adjust max-width as needed */
        margin-left: auto;
        margin-right: auto;
    }
    
    .services-section {
        padding: 2rem;
        max-width: 1200px;
        margin: 3rem auto;
    }

    .logo {
        max-width: 600px; /* Doubled from 300px */
    }

    .headline h2 {
        font-size: 3.5rem;
    }

    .headline h3 {
        font-size: 2rem;
    }

    .benefits {
        gap: 2.5rem;
    }

    .benefit-item {
        font-size: 1rem;
    }

    .text-me-section {
        max-width: 600px;
    }
    
    .address {
        font-size: 1.1rem;
    }
}
