
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('../newreps/photo_cyberdetailing/backgr.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    max-width: 100%;
    overflow-x: hidden;    
}

.main-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin-top: 300px;
    gap: 50px;
}
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
}

.logo img {
    max-width: 350px;
    height: auto;
}

.sidebar {
    width: 350px;
    background: #1e1e1e;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 1px 25px rgb(0, 0, 0);
    position: sticky;
    top: 20px;
    height: auto;
}

.sidebar h3 {
    color: #ff69b4;
    text-align: center;
    margin-bottom: 40px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 35px;
}

.service-btn {
    display: block;
    text-decoration: none;
    background: #ff69b4;
    color: #fff;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
}

.service-btn:hover {
    background: #ff4081;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 105, 180, 0.5);
}

.hero {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    background: url('../newreps/photo_cyberdetailing/phhead.png') center/cover no-repeat; 
    border-radius: 10px;
    margin-left: 20px;
    width: 100%;
    color: white;
    border: 2px solid rgba(255, 105, 180, 0.5);
}


.hero h1 {
    font-size: 48px;
    color: #ff69b4;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero a {
    text-decoration: none;
    background-color: #ff69b4;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
}

.hero a:hover {
    background-color: #ff4090;
    transform: scale(1.05);
}

.sections-container {
    display: flex; 
    justify-content: space-between;
    gap: 40px; 
    max-width: 1400px; 
    margin: 40px auto; 
    flex-wrap: wrap; 
}

.contact {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e1e1e, #2a2a2a);
    border-radius: 10px;
    max-width: 600px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 105, 180, 0.5);
}

.about {
    background: #1e1e1e;
    padding: 60px;
    max-width: 750px; 
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 105, 180, 0.5);
}

.about h2 {
    font-size: 30px;
    color: #ff69b4;
    margin-bottom: 45px;
}

.about p {
    font-size: 20px;
    color: #ccc;
    line-height: 1.8;
}

.contact-container h2 {
    font-size: 32px;
    color: #ff69b4;
    margin-bottom: 10px;
}

.contact-container p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact input,
.contact textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #2a2a2a;
    color: #fff;
    font-size: 16px;
}

.contact textarea {
    height: 120px;
    resize: none;
}

.contact button {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: none;
    background: #ff69b4;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.contact button:hover {
    background: #ff4081;
    transform: scale(1.05);
}

.service-container {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    padding: 40px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


.service-container h1 {
    color: #ff69b4;
    font-size: 28px;
    margin-bottom: 10px;
}

.service-description {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
}

.service-prices {
    list-style: none;
    padding: 0;
    font-size: 18px;
    color: #fff;
    text-align: center;
}

.service-prices li {
    background: #2a2a2a;
    padding: 10px;
    margin: 5px auto;
    max-width: 300px;
    border-radius: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    max-width: 600px;
    margin: 20px auto;
}

.gallery img {
    width: 100%; 
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05); 
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    background: #ff69b4;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.back-btn:hover {
    background: #ff4081;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    
    body {
        background: url('../newreps/photo_cyberdetailing/backgr.jpg') center/cover no-repeat fixed;
        background-attachment: fixed;
        margin: auto;
    }

    .main-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
        gap: 20px;
    }
    .sections-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 20px;
        gap: 20px;
    }

    .logo {
        position: relative;
        z-index: 10; 
    }

    .logo img {
        max-width: 250px;
    }

    .sidebar {
        width: 80%;
        max-width: 350px;
        padding: 15px;
        text-align: center;
        position: relative;
        margin: 2px;
    }

    .hero {
        padding: 40px 15px;
        min-height: auto;
        width: 80%;
        text-align: center;
        margin: 20px auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .about {
        width: 60%;
        max-width: 600px;
        margin: 2px;
        text-align: center;
    }

    .service-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 85%;
        margin: 0 auto;
    }

    .service-item {
        width: 100%;
        max-width: 500px;
    }

    .contact {
        width: 80%;
        max-width: 500px;
        text-align: center;
        margin: 0 auto;
    }

    .contact input, .contact textarea, .contact button {
        width: 100%;
    }
        .service-container {
            width: 80%;
            max-width: 600px;
            text-align: center;
            margin: 0 auto;
            padding: 30px 15px;
        }
    
        .service-container h1 {
            font-size: 24px;
        }
    
        .service-container p {
            font-size: 16px;
        }
    
        .service-prices {
            font-size: 16px;
        }
    
        .carousel {
            max-width: 100%;
        }
    
        .carousel-track {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
    
        .carousel img {
            width: 120px;
            height: auto;
            border-radius: 8px;
        }
    
        .prev-btn, .next-btn {
            top: 50%;
            transform: translateY(-50%);
            padding: 8px;
            font-size: 18px;
        }
    
        .prev-btn { left: 5px; }
        .next-btn { right: 5px; }
        
        .back-btn {
            display: block;
            width: 80%;
            max-width: 300px;
            margin: 20px auto;
            text-align: center;
        }
}

