/* style.css - zamonaviy, noan'anaviy (premium) */
/* :root{
  --bg1: #e9f7ff;
  --bg2: #fff7ff;
  --accent1: #00bcd4;
  --accent2: #009688;
  --glass: rgba(255,255,255,0.72);
  --muted: #666;
  --card-radius: 18px;
} */


/* ======== Creative Style ======== */
:root{
  --bg1:#e9f7ff; --bg2:#fff7ff;
  --accent1:#0e3759; --accent2:#0666c6;
  --glass: rgba(255,255,255,0.72);
  --muted:#666; --card-radius:18px;
}



/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  width: 90px;              /* kattalashtirildi */
  height: 90px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  padding: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.15);
}




*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family:'Poppins',sans-serif;
  background:linear-gradient(135deg,var(--bg1),var(--bg2));
  color:#111;
  -webkit-font-smoothing:antialiased;
}

/* Canvas background */
#background{
  position:fixed; inset:0; z-index:-1; width:100%; height:100%;
  background: radial-gradient(circle at 20% 20%, #d7f7ff 0%, rgba(255,255,255,0) 40%);
}

/* Header */
.header{
  padding:28px 20px 40px;
  text-align:center;
  backdrop-filter: blur(8px);
  margin-bottom:18px;
}



/* ChatBot */
#ai-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: sans-serif;
  z-index: 9999;
}

#chat-icon {
  background: #0f2027;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
}

#chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#chat-header {
  background: #0f2027;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#clear-btn {
  background: #2c5364;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  font-size: 12px;
}

#clear-btn:hover {
  background: #26a1d5;
}

#chat-messages {
  height: 260px;
  padding: 10px;
  overflow-y: auto;
  background: #203a43;
}

#chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

#chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-input button {
  background: #0f2027;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.message {
  margin: 5px 0;
  padding: 6px 10px;
  border-radius: 10px;
  max-width: 85%;
}

.user {
  background: #0f2027;
  color: white;
  margin-left: auto;
}

.bot {
  background: #e5e7eb;
  color: #111;
  margin-right: auto;
}


/*  */



.bx{
    margin-block-start: 1em;
    margin-block-end: 1em;
}

/* === DARK MODE === */
body.dark {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #f1f1f1;
}

body.dark .header {
  backdrop-filter: blur(8px);
  background: rgba(20, 20, 20, 0.6);
}

