
html {
    scroll-behavior: smooth;
}
/* --- GLS GLOBAL STYLES --- */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0; padding: 0; background-color: #f4f4f9; color: #333;
}
.container {
    width: 90%; max-width: 1200px; margin: 0 auto; padding: 20px;
}

/* --- HEADER & NAV --- */
header {
    background-color: #1a252f; color: white; padding: 10px 0; position: sticky; top: 0; z-index: 1000;
}
header .container {
    display: flex; align-items: center; justify-content: flex-start; gap: 60px;
}
.brand-logo {
    display: flex; align-items: center; text-decoration: none; color: white; font-size: 28px; font-weight: bold; letter-spacing: 2px;
}
.brand-logo img {
    height: 50px; width: auto; margin-right: 15px;
}
nav ul {
    list-style: none; padding: 0; margin: 0; display: flex; gap: 20px;
}
nav a {
    color: #bdc3c7; text-decoration: none; font-weight: 500; padding: 5px 0; transition: 0.3s;
}
nav a:hover, nav a.active {
    color: #3498db; border-bottom: 2px solid #3498db;
}


/* --- HERO SECTIONS --- */
.hero-modern, .services-hero, .tools-hero, .contact-hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white; padding: 100px 0; text-align: center;
}
.hero-modern { text-align: left; } /* მთავარზე მარცხნივ */
.hero-modern h1, .services-hero h1, .tools-hero h1, .contact-hero h1 {
    font-size: 42px; margin-bottom: 20px;
}
.highlight { color: #3498db; }

.tools-hero {
    /* მუქი გრადიენტი */
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #2ecc71; /* მწვანე ზოლი ქვემოთ */
}

/* პატარა ეფექტი ტექსტზე */
.tools-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    background: -webkit-linear-gradient(#2ecc71, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* ტექსტი გახდება გრადიენტული */
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: #3498db; color: white; padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: 0.3s;
}
.btn-primary:hover { background-color: #2980b9; }
.btn-secondary {
    border: 2px solid white; color: white; padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: bold; display: inline-block; transition: 0.3s;
}
.btn-secondary:hover { background: white; color: #2c3e50; }

/* --- SERVICES CARDS (Modern Grid) --- */
.service-category { padding: 60px 0; }
.modern-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px;
}
.modern-card {
    background: white; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; display: flex; flex-direction: column;
}
.modern-card:hover { transform: translateY(-10px); border-color: #3498db; }
.card-icon { font-size: 40px; margin-bottom: 20px; background: #f0f8ff; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.tech-tags { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tech-tags span { background: #ecf0f1; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }

/* --- FIXED TOOLS & CALCULATOR STYLES --- */

/* 1. კალკულატორის მთავარი კონტეინერი */
.calc-wrapper {
    background: #2c3e50; /* მუქი ლურჯი */
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    max-width: 1000px;
    margin: 0 auto;
    text-align: left; /* ტექსტი მარცხნივ გასწორდეს */
}

/* 2. ტაბების ღილაკები */
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #3e5268;
}

.tab-btn {
    background: transparent;
    border: 2px solid #3e5268;
    color: #bdc3c7;
    padding: 10px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

/* 3. სერვისის პაკეტები (Tier Cards) */
.tier-selection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ზუსტად 3 სვეტი */
    gap: 20px;
    margin-bottom: 30px;
}

.tier-card {
    background: #34495e;
    border: 2px solid #3e5268;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* ცენტრში */
    text-align: center;
}

/* დამალული რადიო ღილაკი */
.tier-card input { position: absolute; opacity: 0; }

/* არჩევის ეფექტი */
.tier-card:has(input:checked) {
    border-color: #2ecc71; /* მწვანე ჩარჩო */
    background: #23303d;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.tier-content h4 {
    margin: 0 0 10px 0;
    color: white;
    font-size: 18px;
}

.tier-content ul {
    text-align: left;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.tier-content ul li {
    font-size: 13px;
    color: #bdc3c7;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.tier-content ul li::before {
    content: "✓";
    color: #2ecc71;
    margin-right: 8px;
    font-weight: bold;
}

/* 4. სლაიდერები და ინფუთები */
.calculator-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* ზემოთ გასწორება */
}

.calc-inputs {
    flex: 1; /* იკავებს დარჩენილ ადგილს */
    display: flex;
    flex-direction: column;
    gap: 25px; /* დაშორება ელემენტებს შორის */
}

.input-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-row label {
    font-weight: bold;
    color: #bdc3c7;
    display: flex;
    justify-content: space-between;
}

.input-row label span {
    color: #3498db;
    font-size: 18px;
}

/* სლაიდერის ვიზუალი */
input[type=range] {
    width: 100%;
    cursor: pointer;
}

/* Checkbox (სერვერი) */
.server-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #34495e;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
}
.server-option input { transform: scale(1.5); }

/* 5. შედეგის ბლოკი */
.calc-result {
    flex: 0.7;
    background: #1a252f;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #3e5268;
}

.price-box {
    font-size: 56px;
    font-weight: bold;
    color: #3498db;
    margin: 10px 0;
    line-height: 1;
}

#price-breakdown {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 20px;
    border-top: 1px solid #3e5268;
    padding-top: 10px;
}

/* 6. მინი ინსტრუმენტების ბარათები */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tool-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.tool-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.card-top {
    height: 10px;
    background: #3498db; /* ლურჯი ხაზი თავზე */
}

.tool-content {
    padding: 25px;
    text-align: center;
}

.tool-content h3 { margin-top: 0; color: #2c3e50; }

.tool-content input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    text-align: center;
    font-family: monospace;
    font-size: 16px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-gen, .btn-terminal {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
}

.btn-gen:hover { background: #3498db; }

/* მობილური ადაპტაცია */
@media (max-width: 768px) {
    .tier-selection-grid { grid-template-columns: 1fr; }
    .calculator-grid { flex-direction: column; }
    .calc-result { width: 100%; box-sizing: border-box; }
}

/* Tier Cards */
.tier-selection-grid { display: flex; gap: 15px; margin-bottom: 30px; }
.tier-card {
    flex: 1; background: #34495e; border: 1px solid #3e5268; padding: 20px; border-radius: 10px; cursor: pointer; text-align: center; transition: 0.3s;
}
.tier-card:hover { background: #3e5268; }
/* Selected Tier Logic */
.tier-selection-grid label.tier-card:has(input:checked) {
    border-color: #2ecc71; background: #3e5268; box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}
.tier-card input { display: none; }
.tier-content h4 { color: white; margin-bottom: 10px; }
.tier-content ul { list-style: none; padding: 0; text-align: left; font-size: 13px; color: #ccc; }
.tier-content ul li::before { content: "•"; color: #2ecc71; margin-right: 5px; }

/* Inputs & Result */
.calculator-grid { display: flex; gap: 40px; text-align: left; margin-top: 30px; }
.calc-inputs { flex: 1; border-right: 1px solid #3e5268; padding-right: 20px; }
.calc-result { flex: 0.8; background: #34495e; padding: 30px; border-radius: 10px; text-align: center; }
.price-box { font-size: 50px; font-weight: bold; color: #3498db; margin: 20px 0; }

/* One Time Services */
.one-time-grid { display: grid; gap: 15px; }
.one-time-service {
    display: flex; align-items: center; justify-content: space-between; background: #34495e; padding: 20px; border-radius: 10px; cursor: pointer; border: 1px solid #3e5268;
}
.one-time-service input { transform: scale(1.5); margin-right: 15px; }

/* --- TOOLS: MINI TOOLS --- */
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.tool-card {
    background: white; border-radius: 10px; width: 350px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border: 1px solid #eee;
}
.card-top { height: 30px; background: #f0f0f0; display: flex; align-items: center; padding: 0 10px; gap: 5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.tool-content { padding: 20px; text-align: center; }
.terminal-style { background: #1e1e1e; color: #00ff00; }
.terminal-style .card-top { background: #333; }
.btn-gen, .btn-terminal {
    background: #2c3e50; color: white; border: none; padding: 8px 15px; border-radius: 5px; cursor: pointer; margin-top: 10px;
}
.terminal-style .btn-terminal { background: transparent; border: 1px solid #00ff00; color: #00ff00; }

/* --- CONTACT --- */
.contact-wrapper { display: flex; gap: 40px; background: white; padding: 40px; border-radius: 20px; margin-top: -50px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-container { flex: 1; }
.contact-info { flex: 0.5; background: #f9f9f9; padding: 30px; border-radius: 10px; }
input, textarea, select { width: 3%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; }

/* --- FOOTER --- */
.main-footer { background: #1a252f; color: #bdc3c7; padding-top: 60px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-bottom { background: #151e26; padding: 20px; text-align: center; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    header .container { flex-direction: column; gap: 20px; }
    nav ul { flex-direction: column; text-align: center; }
    .hero-buttons { display: flex; flex-direction: column; gap: 10px; }
    .tier-selection-grid, .calculator-grid, .contact-wrapper { flex-direction: column; }
    .calc-inputs { border-right: none; padding-right: 0; border-bottom: 1px solid #3e5268; padding-bottom: 20px; }
}



/* --- CLEAN LIST DESIGN (გასწორებული ვიზუალი) --- */

.clean-service-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* დაშორება ხაზებს შორის */
}

.clean-service-row {
    display: flex;
    align-items: center; /* ცენტრალური გასწორება ვერტიკალურად - მთავარია! */
    background-color: #34495e;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #3e5268;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

/* Hover ეფექტი */
.clean-service-row:hover {
    background-color: #3e5268;
    border-color: #3498db;
}

/* დამალული ორიგინალი ჩექბოქსი */
.clean-service-row input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* ჩვენი ახალი, ლამაზი ჩექბოქსი (კვადრატი) */
.custom-checkbox {
    height: 24px;
    width: 24px;
    background-color: #2c3e50;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    margin-right: 20px; /* დაშორება ტექსტთან */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* რომ არ შეიკუმშოს */
    transition: 0.2s;
}

/* როცა მონიშნულია */
.clean-service-row input:checked ~ .custom-checkbox {
    background-color: #2ecc71; /* მწვანე ფონი */
    border-color: #2ecc71;
}

/* პატარა "თოლია" (Checkmark) შიგნით - CSS-ით დახატული */
.clean-service-row input:checked ~ .custom-checkbox::after {
    content: "";
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* როცა მონიშნულია მთლიანი ხაზი */
.clean-service-row:has(input:checked) {
    border-color: #2ecc71;
    background-color: #23303d;
}

/* ტექსტის ბლოკი */
.service-text {
    flex-grow: 1; /* იკავებს დარჩენილ ადგილს */
}

.service-text h4 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.service-text p {
    margin: 5px 0 0 0;
    color: #bdc3c7;
    font-size: 14px;
}

/* ფასი */
.service-price {
    font-weight: bold;
    font-size: 20px;
    color: #3498db;
    margin-left: 20px;
    white-space: nowrap; /* ფასი არ ჩამოვარდეს */
}

.clean-service-row input:checked ~ .service-price {
    color: #2ecc71;
}

/* მობილური ვერსია */
@media (max-width: 600px) {
    .clean-service-row {
        padding: 15px;
    }
    .service-price {
        font-size: 16px;
    }
    .service-text h4 {
        font-size: 16px;
    }
}

/* --- PC CONFIGURATOR STYLES --- */

.pc-configurator-section {
    padding: 60px 0;
    background: #f4f6f7;
}

/* კითხვების ბლოკი */
.config-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.config-step h3 {
    color: #3498db;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid #3e5268;
    padding-bottom: 5px;
}

/* არჩევანის ღილაკები */
.options-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.option-card {
    flex: 1;
    min-width: 120px;
    background: #34495e;
    border: 2px solid #3e5268;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    position: relative;
}

.option-card:hover {
    background: #3e5268;
}

.option-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* არჩევის ეფექტი */
.option-card:has(input:checked) {
    border-color: #2ecc71;
    background: #23303d;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.opt-icon {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

/* შედეგის ბარათი (Specs Sheet) */
.spec-result-card {
    background: #1a252f;
    border: 1px solid #3498db;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.specs-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 სვეტი */
    gap: 20px;
    margin: 20px 0;
}

.spec-item {
    background: #2c3e50;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
}

.spec-item .label {
    display: block;
    font-size: 12px;
    color: #bdc3c7;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.spec-item strong {
    color: white;
    font-size: 18px;
}

/* მობილურისთვის */
@media (max-width: 600px) {
    .specs-display { grid-template-columns: 1fr; }
    .options-grid { flex-direction: column; }
}


/* --- PRODUCT MODELS GRID --- */

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: #1a252f; /* მუქი ფონი */
    border: 1px solid #3e5268;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

/* სურათის ადგილი */
.product-img {
    height: 180px;
    background: white; /* თეთრი ფონი სურათისთვის */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    color: white;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.specs-list {
    font-size: 13px;
    color: #bdc3c7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.specs-list span {
    display: block;
    border-bottom: 1px solid #3e5268;
    padding: 5px 0;
}

/* ღილაკები ბარათის ბოლოში */
.product-actions {
    margin-top: auto; /* სულ ქვემოთ */
    display: flex;
    gap: 10px;
}

.btn-buy {
    flex: 1;
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none; /* ლინკისთვის */
    text-align: center;
    font-size: 14px;
}

.btn-view {
    flex: 1;
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
}

.btn-buy:hover { background: #219150; }
.btn-view:hover { background: #3498db; color: white; }

/* --- BUDGET CONTROL STYLES --- */
.budget-control-box {
    background: #34495e;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #3e5268;
}

.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
}

.currency-input {
    position: relative;
    width: 120px;
}

.currency-input input {
    width: 100%;
    background: #2c3e50;
    border: 2px solid #3498db;
    color: white;
    padding: 10px;
    padding-right: 30px; /* ადგილი სიმბოლოსთვის */
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
}

.currency-input span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #3498db;
}

/* სლაიდერის ვიზუალი */
input[type=range] {
    width: 100%;
    cursor: pointer;
    accent-color: #3498db; /* ბრაუზერის სტანდარტული ფერის შეცვლა */
}

.range-labels {
    display: flex;
    justify-content: space-between;
    color: #bdc3c7;
    font-size: 12px;
    margin-top: 10px;
}

/* ბარათში ფასის ჩვენება */
.product-price-tag {
    background: #2ecc71;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
    align-self: flex-start;
    margin-bottom: 10px;
}

/* --- DUAL RANGE SLIDER STYLES --- */

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.price-values .field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-values input {
    width: 90px;
    background: #23303d;
    border: 1px solid #3498db;
    color: white;
    padding: 8px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* სლაიდერის კონტეინერი */
.dual-range-container {
    position: relative;
    width: 100%;
    height: 50px; /* სიმაღლე რომ ღილაკები დაეტიოს */
    margin-top: 10px;
}

/* ნაცრისფერი ხაზი (ფონი) */
.slider-track-bg {
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #7f8c8d;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 5px;
    z-index: 1;
}

/* ლურჯი ხაზი (აქტიური ზონა) */
.slider-track-fill {
    position: absolute;
    height: 6px;
    background-color: #3498db; /* აქტიური ფერი */
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border-radius: 5px;
}

/* თვითონ სლაიდერები (უხილავი ტრეკი, ხილული ღილაკი) */
.dual-range-container input[type="range"] {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* რომ ქვედასაც დაეჭიროს */
    -webkit-appearance: none;
    background: none;
    z-index: 3;
}

/* სლაიდერის თავი (Thumb) - Chrome/Safari */
.dual-range-container input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto; /* ღილაკზე დაჭერა შესაძლებელი იყოს */
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #3498db;
    cursor: pointer;
    margin-top: -9px; /* გასწორება */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    position: relative;
    z-index: 4;
}

/* Firefox-ისთვის */
.dual-range-container input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #3498db;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 4;
}

/* --- DUAL RANGE SLIDER (ორმაგი სლაიდერი) --- */

.price-input-container {
    width: 100%;
    margin-bottom: 25px;
}

.price-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.price-field input {
    width: 100px;
    height: 35px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #3e5268;
    background: #34495e;
    color: white;
    border-radius: 5px;
}

/* სლაიდერის ვიზუალი */
.slider-container {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: #bdc3c7; /* ნაცრისფერი ფონი */
    border-radius: 5px;
    margin-top: 20px;
}

/* აქტიური (ლურჯი) ზოლი */
.slider-track {
    position: absolute;
    height: 100%;
    background-color: #3498db; /* ლურჯი ფერი */
    border-radius: 5px;
    z-index: 1;
}

/* თვითონ სლაიდერები (უხილავი, მხოლოდ ღილაკი ჩანს) */
.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -7px; /* გასწორება */
    background: none;
    pointer-events: none; /* რომ ქვედასაც დაეჭიროს */
    -webkit-appearance: none;
    z-index: 2;
}

/* სლაიდერის ღილაკი (Thumb) */
.range-input input::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #3498db;
    border: 3px solid white;
    pointer-events: auto; /* ღილაკზე დაჭერა შესაძლებელი იყოს */
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.range-input input::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: #3498db;
    pointer-events: auto;
    cursor: pointer;
}


/* --- Wi-Fi Generator Style --- */
.wifi-box input, .wifi-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* ვიზუალური ბარათი */
.printable-card {
    background: #1a252f;
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    border: 2px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-header {
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #3498db;
    border-bottom: 1px solid #3e5268;
    padding-bottom: 5px;
}

#wifi-qr-img {
    border: 5px solid white;
    border-radius: 5px;
}

.card-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#res-ssid { font-size: 18px; color: white; }
#res-pass { font-size: 14px; color: #bdc3c7; font-family: monospace; }

.scan-text {
    font-size: 10px;
    margin-top: 15px;
    color: #7f8c8d;
    letter-spacing: 1px;
}

/* --- AUTH BUTTON IN MENU --- */
.btn-auth {
    background: #3498db;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 20px;
    font-weight: bold;
    transition: 0.3s;
    border: 1px solid #3498db;
}

.btn-auth:hover {
    background: transparent;
    color: #3498db !important;
}

/* თუ შესულია (მწვანე) */
.btn-auth.logged-in {
    background: #27ae60;
    border-color: #27ae60;
}

.btn-auth.logged-in:hover {
    background: transparent;
    color: #27ae60 !important;
}

/* style.css-ში ჩაამატე */
input[type="datetime-local"] {
    background-color: #2c3e50;
    color: #ecf0f1;
    border: 1px solid #3e5268;
    padding: 10px;
    border-radius: 5px;
    font-family: inherit;
    cursor: pointer;
}

/* კალენდრის აიქონი რომ გათეთრდეს (მხოლოდ Chrome/Edge-სთვის) */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}


/* სერვისების ყუთი */
.advanced-service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-box {
    background: #2c3e50;
    border: 1px solid #3e5268;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.service-box:hover {
    border-color: #3498db;
    background: #34495e;
}

/* ზედა ნაწილი (Header) */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

/* ჩეკბოქსის დიზაინი */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    flex-grow: 1; /* მთელ სიგანეზე გაწელვა */
}

.checkbox-wrapper input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #2ecc71; /* მწვანე ჩეკბოქსი */
}

.service-name {
    font-weight: bold;
    color: #ecf0f1;
    font-size: 16px;
}

.service-price {
    background: #22303c;
    color: #2ecc71;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    margin-left: auto; /* მარჯვნივ გაწევა */
    margin-right: 15px;
}

/* ინფო ღილაკი */
.info-toggle {
    background: transparent;
    border: none;
    color: #95a5a6;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    padding: 5px;
}

.info-toggle:hover { color: white; transform: scale(1.2); }
.info-toggle.active { transform: rotate(180deg); } /* მობრუნება გახსნისას */

/* დეტალების სექცია (ჩამოსაშლელი) */
.service-details {
    padding: 0 15px 15px 50px; /* 50px მარცხნივ, რომ ტექსტს გაუსწორდეს */
    color: #bdc3c7;
    font-size: 14px;
    border-top: 1px solid #3e5268;
    background: #253342;
    padding-top: 10px;
}

.service-details p { margin: 5px 0; }
.service-details small { color: #f1c40f; display: block; margin-top: 10px; }


#backToTop {
    display: none; /* თავიდან დამალულია */
    position: fixed;
    bottom: 30px;
    left: 30px; /* მარცხენა მხარეს (რადგან მარჯვნივ ჩატია) */
    z-index: 999;
    font-size: 20px;
    border: none;
    outline: none;
    background-color: #e67e22;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

#backToTop:hover {
    background-color: #d35400;
    transform: translateY(-5px);
}


/* სექციის ზოგადი სტილი */
.services-section {
    background: #1a252f; /* მუქი ფონი */
    padding: 80px 0;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: #2ecc71; /* მწვანე სათაური */
    font-size: 36px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title p {
    color: #bdc3c7;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* ბადე (Grid) - ავტომატური განაწილება */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* დაშორება ბარათებს შორის */
}

/* ბარათის დიზაინი */
.service-card {
    background: #2c3e50;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #3e5268;
    transition: transform 0.3s, border-color 0.3s;
}

/* ჰოვერ ეფექტი - მაუსის მიტანისას */
.service-card:hover {
    transform: translateY(-10px); /* ოდნავ ზემოთ აწევა */
    border-color: #3498db; /* ლურჯი ჩარჩო */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.icon-box {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card p {
    color: #bdc3c7;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* სიის სტილი (სერვისების ჩამონათვალი) */
.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    color: #ecf0f1;
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}