/* style.css */
body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #000;
}
i{
    font-style: italic;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #fff;
    font-size: 2em;
    font-weight: bold;
    animation: fadeOut 1s ease-in-out forwards 2s;
}
@keyframes fadeOut {
    100%{
        opacity: 0;
        visibility: hidden;
    }
}

header {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container{
    display/* style.css (continued) */
    : flex;
        align-items: center;
    }
    .logo-img{
        width: 120px;
        height: auto;
        margin-right: 10px;
    }
    .logo-text {
        font-size: 1.5rem;
        font-weight: bold;
    }
    
    nav ul {
        list-style: none;
        display: flex;
    }
    
    nav ul li {
        margin-left: 20px;
    }
    
    nav ul li a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
        
    }
    
    nav ul li a:hover {
        color: #007bff;
    }
    
    .hamburger {
        display: none;
        cursor: pointer;
    }
    
    .hamburger i {
        font-size: 1.5rem;
        color: #fff;
    }
    
    .hero {
        position: relative;
        height: 100vh;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
    }
    
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
    
    .hero-content {
        z-index: 1;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .btn {
        display: inline-block;
        padding: 10px 20px;
        background-color: #007bff;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s;
    }
    
    .btn:hover {
        background-color: #0056b3;
    }
    
    .about, .projects, .contact, .pictures, .clients {
        padding: 4rem 0;
        text-align: center;
        background-color: #f9f9f9;
        color: #000;
    }
    .about h2, .projects h2, .contact h2, .pictures h2, .clients h2{
        color: #000;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        color: antiquewhite;
    }
    
    .about-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .card {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        transition: transform 0.3s, background-color 0.3s;
    }
    
    .card:hover {
        transform: translateY(-5px);
        background-color: #f0f0f0;
    }
    
    .card i {
        font-size: 2rem;
        transition: color 0.3s;
    }
    .card:hover i{
        color: #007bff;
    }
    
    .project-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .project-item {
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .project-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .project-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    .project-item h3, .project-item p {
        padding: 0 15px;
        text-align: left;
    }
    
    .pictures .picture-grid{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    .pictures .picture-grid img{
        width: 100%;
        height: auto;
        border-radius: 8px;
        transition: transform 0.3s;
    }
    .pictures .picture-grid img:hover{
        transform: scale(1.05);
    }
    
    .clients .client-slider {
        width: 80%;
        margin: 30px auto;
    }
    
    .clients .client-slider img {
        width: 150px;
        height: auto;
        margin: 0 20px;
        transition: transform 0.3s;
    }
    
    .clients .client-slider img:hover {
        transform: scale(1.1);
    }
    
    .contact-info {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    
    .info-item {
        display: flex;
        align-items: center;
        margin: 10px 20px;
    }
    
    .info-item i {
        margin-right: 10px;
        font-size: 1.2rem;
    }
    
    .contact form {
        display: flex;
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact form input, .contact form textarea {
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    
    footer {
        background-color: #000;
        color: #fff;
        text-align: center;
        padding: 1rem 0;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        nav ul {
            display: none;
            flex-direction: column;
            width: 100%;
            background-color: #000;
            position: absolute;
            top: 60px;
            left: 0;
            z-index: 10;
        }
    
        nav ul.active {
            display: flex;
        }
    
        nav ul li {
            margin: 0;
            padding: 15px;
            text-align: center;
        }
    
        .hamburger {
            display: block;
        }
        .hero-content h1 {
            font-size: 2rem;
        }
        .clients .client-slider img {
            width: 100px;
        }
    }