:root {
    --bg-color: #0d0d0d;
    --text-color: #f4f4f4;
    --accent-color: #39b9fe;
    --gradient-1: #f3a11d;
    --gradient-2: #39b9fe;
    --gradient-3: #ff05de;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

/* --- Header --- */
.header {
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo h1 {
    background: linear-gradient(129deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: moveGradient 5s ease infinite;
    font-size: 2rem;
    font-weight: 800;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none; /* Hidden on Desktop */
    cursor: pointer;
    width: 30px;
    height: 100%;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: white;
    height: 2px;
    width: 2rem;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

.header ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-1 a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-1 a:hover {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

.contact-nav a {
    background: linear-gradient(129deg, var(--gradient-1), var(--gradient-3));
    background-size: 200% 200%;
    padding: 10px 24px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s ease;
    animation: moveGradient 5s ease infinite;
    white-space: nowrap; /* Prevent breaking on small screens */
}

.contact-nav a:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 5, 222, 0.5);
}

@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Hero --- */
.hero {
    width: 100%;
    min-height: 80vh;
    padding: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(57, 185, 254, 0.1) 0%, rgba(13, 13, 13, 0) 70%);
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero strong {
    background: linear-gradient(to right, #ff0550, #ff05de);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0.8;
    max-width: 600px;
}

/* --- Services --- */
.services {
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    width: 350px;
    text-align: left;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card.recommended {
    border-color: var(--gradient-3);
    background: rgba(255, 5, 222, 0.05);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-3);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card.recommended .price {
    color: var(--gradient-3);
}

.pros-list {
    list-style: none;
    margin-top: auto;
}

.pros-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

/* --- Custom Solutions --- */
.custom-solutions {
    padding: 80px 5%;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(57, 185, 254, 0.05) 50%, rgba(13, 13, 13, 0) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

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

.custom-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.custom-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--gradient-2), var(--gradient-1));
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(57, 185, 254, 0.4);
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.custom-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(57, 185, 254, 0.6);
}

/* --- Reviews Carousel --- */
.reviews {
    padding: 80px 0;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

.carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 20s linear infinite;
    padding: 20px 0;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 15px;
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.stars {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.review-card h4 {
    font-weight: bold;
    color: var(--gradient-2);
    align-self: flex-end;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 3 - 90px)); } /* Adjust based on card width + gap * number of cards / 2 roughly for seamless loop */
}

/* --- WhatsApp UI Section --- */
.whatsapp-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    background: #000;
}

.whatsapp-container-ios {
    width: 100%;
    max-width: 450px;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header */
.wa-header {
    background: rgba(30, 30, 30, 0.9);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(129deg, var(--gradient-1), var(--gradient-3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.wa-info {
    flex-grow: 1;
}

.wa-info h3 {
    font-size: 1rem;
    margin: 0;
    color: white;
}

.wa-status {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin: 0;
}

.wa-actions {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Body */
.wa-body {
    flex-grow: 1;
    background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png"); /* Standard WA dark bg pattern or similar fallback */
    background-color: #0d0d0d;
    background-size: cover;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.wa-date-divider {
    text-align: center;
    margin-bottom: 10px;
}

.wa-date-divider span {
    background: rgba(30, 30, 30, 0.8);
    color: #aaa;
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.wa-message {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 15px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
}

.wa-message.received {
    background: #1f1f1f;
    color: white;
    align-self: flex-start;
    border-top-left-radius: 5px;
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 5px;
}

.wa-contact-info-bubble {
    background: rgba(30, 30, 30, 0.6);
    padding: 15px;
    border-radius: 10px;
    align-self: center;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-contact-info-bubble p {
    margin-bottom: 5px;
}

/* Footer (Input) */
.wa-footer {
    background: #1e1e1e;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-form {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
}

.wa-attach-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 5px;
}

.wa-input {
    flex-grow: 1;
    background: #2c2c2c;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    color: white;
    font-size: 1rem;
    outline: none;
}

.wa-input::placeholder {
    color: #aaa;
}

.wa-send-btn {
    background: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.wa-send-btn:hover {
    transform: scale(1.1);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        justify-items: center;
        align-items: center;
        padding: 15px 20px;
    }

    .logo {
        justify-self: start;
    }

    .contact-nav {
        justify-self: end;
    }

    .nav-toggle-label {
        display: flex; /* Show hamburger in center */
        order: 0; /* Ensures it stays in the flow correctly */
    }

    .nav-1 {
        position: absolute;
        top: 100%;
        left: 0;
        background: black;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-out;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-1 ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Checkbox Hack Logic */
    .nav-toggle:checked ~ .nav-1 {
        height: 300px;
    }
    
    .nav-toggle:checked ~ .nav-1 ul {
        opacity: 1;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
    
    .services-container {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px;
    }

    .whatsapp-btn {
        font-size: 1.5rem;
        padding: 15px 40px;
    }

}
/* --- Quote Modal & Buttons --- */
.btn-quote {
    display: inline-block;
    background: linear-gradient(129deg, var(--gradient-1), var(--gradient-3));
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    transition: 0.3s ease;
    align-self: flex-start;
}

.btn-quote:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 5, 222, 0.5);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Hidden by default */
    visibility: hidden;
    opacity: 0;
    transition: 0.3s ease;
}

.modal:target {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: #111;
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 50px rgba(57, 185, 254, 0.2);
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
}

.modal-close:hover {
    color: white;
}

.modal-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--gradient-2), var(--gradient-3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gradient-2);
    background: rgba(255, 255, 255, 0.1);
}

.btn-submit-quote {
    background: var(--gradient-2);
    color: black;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-submit-quote:hover {
    background: white;
    box-shadow: 0 0 20px rgba(57, 185, 254, 0.6);
}

/* --- Footer --- */
.footer {
    background: #000;
    padding: 30px 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    margin-top: auto;
}

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

.footer-links a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}
