:root {
    --primary-ash: #6c757d;
    --light-ash: #adb5bd;
    --dark-ash: #495057;
    --black: #000000;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--black);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--primary-ash);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95) !important;
    box-shadow: 0 2px 20px rgba(108, 117, 125, 0.3);
}

.navbar-brand {
    color: var(--light-ash) !important;
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s ease;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: var(--light-ash) !important;
}

.navbar-nav .nav-link.active {
    color: var(--light-ash) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(108,117,125,0.3)),
                url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?ixlib=rb-4.0.3') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(108,117,125,0.2));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-ash), var(--light-ash));
    margin: 20px auto;
    border-radius: 2px;
}

/* Portfolio Cards */
.portfolio-card {
    transition: all 0.3s ease;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 117, 125, 0.3);
}

.portfolio-img-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-img-container img {
    transform: scale(1.05);
}

/* Expertise Tags */
.expertise-tags .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-ash);
    box-shadow: 0 15px 40px rgba(108, 117, 125, 0.3);
}

.service-img-container {
    height: 200px;
    overflow: hidden;
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.1);
}

.service-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(108, 117, 125, 0.4);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(108,117,125,0.9), rgba(0,0,0,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-content {
    text-align: center;
    color: white;
}

.gallery-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-toggle {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-toggle i {
    color: white;
    font-size: 28px;
}

.whatsapp-content {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: var(--dark-bg);
    border: 2px solid var(--primary-ash);
    border-radius: 15px;
    padding: 20px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-widget.expanded .whatsapp-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Contact Section */
.contact-card {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.2);
}

.contact-info p {
    margin-bottom: 10px;
}

.social-links .btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    background-color: var(--primary-ash) !important;
    transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(108, 117, 125, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--primary-ash);
    color: white;
    border: none;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--dark-ash);
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-toggle {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-toggle i {
        font-size: 24px;
    }
    
    .gallery-card img {
        height: 200px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-ash), var(--light-ash));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--dark-ash), var(--primary-ash));
}

/* Form Styles */
.form-control {
    background-color: var(--card-bg) !important;
    border-color: var(--primary-ash) !important;
    color: white !important;
}

.form-control:focus {
    background-color: var(--card-bg) !important;
    border-color: var(--light-ash) !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25) !important;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-select {
    background-color: var(--card-bg) !important;
    border-color: var(--primary-ash) !important;
    color: white !important;
}

.form-select:focus {
    background-color: var(--card-bg) !important;
    border-color: var(--light-ash) !important;
    color: white !important;
    box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25) !important;
}

/* Table Styles */
.table-dark {
    background-color: var(--card-bg) !important;
}

.table-dark th,
.table-dark td {
    border-color: rgba(108, 117, 125, 0.2) !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* Alert Styles */
.alert-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.alert-danger {
    background-color: rgba(108, 117, 125, 0.2) !important;
    border-color: var(--primary-ash) !important;
    color: var(--light-ash) !important;
}
