/* CPS Contract Project Solutions SHPK
   Colori: Nero / Bianco / Grigio */

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.5rem 5%;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

nav.scrolled .logo img {
    height: 40px;
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #888;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-switcher a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.lang-switcher a.active,
.lang-switcher a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(50,50,50,0.85)),
                url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
    background: #888;
    color: #fff;
}

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

/* Common Sections */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: #fff;
    position: relative;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #444;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: #f5f5f5;
    position: relative;
    z-index: 10;
}

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

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 3rem;
    color: #000;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #444;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #000;
}

.service-card p {
    line-height: 1.6;
    color: #555;
}

/* Quality Section */
.quality {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #333, #000);
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 10;
}

.quality-content {
    max-width: 800px;
    margin: 0 auto;
}

.quality h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.quality p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.quality-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: #f5f5f5;
    position: relative;
    z-index: 10;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #000;
    margin-top: 0.2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-item p {
    color: #555;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 3rem 5%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-info p {
    margin-bottom: 0.3rem;
}

.footer-info a {
    color: #888;
    text-decoration: none;
}

.footer-info a:hover {
    color: #fff;
}

.footer-info .copyright {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.footer-info .legal-links {
    margin-top: 0.5rem;
}

.footer-info .legal-links a {
    font-size: 0.85rem;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.active {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background: #333;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.98);
    color: #fff;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text strong {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-banner-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.3rem 0;
    color: #ccc;
}

.cookie-banner-links a {
    color: #888;
    text-decoration: underline;
}

.cookie-banner-links a:hover {
    color: #fff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cookie-btn-accept {
    background: #fff;
    color: #000;
}

.cookie-btn-accept:hover {
    background: #ccc;
}

.cookie-btn-reject {
    background: transparent;
    color: #888;
    border: 1px solid #555;
}

.cookie-btn-reject:hover {
    background: #333;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0,0,0,0.98);
        width: 100%;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .lang-switcher {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 300px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }
}
