/*
Theme Name: SafeNet.ge & PC RESTART (v3 Bright-Tech & 3-Slide Hero)
Theme URI: https://safenet.ge
Author: Giorgi Abashidze
Description: Modern balanced dark-slate & vibrant bright-accent WordPress & WooCommerce theme for SafeNet.ge and PC RESTART with a 3-slide interactive Hero Slider on the home page.
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: safenet-ge
*/

:root {
    --bg-main: #152033;
    --bg-surface: #1b2940;
    --bg-card: #21324d;
    --accent: #38BDF8;
    --accent-hover: #0EA5E9;
    --accent-secondary: #818CF8;
    --text-white: #F8FAFC;
    --text-muted: #CBD5E1;
    --border-color: rgba(148, 163, 184, 0.18);
    --green: #34D399;
}

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

body {
    font-family: 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: #101929;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-weight: 500;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--green);
}

.top-contact { display: flex; gap: 12px; }
.top-contact a:hover { color: var(--accent); }

/* Header */
.navbar {
    background-color: rgba(21, 32, 51, 0.94);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

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

.logo { display: flex; flex-direction: column; }
.logo-main { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }
.logo-main .accent { color: var(--accent); }
.logo-sub { font-size: 10px; letter-spacing: 1.5px; color: var(--text-muted); font-weight: 600; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
}

.nav-links a { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text-white); }

.nav-highlight {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(129, 140, 248, 0.22));
    color: #7DD3FC !important;
    border: 1px solid rgba(56, 189, 248, 0.5);
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.nav-highlight:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #0F172A !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 22px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* 3-Slide Hero Slider (Front Page Only) */
.hero-slider-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #17253b 0%, #1e3352 50%, #162338 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero-slides {
    position: relative;
    min-height: 460px;
}

.hero-slide {
    display: none;
    padding: 68px 0 82px;
    animation: slideFade 0.55s ease;
}

.hero-slide.active {
    display: block;
}

@keyframes slideFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-bg-1 {
    background: radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.24), transparent 55%),
                radial-gradient(circle at 15% 85%, rgba(129, 140, 248, 0.16), transparent 50%);
}

.slide-bg-2 {
    background: radial-gradient(circle at 80% 25%, rgba(52, 211, 153, 0.24), transparent 55%),
                radial-gradient(circle at 15% 80%, rgba(56, 189, 248, 0.18), transparent 50%);
}

.slide-bg-3 {
    background: radial-gradient(circle at 82% 20%, rgba(129, 140, 248, 0.26), transparent 55%),
                radial-gradient(circle at 18% 85%, rgba(56, 189, 248, 0.18), transparent 50%);
}

.slider-controls {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-controls-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 32px;
    height: 6px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 48px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(33, 50, 77, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slider-arrow:hover {
    background: var(--accent);
    color: #0F172A;
    border-color: var(--accent);
}

/* Page Header */
.page-hero {
    padding: 54px 0 42px;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 60%), #18263d;
    border-bottom: 1px solid var(--border-color);
}

.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 16px; max-width: 720px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.hero-content h1 { font-size: 38px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
.hero-content p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; max-width: 540px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: linear-gradient(135deg, #38BDF8, #0EA5E9); color: #0F172A; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(248, 250, 252, 0.28); color: var(--text-white); background: rgba(255,255,255,0.03); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: 13px; background: linear-gradient(135deg, #38BDF8, #0EA5E9); color: #0F172A; font-weight: 700; border-radius: 6px; }
.btn-sm:hover { filter: brightness(1.08); }

.dual-box {
    background: rgba(33, 50, 77, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(10, 18, 32, 0.28);
}

.dual-item h3 { font-size: 20px; margin: 8px 0; }
.dual-item p { font-size: 14px; color: var(--text-muted); }

.tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(56, 189, 248, 0.18);
    color: #7DD3FC;
}

.tag-green { background: rgba(52, 211, 153, 0.18); color: #6EE7B7; }
.tag-purple { background: rgba(129, 140, 248, 0.2); color: #C7D2FE; }
.divider { height: 1px; background-color: var(--border-color); margin: 20px 0; }

/* Sections & Grids */
.section { padding: 64px 0; }
.section-dark-alt { background-color: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.section-header h2 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.section-header p { color: var(--text-muted); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 10px 25px rgba(14, 24, 42, 0.35); }
.card-accent { border-color: rgba(56, 189, 248, 0.5); background: linear-gradient(160deg, #21324d, #1c3554); }
.card-icon { font-size: 28px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text-muted); flex-grow: 1; }
.card-link { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--accent); }

.service-list {
    list-style: none;
    margin-top: 12px;
}

.service-list li {
    padding: 7px 0;
    font-size: 14px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.service-list li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
}

/* Product & Blog Cards */
.product-card, .blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover, .blog-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 10px 25px rgba(14, 24, 42, 0.35); }

.card-thumb {
    width: 100%;
    height: 200px;
    background-color: #142033;
    overflow: hidden;
    position: relative;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    background: rgba(56, 189, 248, 0.18);
    color: #7DD3FC;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.card-body h4 { font-size: 17px; margin-bottom: 10px; }
.card-excerpt { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex-grow: 1; }

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.price { font-size: 18px; font-weight: 800; color: var(--text-white); }

/* Single Post / Page / WooCommerce Styling */
.content-wrap { padding: 50px 0; min-height: 60vh; }

.single-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 36px;
}

.single-box h1 { font-size: 30px; margin-bottom: 16px; }
.single-thumb { margin-bottom: 24px; border-radius: 10px; overflow: hidden; max-height: 450px; }
.single-thumb img { width: 100%; object-fit: cover; }
.entry-content p { margin-bottom: 16px; color: #f1f5f9; }

/* WooCommerce Overrides */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
}
.woocommerce ul.products li.product img { border-radius: 8px; height: 200px; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--text-white); font-size: 17px; }
.woocommerce ul.products li.product .price { color: var(--accent); font-size: 18px; font-weight: 700; }
.woocommerce a.button, .woocommerce button.button {
    background: linear-gradient(135deg, #38BDF8, #0EA5E9) !important;
    color: #0F172A !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
}
.woocommerce div.product .product_title { color: var(--text-white); }
.woocommerce div.product p.price { color: var(--accent); font-size: 24px; }

/* CTA & Footer */
.cta-box {
    background: linear-gradient(135deg, #21324d, #1b3b64);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer { background-color: #101929; border-top: 1px solid var(--border-color); padding: 28px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--text-muted); }

@media (max-width: 960px) {
    .hero-grid, .grid-4, .grid-3, .woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .hero-grid, .grid-4, .grid-3, .woocommerce ul.products { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background-color: var(--bg-main);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        align-items: flex-start;
    }
    .nav-links.open { display: flex; }
    .hero-content h1 { font-size: 28px; }
}
