/* css/style.css — QARES.GE Design */

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

:root {
  --gold:    #A07040;
  --gold-light: #C49060;
  --gold-dark:  #7A5530;
  --brown:   #5C3D1E;
  --text:    #333333;
  --text-light: #666;
  --bg:      #FFFFFF;
  --bg-light: #FDF8F4;
  --bg-dark:  #F5EDE3;
  --border:  #E8D8C8;
  --shadow:  0 4px 20px rgba(160,112,64,0.12);
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ========= TOP BAR ========= */
.top-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.top-bar span { color: var(--text-light); }
.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-links a {
  color: var(--text-light);
  font-size: 13px;
  transition: color .2s;
}
.top-links a:hover { color: var(--gold); }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gold);
  transition: all .2s;
}
.social-icons a:hover { background: var(--gold); color: #fff; }

/* ========= HEADER ========= */
.main-header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 52px; height: 52px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  clip-path: polygon(10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%, 0% 10%);
}
.logo-text {
  display: flex; flex-direction: column;
}
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 2px; text-transform: uppercase; }
.logo-main {
  font-size: 30px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 3px;
  line-height: 1;
}

/* Header info */
.header-info {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-item > i {
  width: 38px; height: 38px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}
.info-item > div {
  display: flex; flex-direction: column;
}
.info-item strong { font-size: 13px; color: var(--brown); }
.info-item span { font-size: 12px; color: var(--text-light); }

/* ========= NAVIGATION ========= */
.main-nav {
  background: var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav .container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-menu {
  display: flex;
  flex: 1;
}
.nav-menu a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s;
}
.nav-menu a:hover, .nav-menu li.active a {
  background: rgba(0,0,0,0.15);
}
.nav-btn {
  background: var(--brown);
  color: #fff !important;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
  margin-left: auto;
  transition: background .2s;
}
.nav-btn:hover { background: #3d2510; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 10px;
}

/* ========= HERO ========= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #3d2510 0%, #7A5530 50%, #A07040 100%);
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.04)"/></svg>');
}
.hero .container {
  flex: 1;
  position: relative;
  padding-top: 80px;
  padding-bottom: 40px;
}
.hero-content { max-width: 600px; }
.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }

/* Stats bar */
.hero-stats {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stats-row {
  display: flex;
  divide: solid;
}
.stat {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 28px; font-weight: 700; color: #fff; }
.stat span:last-child { font-size: 12px; color: rgba(255,255,255,0.7); }

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .25s;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.full-width { width: 100%; justify-content: center; }

/* ========= SECTIONS ========= */
.section { padding: 70px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title.left { text-align: left; }
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}
.title-line {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 0 auto;
}
.section-title.left .title-line { margin: 0; }

/* ========= SERVICES ========= */
.services-section { background: var(--bg-light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 25px;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: 26px;
  transition: all .3s;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.service-card h3 { font-size: 16px; color: var(--brown); margin-bottom: 10px; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; margin-bottom: 15px; }
.service-link { font-size: 13px; color: var(--gold); font-weight: 600; transition: gap .2s; }
.service-link:hover { color: var(--gold-dark); }

/* ========= WHY US ========= */
.why-us { padding: 70px 0; background: #fff; }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-img-placeholder {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-light));
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 80px;
}
.why-content p { color: var(--text-light); margin-bottom: 25px; line-height: 1.8; }
.why-list { margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.why-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.why-list i { color: var(--gold); }

/* ========= GALLERY ========= */
.gallery-section { background: var(--bg-light); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.gallery-placeholder {
  grid-column: 1/-1;
  height: 200px;
  border: 2px dashed var(--border);
  border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 14px;
}
.gallery-placeholder i { font-size: 40px; color: var(--border); }

/* ========= NEWS ========= */
.news-section { background: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .3s;
}
.news-card:hover { box-shadow: var(--shadow); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--gold); font-weight: 600; }
.news-body h4 { margin: 8px 0; font-size: 15px; color: var(--brown); }
.news-body p { font-size: 13px; color: var(--text-light); }

/* ========= CONTACT ========= */
.contact-section {
  background: linear-gradient(135deg, #3d2510, #7A5530);
  padding: 70px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info .section-title h2 { color: #fff; }
.contact-info .title-line { background: rgba(255,255,255,0.5); }
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 15px;
}
.contact-item i {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}
.contact-item > div { display: flex; flex-direction: column; }
.contact-item strong { color: #fff; font-size: 14px; }
.contact-item span { color: rgba(255,255,255,0.7); font-size: 13px; }

/* Form */
.contact-form-wrap { background: #fff; border-radius: 8px; padding: 35px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-light);
  transition: border .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.contact-form textarea { resize: vertical; }
.alert-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}

/* ========= FOOTER ========= */
.main-footer { background: #1a0d05; color: rgba(255,255,255,0.7); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 15px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col p { font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { margin-bottom: 8px; font-size: 13px; }
.footer-col p i { color: var(--gold); margin-right: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
}

/* ========= RESPONSIVE ========= */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; }
  .why-img-placeholder { height: 260px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .header-info { display: none; }
}

@media (max-width: 768px) {
  .top-bar .container { flex-direction: column; text-align: center; gap: 8px; }
  .hamburger { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--gold-dark);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .main-nav .container { position: relative; flex-wrap: wrap; }
  .hero-content h1 { font-size: 28px; }
  .stats-row { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; }
  .services-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title h2 { font-size: 24px; }
}

/* ========= SLIDER ========= */
#heroSlider {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}
.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3d2510 0%, #7A5530 50%, #A07040 100%);
  background-size: cover;
  background-position: center;
  flex-direction: column;
  min-height: 500px;
}
.hero-slide.active {
  display: flex;
  position: relative;
  flex: 1;
}
.hero-slide .hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
.hero-slide .container {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-top: 80px;
  padding-bottom: 40px;
}
.slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background .3s;
}
.slider-dot.active { background: #A07040; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  z-index: 10;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: #A07040; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ========= GALLERY ITEMS ========= */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,13,5,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .3s;
  color: #fff;
}
.gallery-overlay i { font-size: 28px; color: #A07040; }
.gallery-overlay span { font-size: 13px; text-align: center; padding: 0 10px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
