/*
Theme Name:  CyberSol Theme
Theme URI:   https://cybersol.ro
Author:      CyberAid Solutions
Description: One-page cybersecurity business theme for CyberSol.ro
Version:     1.0
*/

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   NAVIGATION
=========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1a2744;
    letter-spacing: 1px;
}

.site-logo span { color: #00c48c; }

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: #555;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-menu a:hover { color: #00c48c; }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #00c48c;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    transition: background 0.2s !important;
}

.nav-phone:hover { background: #009e72 !important; color: #fff !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #1a2744;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Cyber grid overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,196,140,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,196,140,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 60%, rgba(0,196,140,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 25%, rgba(0,150,200,0.08) 0%, transparent 45%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 120px 24px 60px;
}

.hero-tag {
    display: inline-block;
    background: rgba(0,196,140,0.15);
    border: 1px solid rgba(0,196,140,0.4);
    color: #00c48c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 24px;
    margin-bottom: 28px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-content h1 span { color: #00c48c; }

.hero-content p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #9ab5c8;
    margin-bottom: 44px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: #00c48c;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #009e72; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    margin-left: 14px;
}
.btn-outline:hover { border-color: #00c48c; background: rgba(0,196,140,0.1); transform: translateY(-2px); }

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.hero-scroll svg {
    width: 28px; height: 28px;
    fill: none; stroke: rgba(255,255,255,0.35); stroke-width: 2;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   SECTION BASE
=========================== */
.section { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #00c48c;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a2744;
    line-height: 1.2;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.05rem;
    color: #667;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    width: 48px; height: 3px;
    background: #00c48c;
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===========================
   ABOUT
=========================== */
.about-section { background: #f8fafb; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #1a2744;
    margin-bottom: 16px;
}

.about-text p {
    color: #556;
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
}

.highlight-dot {
    width: 8px; height: 8px;
    background: #00c48c;
    border-radius: 50%;
    flex-shrink: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(26,39,68,0.06);
    border-bottom: 3px solid #00c48c;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a2744;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card .stat-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===========================
   SERVICES
=========================== */
.services-section { background: #fff; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #00c48c;
    transform: scaleX(0);
    transition: transform 0.25s;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(26,39,68,0.1);
    border-color: transparent;
}

.service-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #e6fdf5, #c8f5e8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.9rem;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2744;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.93rem;
    color: #667;
    line-height: 1.7;
}

/* ===========================
   CYBER BANNER
=========================== */
.banner-section {
    background: linear-gradient(135deg, #0f2027, #203a43);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,196,140,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,196,140,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.banner-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.banner-text p { color: #8aabbb; font-size: 1rem; }

/* ===========================
   CONTACT
=========================== */
.contact-section { background: #f8fafb; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 { font-size: 1.3rem; color: #1a2744; margin-bottom: 24px; }

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

.contact-item-icon {
    width: 44px; height: 44px;
    background: #e6fdf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text strong {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00c48c;
    margin-bottom: 2px;
}

.contact-item-text span { font-size: 0.95rem; color: #444; }

.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(26,39,68,0.07);
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dde8f0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    transition: border-color 0.2s;
    background: #fafcff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00c48c;
    background: #fff;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
    width: 100%;
    padding: 14px;
    background: #00c48c;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover { background: #009e72; }

/* ===========================
   FOOTER
=========================== */
.site-footer {
    background: #0f1f2e;
    color: #6a8da8;
    padding: 48px 0 24px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 36px;
}

.footer-brand .site-logo { font-size: 1.2rem; display: inline-block; margin-bottom: 12px; }

.footer-brand p { font-size: 0.87rem; line-height: 1.7; color: #4a6a80; }

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul li a { font-size: 0.87rem; color: #4a6a80; transition: color 0.2s; }
.footer-col ul li a:hover { color: #00c48c; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #3a5a70;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .about-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .banner-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; width: 100%; background: #fff; padding: 20px 24px 28px; gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .btn-outline { margin-left: 0; margin-top: 12px; display: block; }
}
