/* === TMKIS Internet Services — CSS === */
:root {
    --primary: #2c3e50;
    --accent: #c0392b;
    --accent-light: #e74c3c;
    --purple: #8e44ad;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --text: #333333;
    --text-light: #6c757d;
    --border: #e9ecef;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
}

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

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--primary);
    font-size: 1.3rem; font-weight: 700; letter-spacing: -0.5px;
}
.logo small { font-weight: 400; font-size: 0.65em; color: var(--text-light); display: block; font-style: italic; }
.logo-icon { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--primary);
    margin: 5px 0; transition: var(--transition);
}

/* --- Hero --- */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #fdf2f2 100%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero h1 {
    font-size: 3rem; font-weight: 800; line-height: 1.15;
    color: var(--primary); letter-spacing: -1px;
}
.highlight { color: var(--accent); }
.hero-sub { font-size: 1.2rem; color: var(--text-light); margin: 24px 0 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 1rem;
    transition: all var(--transition); border: 2px solid transparent; cursor: pointer;
}
.btn-primary {
    background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
    background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; }

/* Hero dots animation */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.dots-grid { position: relative; width: 300px; height: 300px; }
.dot {
    position: absolute; border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.dot-1 { width: 60px; height: 60px; background: var(--accent); top: 40%; left: 35%; animation-delay: 0s; opacity: 0.9; }
.dot-2 { width: 35px; height: 35px; background: var(--purple); top: 15%; left: 60%; animation-delay: 1s; }
.dot-3 { width: 25px; height: 25px; background: var(--primary); top: 55%; left: 65%; animation-delay: 2s; }
.dot-4 { width: 18px; height: 18px; background: var(--accent); top: 70%; left: 40%; animation-delay: 0.5s; opacity: 0.5; }
.dot-5 { width: 22px; height: 22px; background: var(--purple); top: 25%; left: 30%; animation-delay: 1.5s; opacity: 0.6; }
.dot-6 { width: 40px; height: 40px; background: var(--primary); top: 35%; left: 55%; animation-delay: 3s; opacity: 0.3; }
.dot-7 { width: 12px; height: 12px; background: var(--accent); top: 10%; left: 45%; animation-delay: 2.5s; opacity: 0.7; }
.dot-8 { width: 16px; height: 16px; background: var(--purple); top: 60%; left: 25%; animation-delay: 4s; opacity: 0.4; }
.dot-9 { width: 30px; height: 30px; background: var(--primary); top: 80%; left: 55%; animation-delay: 1.8s; opacity: 0.5; }

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
    font-size: 2.2rem; font-weight: 800; color: var(--primary);
    text-align: center; margin-bottom: 12px;
}
.section-subtitle {
    text-align: center; color: var(--text-light); font-size: 1.1rem;
    max-width: 600px; margin: 0 auto 60px;
}

/* --- Services --- */
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.service-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 36px 28px; transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.6; }

/* --- About --- */
.about-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.about-text p { margin-bottom: 16px; font-size: 1.05rem; }
.about-facts { display: flex; flex-direction: column; gap: 24px; }
.fact {
    display: flex; gap: 16px; align-items: center;
    padding: 20px; background: var(--bg); border-radius: var(--radius);
    border: 1px solid var(--border);
}
.fact-icon { font-size: 2rem; flex-shrink: 0; }
.fact-text strong { display: block; color: var(--primary); }
.fact-text span { font-size: 0.9rem; color: var(--text-light); }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.form-group input, .form-group textarea {
    padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px;
    font-size: 1rem; font-family: inherit; transition: border-color var(--transition);
    background: var(--bg-alt);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background: #fff;
}
.form-status { padding: 14px; border-radius: 8px; font-weight: 500; margin-top: 8px; }
.form-status.success { background: #d4edda; color: #155724; }
.form-status.error { background: #f8d7da; color: #721c24; }

.contact-info { padding-top: 10px; }
.contact-info h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 24px; }
.contact-item {
    display: flex; gap: 16px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item a { color: var(--accent); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* --- Footer --- */
.footer { background: var(--primary); color: #ced4da; padding: 50px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; align-items: start; margin-bottom: 30px; }
.footer-logo {
    font-size: 1.2rem; font-weight: 700; color: #fff;
}
.footer-logo small { font-weight: 400; font-size: 0.65em; color: #adb5bd; font-style: italic; }
.footer-brand p { margin-top: 8px; font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #adb5bd; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px;
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { flex-direction: column; gap: 20px; }
}
