﻿/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-bg: #0b0b0b;
    --secondary-bg: #151515;
    --accent-color: #ccff00;
    /* Neon Green */
    --accent-hover: #b3e600;
    --text-light: #ffffff;
    --text-gray: #a1a1a1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

.text-accent {
    color: var(--accent-color);
}

.text-italics {
    color: orange;
    font-style: italic;
    font-weight: bolder;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    background-color: var(--accent-color);
    color: var(--primary-bg);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

    .btn:hover {
        background-color: transparent;
        color: var(--accent-color);
    }

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
}

    .btn-outline:hover {
        background-color: var(--accent-color);
        color: var(--primary-bg);
    }

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 60px;
        height: 4px;
        background-color: var(--accent-color);
    }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header p {
        color: var(--text-gray);
        max-width: 600px;
        margin: 1rem auto 0;
    }

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 11, 11, 0.95);
    padding: 1.5rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: -1px;
}

    .logo span {
        color: var(--accent-color);
    }

.nav-links {
    display: flex;
    gap: 2.5rem;
}

    .nav-links a {
        font-weight: 500;
        font-size: 0.9rem;
        text-transform: uppercase;
        transition: var(--transition);
        position: relative;
    }

        .nav-links a:hover {
            color: var(--accent-color);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent-color);
            transition: var(--transition);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    /*max-width: 800px;*/
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-text {
    font-size: 1.2rem;
    color: #d1d1d1;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* --- ABOUT SECTION --- */
#about {
    background-color: var(--primary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    position: relative;
}

    .about-img img {
        border-radius: 5px;
        filter: grayscale(0%);
        transition: var(--transition);
    }

    .about-img:hover img {
        filter: grayscale(100%);
    }

    .about-img::before {
        content: '';
        position: absolute;
        top: -20px;
        left: -20px;
        width: 50%;
        height: 50%;
        border-top: 5px solid var(--accent-color);
        border-left: 5px solid var(--accent-color);
        z-index: 1;
    }

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* --- SERVICES SECTION --- */
#services {
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--primary-bg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-color);
        box-shadow: 0 10px 30px rgba(204, 255, 0, 0.1);
    }

.icon-box {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.icon-box-image {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- TESTIMONIALS SECTION --- */
#testimonials {
    background-color: var(--primary-bg);
    position: relative;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(145deg, #1a1a1a, #111);
    padding: 2.5rem;
    border-radius: 10px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    font-family: serif;
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--accent-color);
}

.client-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-gray);
}

/* --- CONTACT SECTION --- */
#contact {
    background-color: var(--secondary-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: var(--primary-bg);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.contact-info-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 1.5rem;
    margin-top: 5px;
}

.contact-details h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

    .social-link:hover {
        background-color: var(--accent-color);
        color: var(--primary-bg);
    }

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition);
}

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--accent-color);
    }

/* --- FOOTER --- */
footer {
    background-color: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        display: none;
        border-top: 1px solid #222;
    }

        .nav-links.active {
            display: flex;
        }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .bd-mode-toggle .dropdown-menu .active .bi {
        display: block !important;
    }
}

/* --- MODAL POPUP STYLES --- */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .modal.show {
        display: flex;
        opacity: 1;
        align-items: center;
        justify-content: center;
    }

.modal-content {
    background-color: var(--secondary-bg);
    margin: auto;
    padding: 2.5rem;
    border: 1px solid var(--accent-color);
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.2);
    animation: slideDown 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: var(--text-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
    transition: 0.3s;
}

    .close-btn:hover {
        color: var(--accent-color);
    }

.modal-header h2 {
    font-family: var(--font-heading);
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.modal-header p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-input {
    width: 100%;
    padding: 0.8rem;
    background-color: #0b0b0b;
    border: 1px solid #333;
    color: var(--text-light);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

    .modal-input:focus {
        outline: none;
        border-color: var(--accent-color);
        box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
    }

/* Custom file upload styling */
input[type="file"]::file-selector-button {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

    input[type="file"]::file-selector-button:hover {
        background-color: var(--accent-color);
        color: black;
    }

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }
}
