/* ------------------------------------------------------------
   Avyronix Electronics – Premium Dark Theme
   ------------------------------------------------------------ */

/* Global resets and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #e0e0e0;
    background-color: #111;
    line-height: 1.6;
}

a {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: #66d9ff;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 1rem 0;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 4px #00bfff);
}
.nav-menu a {
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Hero */
.hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}
.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #ddd;
}
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #00bfff, #0066ff);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,191,255,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,191,255,0.6);
}

/* Sections */
.section {
    padding: 4rem 0;
}
.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #fff;
}
.about p, .services p, .contact p {
    max-width: 800px;
    margin: 0 auto 1rem;
    color: #ccc;
    text-align: center;
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: transform 0.2s, background 0.2s;
}
.service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}
.service-card h3 {
    margin-bottom: 0.75rem;
    color: #00bfff;
    font-size: 1.25rem;
}
.service-card p {
    font-size: 0.95rem;
    color: #bbb;
}

/* Contact Form */
#contact-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(255,255,255,0.04);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(8px);
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: #ddd;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #333;
    border-radius: 6px;
    background: rgba(255,255,255,0.02);
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bfff;
}
.submit-button {
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, #0066ff, #00bfff);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.submit-button:hover {
    background: linear-gradient(135deg, #00bfff, #0066ff);
    transform: translateY(-2px);
}

/* Contact Details */
.contact-details p {
    color: #ccc;
    margin: 0.5rem 0;
    text-align: center;
}
.map-wrapper iframe {
    border-radius: 12px;
    margin-top: 1rem;
    filter: grayscale(20%);
}

/* Footer */
.site-footer {
    background-color: #050608;
    border-top: 1px solid #1a1c23;
    padding: 4rem 0 3rem;
    color: #8a8d98;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}
.footer-col h3 {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.footer-logo-img {
    height: 32px;
    width: auto;
    border-radius: 4px;
}
.brand-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    font-family: 'Outfit', sans-serif;
}
.brand-desc {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #8a8d98;
    max-width: 380px;
    text-align: left !important;
}
.hosting-info {
    font-size: 0.85rem;
    color: #8a8d98;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #8a8d98;
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: #00bfff;
    text-decoration: none;
}
.footer-address {
    font-style: normal;
    line-height: 1.7;
    color: #8a8d98;
    margin-bottom: 1.5rem;
}
.phone-info, .email-info {
    margin-bottom: 0.5rem;
    color: #8a8d98;
}
.highlight-link {
    color: #00bfff;
    font-weight: 600;
    transition: color 0.2s ease;
}
.highlight-link:hover {
    color: #66d9ff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; }
    .nav-menu a { margin: 0.5rem 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
}

/* Animation */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }
section { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
