/* Version 7 - Neutral Colors Edition */

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

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #60a5fa;
    --dark: #1f2937;
    --dark2: #111827;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-medium: #f3f4f6;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    background-attachment: fixed;
    color: #374151;
    line-height: 1.6;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.1) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Top Bar */
.top-bar {
    background: rgba(31, 41, 55, 0.95);
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
}

.top-contact {
    display: flex;
    gap: 20px;
}

.top-contact i {
    color: var(--primary);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 3px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.15);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 50px;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.company-info h1 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 5px;
    font-weight: bold;
}

.company-tagline {
    color: var(--text-light);
    font-size: 14px;
    font-style: italic;
}

.header-contact {
    text-align: right;
}

.header-phone {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.header-hours {
    color: var(--text-light);
    font-size: 13px;
}

/* Navigation Bar */
.nav-bar {
    background: rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(59, 130, 246, 0.15);
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    flex: 1;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    text-align: center;
    border-right: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-menu a:hover {
    background: rgba(59, 130, 246, 0.12);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Main Layout with Sidebar */
.main-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.sidebar-box:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

.sidebar-box h3 {
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

.sidebar-box ul {
    list-style: none;
}

.sidebar-box li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--text-light);
}

.sidebar-box li:last-child {
    border-bottom: none;
}

.sidebar-box a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-box a:hover {
    color: var(--primary-dark);
}

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.usp-item:hover {
    background: rgba(59, 130, 246, 0.12);
    transform: translateX(5px);
}

.usp-icon {
    color: var(--primary);
    font-size: 20px;
    margin-top: 3px;
}

.usp-item strong {
    color: var(--dark);
}

.usp-item small {
    color: var(--text-light);
}

.cta-box {
    background: rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: var(--dark);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.cta-box h3 {
    color: var(--dark);
    border: none;
    margin-bottom: 10px;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.cta-button {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.welcome-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(59, 130, 246, 0.35);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.welcome-box h2 {
    color: var(--dark);
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-box p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    margin: 10px 10px 0 0;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

/* Services in Table Style */
.services-section h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px 15px 0 0;
}

.services-table {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-top: none;
    border-radius: 0 0 15px 15px;
}

.service-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    padding: 25px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-row:last-child {
    border-bottom: none;
}

.service-row:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(10px);
    box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.15);
}

.service-photo-box {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-photo-box i {
    font-size: 40px;
    color: var(--primary);
}

.service-row {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-row:hover {
    transform: translateX(5px);
}

.service-content h3 {
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.photo-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.12);
}

.contact-section h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    color: var(--dark);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

/* Footer */
.footer {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    border-top: 3px solid rgba(59, 130, 246, 0.35);
    padding: 40px 20px 20px;
    margin-top: 50px;
    color: #d1d5db;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(59, 130, 246, 0.25);
    color: var(--text-light);
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

/* Portfolio Section */
.portfolio-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.12);
}

.portfolio-section h2 {
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.25);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.35);
}

/* Before/After Slider */
.before-after-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    cursor: grab;
}

.before-after-container:active {
    cursor: grabbing;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    transition: all 0.3s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.6);
}

.slider-handle:active {
    cursor: grabbing;
}

.image-label {
    position: absolute;
    top: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 700;
    font-size: 16px;
    z-index: 5;
    border-radius: 10px;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.label-before {
    left: 20px;
    background: rgba(59, 130, 246, 0.85);
}

.label-after {
    right: 20px;
    background: rgba(31, 41, 55, 0.9);
}

/* Portfolio Info */
.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 10px;
}

.service-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-dark);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.portfolio-info p {
    color: var(--text-light);
    margin: 15px 0;
    line-height: 1.7;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.meta-item i {
    color: var(--primary);
    font-size: 16px;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 2em;
    color: white;
}

.whatsapp-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

/* Service Modal */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.service-modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    overflow-y: auto;
    box-shadow: 0 25px 100px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.25);
}

.service-modal-close {
    position: sticky;
    top: 10px;
    right: 10px;
    float: right;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
    margin: 10px 10px 0 0;
}

.service-modal-close:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 1), rgba(220, 38, 38, 1));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

#serviceModalBody {
    padding: 40px;
    color: #374151;
}

.modal-service-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.25);
}

.modal-service-icon {
    margin-bottom: 1rem;
}

.modal-service-description {
    background: rgba(59, 130, 246, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 3rem;
}

.modal-portfolio-section {
    margin: 3rem 0;
}

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

.modal-portfolio-item {
    background: rgba(59, 130, 246, 0.04);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modal-portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25);
    border-color: var(--primary);
}

.modal-portfolio-info {
    padding: 20px;
}

.modal-portfolio-info h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.modal-portfolio-info p {
    color: #6b7280;
    font-size: 14px;
}

.modal-service-cta {
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 15px;
    padding: 30px;
    margin-top: 3rem;
    text-align: center;
}

.modal-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.modal-cta-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.modal-cta-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-color: #25d366;
}

.modal-cta-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128c7e, #0a6b5a);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }

    .main-content {
        order: 1;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu a {
        border-right: none;
        border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    #serviceModalBody {
        padding: 20px;
    }

    .modal-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .modal-cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
