/* Webon theme overrides (Bootstrap 5) */
:root{
  --brand: #2e8bed;
  --brand-600: #1f74cf;
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 16px;
}

html, body{
  height: 100%;
}

body{
  background:
    radial-gradient(1100px 700px at 8% 0%, rgba(46,139,237,0.18) 0%, transparent 55%),
    radial-gradient(900px 600px at 92% 8%, rgba(99,102,241,0.16) 0%, transparent 52%),
    radial-gradient(900px 600px at 78% 92%, rgba(34,197,94,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #fbfdff 0%, #f6f8fc 52%, #f4f7ff 100%);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure the "overall background" is always visible */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(46,139,237,0.16), transparent 60%),
    radial-gradient(900px 500px at 80% 20%, rgba(99,102,241,0.12), transparent 58%),
    radial-gradient(900px 500px at 70% 90%, rgba(34,197,94,0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 55%, #f6f8fc 100%);
}

/* Keep text readable on modern screens */
p{
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

a{
  text-decoration: none;
}

/* Make containers feel less cramped on large screens */
.container{
  max-width: 1140px;
}

/* Header / navigation */
.navbar{
  padding: 0;
}

.teksmenyu{
  font-size: 13px;
  letter-spacing: .03em;
  font-weight: 700;
}

.teksmenyu .nav-link{
  color: var(--ink) !important;
  padding: .75rem .9rem;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.teksmenyu .nav-link:hover,
.teksmenyu .nav-link:focus{
  background: rgba(46,139,237,0.12);
  color: var(--brand-600) !important;
  transform: translateY(-1px);
}

.buutonmenyu{
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(46,139,237,0.25);
}
.buutonmenyu:hover{
  background: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
}

/* Hero (main page top section) */
.hero-section{
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: .75rem;
}

.hero-section + .tekslayde{
  margin-top: .75rem;
}

.slayderrasm img{
  border-radius: 0;
  box-shadow: none;
}

.tekslayde h2{
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: .6rem;
}

.tekslayde{
  padding: 1rem 0;
}

/* Section titles */
#ssilka1 h2,
#ssilka2 h2,
.tekslayde2{
  font-size: clamp(20px, 2vw, 30px);
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

/* Cards (used in shortstory.tpl / custom blocks) */
.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(46,139,237,0.25);
}
.card-img-top{
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-title{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.card-text{
  color: var(--muted);
}

/* Buttons: keep Bootstrap, but make primary more "brand" */
.btn-primary{
  background: linear-gradient(180deg, var(--brand), var(--brand-600));
  border-color: rgba(0,0,0,0);
  border-radius: 999px;
  padding: .6rem 1rem;
  box-shadow: 0 10px 24px rgba(46,139,237,0.25);
}
.btn-primary:hover,
.btn-primary:focus{
  filter: brightness(1.03);
  box-shadow: 0 14px 34px rgba(46,139,237,0.28);
}

/* Footer */
.footer{
  margin-top: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  color: rgba(255,255,255,0.90);
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(255,255,255,0.10), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #0a1630 55%, #081226 100%);
}

/* Service illustrations: no border/frame, consistent sizing */
.service-illus{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.rowfooter{
  font-family: var(--bs-font-sans-serif);
}

.footerrasm{
  width: 110px;
}

.fotermenyucha{
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
  opacity: .95;
}
.fotermenyucha:hover{
  text-decoration: underline;
  opacity: 1;
}

/* Modern footer styles (new markup) */
.footer-top{
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.footer-brand img{
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.25));
}

.footer-text{
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.7;
}

.footer-title{
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  margin-bottom: .75rem;
}

.footer-links{
  display: grid;
  gap: .45rem;
}
.footer-links a{
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  padding: .1rem 0;
}
.footer-links a:hover{
  color: #ffffff;
  text-decoration: none;
}

.footer-social{
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.footer-social-btn{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.footer-social-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.22);
}

.footer-widget{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: .75rem;
}

.footer-meta{
  display: grid;
  gap: .7rem;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}
.footer-meta-row{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .6rem;
  align-items: start;
}
.footer-meta-row i{
  opacity: .95;
  margin-top: .15rem;
}
.footer-meta a{
  color: rgba(255,255,255,0.90);
  text-decoration: none;
}
.footer-meta a:hover{
  text-decoration: underline;
}

.footer-bottom{
  padding-top: 1rem;
}
.footer-bottom-inner{
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-small{
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

/* Contact / feedback page */
.contact-page .contact-card{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
  padding: 1.1rem 1.1rem;
  backdrop-filter: blur(10px);
}

.contact-page .contact-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: .9rem;
}

.contact-page .contact-meta{
  display: grid;
  gap: .8rem;
  color: var(--muted);
  font-size: 14px;
}
.contact-page .contact-meta-row{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: .65rem;
  align-items: start;
}
.contact-page .contact-meta-row i{
  color: rgba(15, 23, 42, 0.70);
  margin-top: .2rem;
}
.contact-page .contact-meta a{
  color: var(--ink);
  text-decoration: none;
}
.contact-page .contact-meta a:hover{
  text-decoration: underline;
}

.contact-page .form-label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
  margin-bottom: .35rem;
}
.contact-page .form-control{
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: .68rem .85rem;
  box-shadow: 0 1px 0 rgba(2,6,23,0.02);
}
.contact-page .form-control:focus{
  border-color: rgba(46,139,237,0.45);
  box-shadow: 0 0 0 .22rem rgba(46,139,237,0.14);
}

.contact-page .contact-recipient select,
.contact-page .contact-recipient{
  width: 100%;
}
.contact-page .contact-recipient select{
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding: .68rem .85rem;
  background: rgba(255,255,255,0.85);
}
.contact-page .contact-recipient select:focus{
  outline: none;
  border-color: rgba(46,139,237,0.45);
  box-shadow: 0 0 0 .22rem rgba(46,139,237,0.14);
}

.contact-page .contact-captcha{
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: .75rem;
}
.contact-page .contact-code{
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255,255,255,0.9);
  padding: .6rem;
  text-align: center;
}

.contact-page .contact-map{
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.06);
}

/* Legacy placeholders (kept if used somewhere) */
.test2, .test3, .test4{
  width: 100%;
}
.test2{ height: 40px; }
.test3{ height: 100px; }
.test4{ height: 82px; }
