/* Variables */
:root {
    --primary-bg: #0a0a0c;
    --secondary-bg: #1a1a1e;
    --card-bg: #1f1f23;
    --accent-color: #00e6e6; /* Electric Cyan */
    --accent-color-dark: #00b3b3;
    --text-color: #e0e0e0;
    --text-color-light: #b0b0b0;
    --border-color: #333;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--primary-bg);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 0.8em;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
    margin-bottom: 1em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-color), var(--accent-color-dark));
    color: var(--primary-bg);
    box-shadow: 0 5px 15px rgba(0, 230, 230, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 230, 230, 0.6);
    background: linear-gradient(45deg, var(--accent-color-dark), var(--accent-color));
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 230, 230, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 230, 230, 0.4);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--text-color);
    border-color: var(--text-color);
}

.btn-primary-outline:hover {
    background-color: var(--text-color);
    color: var(--primary-bg);
    border-color: var(--primary-bg);
    transform: translateY(-3px);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
}

.btn-secondary-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 230, 230, 0.3);
}

/* Header & Navigation */
.header {
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(0, 230, 230, 0.5);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color-light);
    font-weight: 500;
    font-size: 1.05rem;
    padding: 5px 0;
    position: relative;
    letter-spacing: 0.03em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    z-index: 1001;
}

.burger div {
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
    background: url("images/image_7.jpg") no-repeat center center/cover;
    /* Using a subtle gradient overlay to darken the image and make text pop */
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.7);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5em;
    text-shadow: 0 0 15px rgba(0, 230, 230, 0.6);
    line-height: 1.1;
    animation: fadeInScale 1s ease-out forwards;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5em;
    color: var(--text-color-light);
    animation: fadeIn 1.2s ease-out 0.3s forwards;
    opacity: 1;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 1.2s ease-out 0.6s forwards;
    opacity: 1;
}

/* Common Section Styling */
.common-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.common-section h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.3);
}

/* Fade-in Animation */
.fade-in {
    opacity: 1;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 1; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    from { opacity: 1; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


/* About Section */
.about-section {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 230, 230, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 230, 230, 0.05) 0%, transparent 70%);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 230, 0.4);
}

.service-card .icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 15px rgba(0, 230, 230, 0.6);
}

.service-card .icon-placeholder svg {
    width: 30px;
    height: 30px;
    color: var(--primary-bg);
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 0 0 8px rgba(0, 230, 230, 0.2);
}

.service-card p {
    color: var(--text-color-light);
    font-size: 1rem;
}

/* Products Section */
.products-section {
    background-color: var(--secondary-bg);
    border-bottom: 1px solid var(--border-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 230, 230, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 230, 230, 0.3);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
    color: var(--text-color);
}

.product-card p {
    color: var(--text-color-light);
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem;
}

.product-card .btn-secondary-outline {
    margin: 0 1.5rem 1.5rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Custom Build Section */
.custom-build-section {
    background-color: var(--primary-bg);
    border-bottom: 1px solid var(--border-color);
}

.custom-build-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
}

.custom-build-content h2 {
    text-align: left;
}

.custom-build-content p {
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.custom-build-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.custom-build-image img:hover {
    transform: scale(1.02);
}

/* Contact Section */
.contact-section {
    background-color: var(--secondary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 4rem;
    text-align: left;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-info p {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}

.contact-info a {
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-color-light);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 230, 230, 0.4);
}

.social-links svg {
    width: 20px;
    height: 20px;
}


.contact-form {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 230, 230, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--primary-bg);
    color: var(--text-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 230, 230, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    color: var(--text-color-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }

    .nav-links {
        gap: 1.5rem;
    }

    .about-grid, .custom-build-section .container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-content h2, .custom-build-content h2, .contact-info h3 {
        text-align: center;
    }

    .custom-build-image, .about-image {
        order: -1; /* Image appears above content on mobile */
    }

    .products-grid, .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .product-card, .service-card {
        padding: 2rem;
    }
    .product-card h3, .product-card p, .product-card .btn {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .navbar {
        padding: 0 1.5rem;
    }
    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed; /* Changed to fixed for better mobile experience */
        right: 0;
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        max-width: 300px; /* Limit width on larger mobile screens */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        z-index: 999;
        padding-top: 3rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.4);
        border-left: 1px solid var(--border-color);
    }

    .nav-links li {
        opacity: 1;
        margin-bottom: 2rem;
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .common-section {
        padding: 4rem 0;
    }

    .common-section h2 {
        font-size: 2rem;
    }

    .about-image img, .custom-build-image img {
        max-height: 300px;
        object-fit: cover;
    }

    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Burger Animation */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 1;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Nav Link Fade Animation */
@keyframes navLinkFade {
    from {
        opacity: 1;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Visible state helpers */
+ .animate-fade-in-up.visible,
+ .animate-fade-in-left.visible,
+ .animate-fade-in-right.visible,
+ .animate-bounce-y.visible,
+ .section-scroll-animate.visible,
+ .text-animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Safe visibility overrides (auto-added) */
:root, html, body, main, header, footer, section, .container, .content {
  opacity: 1 !important;
  visibility: visible !important;
}
