/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066CC;
    --dark-blue: #003366;
    --darker-blue: #001a33;
    --light-blue: #4A9EFF;
    --silver: #C0C0C0;
    --light-silver: #E8E8E8;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --gray: #2a2a2a;
    --alarm-red: #FF3333;
    --electric-yellow: #FFD700;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-gray);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 19, 51, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(74, 158, 255, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-dias {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-tech {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-blue);
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--light-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--dark-blue) 50%, var(--primary-blue) 100%);
    z-index: -1;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(74, 158, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 158, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: circuitMove 20s linear infinite;
}

@keyframes circuitMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-silver);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--light-blue);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 158, 255, 0.6);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--gray);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--light-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--light-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--darker-blue) 100%);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-blue);
    box-shadow: 0 10px 30px rgba(74, 158, 255, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon.alarm {
    color: var(--alarm-red);
}

.service-icon.electric {
    color: var(--electric-yellow);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    color: var(--light-silver);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--dark-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: var(--light-silver);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-large .logo {
    width: 300px;
    height: 300px;
    filter: drop-shadow(0 0 30px rgba(74, 158, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--dark-blue) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(0, 51, 102, 0.5);
    border-radius: 10px;
    border-left: 4px solid var(--light-blue);
    transition: all 0.3s;
}

.contact-item:hover {
    background: rgba(0, 51, 102, 0.7);
    transform: translateX(10px);
}

.contact-item.website {
    border-left-color: var(--light-blue);
    background: rgba(0, 102, 204, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--light-blue);
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.contact-item a,
.contact-item p {
    color: var(--light-silver);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--light-blue);
}

.whatsapp-button-container {
    margin-top: 20px;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.contact-form {
    background: rgba(0, 51, 102, 0.3);
    padding: 40px;
    border-radius: 10px;
    border: 2px solid rgba(74, 158, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 5px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    background: rgba(0, 0, 0, 0.5);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 158, 255, 0.4);
}

/* Footer */
.footer {
    background: var(--darker-blue);
    padding: 50px 0 20px;
    border-top: 2px solid var(--primary-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo p {
    color: var(--light-silver);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-silver);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light-blue);
}

.footer-contact p {
    color: var(--light-silver);
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    color: var(--light-silver);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--darker-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .logo-large .logo {
        width: 200px;
        height: 200px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

