/* 
=======================================
   AMIGOS ELECTRIC LLC - PREMIUM CSS
======================================= 
*/

:root {
    /* Color Palette based on logo & premium request */
    --primary-dark: #07101d;      /* Deeper Navy */
    --primary: #0A192F;           /* Navy Background */
    --primary-light: #112240;     /* Lighter Navy for cards */
    --primary-lighter: #233554;   /* Hover states */
    
    --accent: #FFD700;            /* Gold/Yellow */
    --accent-glow: rgba(255, 215, 0, 0.4);
    --accent-hover: #e6c200;
    
    --text-white: #E6F1FF;        /* Off-white for high contrast */
    --text-gray: #8892B0;         /* Muted text */
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing & Layout */
    --section-pad: 100px 0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* ================== RESET ================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-hover);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================== UTILITIES ================== */
.section {
    padding: var(--section-pad);
}

.bg-darker {
    background-color: var(--primary-dark);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title.center {
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-top: 10px;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-glow);
}

.section-title.center::after {
    margin: 10px auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-gray);
}

.mt-4 {
    margin-top: 2rem;
}

.text-sm {
    font-size: 0.875rem;
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Typography Enhancements */
.text-glow {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* ================== BUTTONS ================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.full-width {
    width: 100%;
}

/* ================== NAVIGATION ================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background-color: transparent;
}

#navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-text strong {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
    box-shadow: 0 0 5px var(--accent-glow);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    color: var(--text-white);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-light);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-white);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-white);
}

/* ================== HERO SECTION ================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Prevent overlap with sticky navbar */
    padding-bottom: 60px; /* Prevent cropping at the bottom */
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, var(--primary-light) 0%, var(--primary-dark) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>');
    pointer-events: none;
}

.hero-content {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.tecl-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    letter-spacing: 2px;
}

#hero h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Subtle Electric Animations */
.decor-lightning {
    position: absolute;
    background-color: var(--accent);
    opacity: 0;
    filter: blur(8px);
    border-radius: 50%;
}

.lightning-1 {
    top: 20%;
    right: 15%;
    width: 200px;
    height: 200px;
    animation: pulse-glow 4s infinite alternate;
}

.lightning-2 {
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    animation: pulse-glow 6s infinite alternate-reverse;
}

@keyframes pulse-glow {
    0% { opacity: 0.02; transform: scale(0.8); }
    100% { opacity: 0.08; transform: scale(1.2); }
}

/* ================== ABOUT SECTION ================== */
.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    border-color: rgba(255, 215, 0, 0.2);
}

.stat-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 215, 0, 0.1);
    overflow: hidden;
}

.glow-bg {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.abstract-graphic {
    position: relative;
    z-index: 2;
    width: 60%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.large-icon {
    font-size: 6rem;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    z-index: 10;
}

.circuit-line {
    position: absolute;
    background-color: rgba(255, 215, 0, 0.3);
}

.cl-1 { width: 100%; height: 2px; top: 30%; }
.cl-2 { height: 100%; width: 2px; left: 70%; }

.circuit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.cn-1 { top: 28.5%; left: 20%; }
.cn-2 { top: 28.5%; right: 28.5%; }
.cn-3 { bottom: 20%; left: 68.5%; }

/* ================== SERVICES SECTION ================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--primary);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.7);
}

.service-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.icon-wrapper i {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper i {
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ================== PROCESS TIMELINE ================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background-color: rgba(255, 215, 0, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background-color: var(--primary-light);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
}

.timeline-content {
    background-color: var(--primary-light);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-content h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

/* ================== TESTIMONIALS ================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--primary);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-white);
}

.reviewer {
    font-weight: 600;
    color: var(--accent);
}

/* ================== CONTACT SECTION ================== */
.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-item h4 {
    margin-bottom: 5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tags span {
    background-color: var(--primary-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-container {
    background-color: var(--primary-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--accent);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* ================== FOOTER ================== */
footer {
    background-color: var(--primary-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.footer-logo-img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.footer-logo-text strong {
    color: var(--accent);
}

.footer-logo p {
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* ================== ANIMATIONS (Intersection Observer) ================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 992px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        grid-row: 1; /* Move image above text on mobile */
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}
