:root {
    --primary-color: #e31e24;
    /* Red from logo */
    --secondary-color: #1a1a1a;
    --accent-color: #ffffff;
    --text-color: #f4f4f4;
    --bg-dark: #0f0f0f;
    --card-bg: #1e1e1e;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

p {
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: rgba(15, 15, 15, 0.95);
    padding: 5px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 110px;
    width: auto;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-estimate {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
}

.btn-estimate:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: -1;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Mouse Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 5px;
    }

    100% {
        opacity: 0;
        top: 25px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-title p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-title span {
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: #151515;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid #333;
    color: white;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #c41a1f;
}

/* Footer */
footer {
    padding: 50px 0;
    background-color: #050505;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-zones {
    margin: 40px auto;
    max-width: 1000px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-zones h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.footer-sector {
    margin-bottom: 30px;
}

.footer-sector h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    text-align: center;
}

.cities-grid span {
    color: #888;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cities-grid span:hover {
    color: var(--primary-color);
}

.more-cities {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.benefits {
    padding: 100px 0;
    background-color: #1a1a1a;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-content {
    text-align: center;
}

.benefits-content h2 {
    text-align: center;
}

.benefits-content p {
    text-align: center;
}

.benefits-list {
    margin-top: 30px;
    display: inline-block;
    text-align: left;
}

.benefits-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefits-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.benefits-list h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.benefits-image {
    background: linear-gradient(45deg, #222, #333);
    height: 400px;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quality-badge {
    background: var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
}

.quality-badge i {
    font-size: 3rem;
}

.quality-badge span {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: #252525;
}

.testimonial-card .stars {
    color: #ffcc00;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: #ccc;
}

.client-info strong {
    display: block;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.9rem;
    color: #777;
}

/* Scroll Revel Effect Simulation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out;
}

/* Mobile Overrides and Improvements */
@media (max-width: 992px) {

    .benefits-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-image {
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        height: 60px;
    }

    header {
        padding: 10px 0;
    }

    .container {
        padding: 0 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Plannit Widget Integration
   ========================================= */

.plannit-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
}

.plannit-iframe {
    width: 100%;
    height: 620px;
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.plannit-powered {
    font-size: 0.78rem;
    color: #666;
    text-align: center !important;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

.plannit-powered i {
    color: #4caf50;
    margin-right: 5px;
}

.plannit-powered strong {
    color: #e0a230;
}