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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Splash Screen */
#splash {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 2.5s forwards;
}

#splash .content {
    text-align: center;
}

#splash h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: bold;
    background: linear-gradient(90deg, #60a5fa, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
    letter-spacing: 0.2em;
}

#splash h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #93c5fd;
    margin-top: 1rem;
    letter-spacing: 0.3em;
}

#splash .line {
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    margin: 2rem auto;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #374151;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    background: linear-gradient(90deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #60a5fa;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #60a5fa;
    transition: all 0.3s;
    border-radius: 3px;
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Hero Section - With Sunset Construction Site */
.hero {
    padding: clamp(6rem, 12vh, 10rem) 2rem 5rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -100px;
    right: -100px;
    bottom: -100px;
    background-image: url('../images/cons.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.20;
    z-index: -1;
    border-radius: 2rem;
    filter: brightness(1.2) saturate(1.1) contrast(1.05);
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #22d3ee, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #e5e7eb;
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-box {
    background: rgba(31, 41, 55, 0.9);
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.stat-box:hover {
    transform: translateY(-3px);
    border-color: #60a5fa;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: bold;
}

.stat-label {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: #d1d5db;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.6);
    transform: translateY(-3px);
}

/* Hide side image completely */
.hero-image {
    display: none !important;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: rgba(17, 24, 39, 0.5);
}

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

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 3rem;
}

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

.service-card {
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #374151;
    transition: all 0.3s;
}

.service-card h3 {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #e5e7eb;
    font-weight: 500;
}

.service-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

/* Why Choose Us */
.why-choose-us {
    padding: 5rem 2rem;
    background: rgba(17, 24, 39, 0.5);
}

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

.why-choose-card {
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #374151;
    text-align: center;
    transition: all 0.3s;
}

.why-choose-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.why-choose-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.why-choose-card h3 {
    font-size: 1.25rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
    font-weight: 600;
}

.why-choose-card p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Gallery */
.gallery {
    padding: 5rem 2rem;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    height: 280px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: rgba(17, 24, 39, 0.5);
    text-align: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.contact-box {
    background: #1f2937;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid #374151;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s;
    min-width: 280px;
}

.contact-box .icon {
    font-size: 1.5rem;
}

.contact-box .contact-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-box:hover {
    background: #374151;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background: #0a0a0a;
    border-top: 1px solid #374151;
    padding: 2rem;
    text-align: center;
    color: #9ca3af;
}

.footer-tagline {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #6b7280;
}

/* Responsive Design */

/* Tablets and Small Laptops */
@media (max-width: 1024px) {
    .hero {
        min-height: 70vh;
    }
    
    .services-grid,
    .gallery-grid,
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
        border-bottom: 1px solid #374151;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 1.5rem 4rem;
    }
    
    .hero::before {
        opacity: 0.15;
    }
    
    .stats {
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1rem 1.5rem;
        flex: 1;
        min-width: 140px;
    }
    
    .services-grid,
    .gallery-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item {
        height: 220px;
    }
    
    .contact-box {
        flex-direction: column;
        text-align: center;
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .section-title {
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .services,
    .gallery,
    .contact {
        padding: 3rem 1rem;
    }
    
    .stat-box {
        padding: 0.875rem 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
    }
}

/* Large Screens */
@media (min-width: 1440px) {
    .hero::before {
        opacity: 0.22;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}