/* GC TECH NET - Styles CSS Base Stable */

/* --- 1. RESET & VARIABLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-black: #050505;
    --color-gray-900: #111827;
    --color-gray-800: #1f2937;
    --color-gray-700: #374151;
    --color-gray-400: #9ca3af;
    --color-gray-300: #d1d5db;
    --color-white: #ffffff;
    --color-blue-500: #3b82f6;
    --color-blue-600: #2563eb;
    --color-blue-400: #60a5fa;
    --color-cyan-500: #06b6d4;
    --color-cyan-300: #67e8f9;
    --color-red-500: #ef4444;
    --color-yellow-400: #fbbf24;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* --- 2. HEADER & NAVIGATION --- */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    transition: all 0.3s ease; background-color: transparent;
}
#header.scrolled {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 60px; width: auto; cursor: pointer; transition: transform 0.3s ease; }
.logo img:hover { transform: scale(1.05); }
.desktop-nav { display: flex; gap: 2rem; }
.nav-link {
    color: var(--color-white); text-decoration: none; font-size: 0.875rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease;
}
.nav-link:hover { color: var(--color-blue-400); }
.nav-link.active-link { color: var(--color-blue-400); border-bottom: 2px solid var(--color-blue-400); }

.cta-button {
    background-color: var(--color-blue-500); color: var(--color-white); border: none;
    border-radius: 9999px; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: all 0.3s ease;
    text-decoration: none;
}
.cta-button:hover { background-color: var(--color-blue-600); transform: scale(1.05); }
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--color-white); cursor: pointer; padding: 0.5rem; }
.mobile-nav { display: none; flex-direction: column; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--color-gray-800); background-color: var(--color-black); }
.mobile-nav.active { display: flex; }

/* --- 3. HERO SECTION --- */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: #020202; }
.hero-background { position: absolute; inset: 0; z-index: 0; }
.animated-bg {
    position: absolute; top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%; filter: blur(60px); animation: pulse 8s ease-in-out infinite;
}
.animated-bg-2 {
    position: absolute; bottom: -10%; right: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    border-radius: 50%; filter: blur(60px); animation: pulse 8s ease-in-out infinite 4s;
}
@keyframes pulse { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.1); } }
.grid-pattern {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(6, 182, 212, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 182, 212, 0.15) 1px, transparent 1px);
    background-size: 40px 40px; mask-image: radial-gradient(circle at center, black 40%, rgba(0,0,0,0.6) 100%);
}
.hero-content { position: relative; z-index: 10; text-align: center; max-width: 1200px; padding: 8rem 0; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.5); border-radius: 9999px; padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}
.hero-badge i { color: var(--color-blue-400); }
.hero-badge span { color: var(--color-cyan-300); font-size: 0.875rem; font-weight: 500; }
.hero-title {
    font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem;
}
.gradient-text {
    background: linear-gradient(to right, var(--color-blue-400), var(--color-cyan-300), var(--color-blue-500));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem); color: var(--color-gray-300); margin-bottom: 3rem;
    max-width: 900px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 5rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem; background-color: var(--color-blue-500);
    color: var(--color-white); border: none; border-radius: 9999px; padding: 1rem 2rem; font-weight: 700;
    font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; transition: all 0.3s ease;
}
.btn-primary:hover { background-color: var(--color-blue-600); transform: scale(1.05); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem; background-color: transparent;
    color: var(--color-white); border: 2px solid var(--color-white); border-radius: 9999px;
    padding: 1rem 2rem; font-weight: 700; font-size: 1.125rem; text-transform: uppercase;
    letter-spacing: 0.05em; cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { background-color: var(--color-white); color: var(--color-black); }

/* --- 4. SECTIONS --- */
section { padding: 6rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.text-blue { color: var(--color-blue-400); }
.section-subtitle { font-size: 1.25rem; color: var(--color-gray-400); max-width: 900px; margin: 0 auto; }

/* About & Services */
.about-section { background-color: var(--color-gray-900); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.about-card, .service-card, .portfolio-card, .contact-card {
    background: linear-gradient(135deg, var(--color-gray-800), var(--color-gray-900));
    padding: 2rem; border-radius: 1rem; border: 1px solid var(--color-gray-700); transition: all 0.3s ease;
}
.services-section { background-color: var(--color-black); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-icon {
    background: rgba(59, 130, 246, 0.1); width: 4rem; height: 4rem; border-radius: 0.75rem;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.service-icon i { color: var(--color-blue-400); width: 32px; height: 32px; }

/* Footer & Form */
.footer { background-color: var(--color-black); border-top: 1px solid var(--color-gray-800); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer ul { list-style: none; }
.footer ul li a { color: var(--color-gray-400); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--color-gray-800); padding-top: 2rem; margin-top: 2rem; display: flex; justify-content: space-between; }

.contact-section { background-color: var(--color-gray-900); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.quote-container { max-width: 1000px; margin: 0 auto; }
.quote-form {
    background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-800));
    padding: 3rem; border-radius: 1rem; border: 1px solid var(--color-gray-700);
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { color: var(--color-white); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
    background-color: var(--color-gray-800); border: 1px solid var(--color-gray-700);
    border-radius: 0.5rem; padding: 0.75rem 1rem; color: var(--color-white);
}
.btn-submit {
    width: 100%; background-color: var(--color-blue-500); color: var(--color-white); border: none;
    border-radius: 9999px; padding: 1rem 2rem; font-weight: 700; cursor: pointer;
}

/* Utils */
body:not(.home-page) #header { background-color: rgba(5, 5, 5, 0.95); border-bottom: 1px solid rgba(59, 130, 246, 0.1); }
@media (max-width: 768px) { .desktop-nav, .cta-button { display: none; } .mobile-menu-toggle { display: block; } }

/* Modals */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); z-index: 2000; align-items: center; justify-content: center;
}
.modal-content { background: var(--color-gray-900); padding: 2rem; border-radius: 1rem; width: 90%; max-width: 500px; }