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

:root {
    --primary-red: #D32F2F;
    --primary-red-dark: #B71C1C;
    --primary-red-light: #EF5350;
    --primary-red-lighter: #FFEBEE;
    --secondary-gray: #2C3E50;
    --secondary-gray-dark: #1A252F;
    --secondary-gray-light: #34495E;
    --text-dark: #212121;
    --text-gray: #757575;
    --text-light: #FAFAFA;
    --background: #FFFFFF;
    --background-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
}

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

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

/* Header Styles */
.header {
    background: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.company-name {
    font-size: 1.5rem;
    color: var(--secondary-gray);
    margin: 0;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: var(--secondary-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.cta-button:hover {
    background: var(--primary-red-dark);
    border-color: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 82px;
    min-height: 800px;
    background: linear-gradient(135deg, var(--secondary-gray) 0%, var(--secondary-gray-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
}

/* Fallback background if video doesn't load */
.hero {
    background: linear-gradient(135deg, var(--secondary-gray) 0%, var(--secondary-gray-dark) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s backwards;
    border: 2px solid var(--primary-red);
}

.hero-button:hover {
    background: transparent;
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: var(--background);
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content {
    padding-top: 60px;
}

.why-us-image .image-placeholder {
    width: 100%;
    height: 500px;
    background: transparent;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.why-us-image .image-placeholder::before {
    content: '🏗️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary-gray);
    margin-bottom: 2rem;
    position: relative;
    scroll-margin-top: 120px;
    padding-top: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
}

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

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.benefits-list {
    list-style: none;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--primary-red);
    padding: 0.75rem 2rem;
    border: 2px solid var(--primary-red);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--primary-red);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--background-gray);
}

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

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

.service-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-red-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-red);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    color: var(--text-light);
    transform: scale(1.1);
}

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

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

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

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 1rem;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step h3 {
    color: var(--secondary-gray);
    margin-bottom: 0.5rem;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step p {
    color: var(--text-gray);
    font-size: 0.95rem;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-arrow {
    color: var(--primary-red);
    font-size: 2rem;
    margin: 0 1rem;
    align-self: flex-start;
    margin-top: 30px;
    line-height: 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat h3 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.team-image {
    background: transparent;
}

.team-image::before {
    content: '👷‍♂️👷‍♀️';
    font-size: 80px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 3rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.submit-button {
    background: var(--primary-red);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.info-card {
    background: var(--background-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.info-card h3 {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.info-item strong {
    color: var(--secondary-gray);
    display: block;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-red-dark);
}

.phone-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.phone-button:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.note {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
}

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

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

.footer-column h3,
.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Legal Pages */
.legal-page {
    min-height: calc(100vh - 200px);
    padding: 120px 0 60px;
    background: var(--background-gray);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--background);
    padding: 60px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.legal-content h1 {
    color: var(--primary-red);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-red);
    padding-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    color: var(--secondary-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h3 {
    color: var(--secondary-gray-light);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--primary-red);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 20px;
        margin: 0 20px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .why-us-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}