body.dark  .tagline {color: #fff var(--muted);}
body.dark .hero p{color: #fff var(--muted);}

body.dark .service-card,
body.dark .about-card,
body.dark .map-card,
body.dark .review,
body.dark .modal-card {
  background: rgba(30, 30, 30, 0.8);
  color: #eee;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

body.dark .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: #f5f5f5;
}

body.dark .btn-primary {
  background: linear-gradient(90deg, #0e3759, #0666c6);
}

body.dark .nav-btn {
  border-color: rgba(255,255,255,0.1);
  color: #f1f1f1;
}

body.dark .hero h1 {
  -webkit-text-fill-color: #fff;
  color: #fff;
}

body.dark .footer {
  color: #ccc;
}

body.dark input,
body.dark textarea,
body.dark select {
  background: #222;
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}






.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  max-width:1200px;
  margin:0 auto;
}

.link-like {
  background: none;           /* Fonni olib tashlaymiz */
  border: none;               /* Chegarani olib tashlaymiz */
  color: #0078ff;             /* Matn rangi (ko‘k) */
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;            /* Sichqoncha ustiga olib borilganda pointer */
  text-decoration: underline; /* Link kabi chizilgan */
  transition: color 0.3s, transform 0.2s;
}

.link-like:hover {
  color: #0056cc;             /* Hoverda to‘qroq rang */
  transform: scale(1.05);     /* Biroz kattalashadi */
}

.link-like:active {
  color: #003f99;             /* Bosilganda yanada to‘qroq rang */
  transform: scale(0.98);     /* Bosilganda bosilgandek effekt */
}

.link-like:focus {
  outline: none;              /* Fokusda chegarani olib tashlaymiz */
  text-decoration: none;      /* Fokusda chiziq yo‘q */
  border-bottom: 2px solid #0078ff; /* Fokusda chiroyli pastki chiziq */
}


.logo-wrap{display:flex;align-items:center;gap:12px}
.logo-img{width:56px;height:56px;object-fit:contain;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,0.08)}
.logo-fallback{font-size:2.2rem;background:linear-gradient(90deg,var(--accent1),var(--accent2)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; animation: float 3s ease-in-out infinite}

.site-title .brand{font-size:1.1rem;font-weight:700}
.site-title .tagline{font-size:0.85rem;color:var(--muted)}

.top-nav{display:flex;gap:10px}
.nav-btn{background:transparent;border:1px solid rgba(0,0,0,0.06);padding:10px 12px;border-radius:12px;cursor:pointer;font-weight:600}
.nav-btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(0,188,212,0.08)}

/* Hero */
.hero{max-width:1100px;margin:20px auto 0}
.hero h1{font-size:2.2rem;margin:10px 0;background:linear-gradient(90deg,var(--accent1),var(--accent2));-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero p{color:var(--muted);margin-bottom:18px}

.controls{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.controls select, .controls input[type="search"]{
  padding:12px 14px;border-radius:999px;border:none;box-shadow:0 6px 25px rgba(0,0,0,0.06);min-width:200px;outline:none
}
.controls input:focus, .controls select:focus{box-shadow:0 10px 35px rgba(0,188,212,0.15);transform:scale(1.02)}

/* Main content */
.main{max-width:1200px;margin:30px auto;padding:0 18px}

/* Services grid */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:22px;
  margin-bottom:40px;
}

.service-card{
  background:var(--glass);
  border-radius:var(--card-radius);
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  position:relative;
  overflow:hidden;
  transition:transform .35s ease,box-shadow .35s ease;
  display:flex;
  flex-direction:column;
  min-height:320px;
}

.service-card:hover{transform:translateY(-8px);box-shadow:0 18px 50px rgba(0,0,0,0.12)}
.service-media{
  height:150px;border-radius:12px;background:linear-gradient(135deg,rgba(0,188,212,0.12),rgba(0,150,136,0.08));display:flex;align-items:center;justify-content:center;margin-bottom:12px
}
.service-media img{width:100%;height:100%;object-fit:cover;border-radius:12px}

.service-title{font-weight:700;font-size:1.05rem;margin-bottom:6px}
.service-cat{font-size:0.85rem;color:var(--muted);margin-bottom:10px}
.service-price{font-weight:600;margin-bottom:12px;color:#0b6b5a}

body.dark .service-price{color: #fff;}

.card-actions{margin-top:auto;display:flex;gap:10px;align-items:center}
.btn{
  padding:10px 14px;border-radius:12px;border:none;cursor:pointer;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:8px
}
 .btn-primary{/*background:linear-gradient(90deg,var(--accent1),var(--accent2)); */
   background: linear-gradient(90deg, #0e3759, #0666c6);
  color:white}
.btn-outline{background:transparent;border:1px solid rgba(0,0,0,0.06);color:#333}

/* Reviews */
.reviews-section{max-width:1200px;margin:20px auto;padding:0 18px}
.reviews-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.review{background:white;padding:12px;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,0.04)}

/* About / Map */
.about{display:grid;grid-template-columns:1fr 340px;gap:20px;margin-top:30px}
.about-card{background:white;padding:20px;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.06)}
.map-card{background:white;padding:14px;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.06)}
.map-card iframe{width:100%;height:200px;border:0;border-radius:10px;}

/* Footer */
.footer{text-align:center;padding:18px;color:var(--muted);font-size:0.95rem;margin-top:30px;}

/* Modal */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.45);padding:20px;z-index:40}
.modal[aria-hidden="false"]{display:flex}
.modal-card{background:white;padding:18px;border-radius:14px;min-width:280px;max-width:420px;box-shadow:0 12px 40px rgba(0,0,0,0.25)}
.modal-card h3{margin-top:0}
.modal-card label{display:block;font-size:0.9rem;margin-bottom:8px}
.modal-card input,.modal-card textarea,.modal-card select{width:100%;padding:9px;border-radius:10px;border:1px solid #eee;margin-top:6px;margin-bottom:10px;outline:none}
.modal-actions{display:flex;gap:10px;justify-content:flex-end;align-items:center}
a.link-like{background:transparent;border:none;color:var(--accent1);text-decoration:underline;cursor:pointer;padding:0}

/* Small screens */
@media (max-width:800px){
  .header-top{flex-direction:column;align-items:stretch}
  .about{grid-template-columns:1fr}
  .controls{flex-direction:column;align-items:stretch}
}

/* small animation */
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}








/* FAQ va Xizmat Haqi Kalkulyatori

/* Grid: chap FAQ, o'ng kalkulyator */
.faq-calc-grid {
display: grid;
grid-template-columns: 1fr 360px;
gap: 30px;
margin-top: 50px;
}

/* Kartochka dizayni umumiy */
.card {
background: #ffffff;
border-radius: 16px;
padding: 24px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* FAQ bo'limi*/
.faq-item {
border-bottom: 1px solid #eee;
padding: 16px 0;
}
.faq-q {
background: none;
border: none;
padding: 0;
font-weight: 700;
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
cursor: pointer;
/* color: #0d6efd; */
font-size: 16px;
}
.faq-q:hover {
color: #0666c6;

}
.faq-q:focus {
outline: 2px solid rgba(12, 86, 197, 0.25);
border-radius: 6px;
}
.faq-a {
margin-top: 12px;
color: #555;
display: none;
line-height: 1.6;
font-size: 14px;
}
.faq-item.open .faq-a {
display: block;
}
.sign {
font-weight: 700;
color: #00bcd4;
transition: transform 0.3s ease;
}
.faq-item.open .sign {
transform: rotate(45deg);
}


/* =============================
FAQ ostidagi maxsus izoh uchun CSS
============================= */
.faq-note {
background: linear-gradient(90deg, #0e3759, #0666c6); /* Gradient fon */
color: #010101; /* Oq matn */
padding: 16px 20px; /* Ichki bo'sh joy */
border-radius: 12px; /* Yumaloq burchaklar */
font-size: 14px;
line-height: 1.6;
margin-top: 20px; /* Yuqoridan bo'sh joy */
box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Yengil shadow */
}
.faq-note p {
  color: #fff;
margin: 0 0 8px 0; /* Paragraflar orasidagi bo'sh joy */
}



/* Kalkulyator bo'limi*/
#calcCard {
background: #f8f9fa;
border-radius: 16px;
padding: 24px;
box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
#calcCard h3 {
color: #0666c6;
margin-bottom: 16px;
}
#cCardcal .muted {
color: #666;
font-size: 13px;
}
#calcCard input[type=number] {
width: 100%;
padding: 12px;
border-radius: 10px;
border: 1px solid #d1d5db;
margin-top: 10px;
font-size: 14px;
}
.price-row {
display: flex;
justify-content: space-between;
align-items: center;
margin: 12px 0;
font-size: 14px;
}
.total-row {
border-top: 1px dashed #ccc;
padding-top: 12px;
font-weight: 700;
}
.btns {
display: inline-block;
padding: 12px 16px;
/* background-color: #0d6efd; */
background: linear-gradient(90deg,var(--accent1),var(--accent2));;
color: #fff;
font-weight: 700;
border-radius: 12px;
border: none;
cursor: pointer;
transition: background 0.3s ease;
}
/* .btn:hover {
background-color: #00bcd4;
} */
.actions {
display: flex;
gap: 12px;
margin-top: 18px;
}

/* Responsive dizayn */
@media (max-width: 900px) {
.faq-calc-grid {
grid-template-columns: 1fr;
gap: 25px;
}
}



/* =============================
FAQ va Kalkulyator - Dark Mode Friendly ranglar va ramkalar
============================= */

/* Dark mode uchun faqat matn va ramkalar o'zgaradi */

body.dark .faq-q,
body.dark .faq-a,
body.dark .sign{
color: #ffffff; /* Matn rangini oq rangga o'zgartiramiz */
}

body.dark .faq-a{
  color: #c8c6c6;
}

body.dark .faq-q:hover{
color: #0666c6;
}

body.dark .faq-item {
border-color: #444; /* FAQ elementlarining pastki chizig'i qorayadi */
}

body.dark #calcCard {
background-color: rgba(30, 30, 30, 0.8);
border: 1px solid #555; /* Kalkulyator ramkasi qorayadi */
color: #f5f5f5; /* Ichidagi matn oq rangga o'zgaradi */
}
body.dark #faqCard {
background-color: rgba(30, 30, 30, 0.8);
}

body.dark #calcCard h3{
  color: #fff;
}

