/*
  contact-style.css — "დაგვიკავშირდით" გვერდის საკუთარი სტილები.
  იმეორებს ზუსტად იმავე ძირითად არქიტექტურას, რაც about-style.css-შია
  (page-wrap + canvas, 1920px ნატიური სიგანე, transform:scale() მასშტაბირება
  სიგანეზე, max-width:1200px + შავი letterbox ფართო ეკრანებზე, height:auto
  კანვასი, რომელსაც contact-script.js დინამიურად კითხულობს/სქეილავს).
  header/footer ბლოკები კონცეპტუალურად იდენტურია about.html-ის შესაბამის
  ბლოკებთან (იგივე ვიზუალი, იგივე hover/focus ქცევა), მხოლოდ კლასების
  სახელებია განზოგადებული (.site-* .about-* -ის ნაცვლად), რადგან ეს საერთო
  "chrome" ახლა მესამე გვერდზეც მეორდება. Marquee ბლოკი ამ გვერდზე განზრახ
  არ არის - ნავიგაციის ქვემოთ პირდაპირ hero მოსდევს.
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@400;500;600;700;800&display=swap');

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

html {
  background: #000;
}

body {
  width: 100%;
  background: #000;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--font-georgian, 'Noto Sans Georgian', 'Segoe UI', Arial, sans-serif);
}

/* ------------------------------------------------------------------ */
/* page-wrap / canvas - იგივე პრინციპი, რაც about.html-ზეა             */
/* ------------------------------------------------------------------ */

.page-wrap {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.canvas {
  position: relative;
  width: 100%;
  background: #0d0906;
}

/* ფოტოგრაფიული ფენების სიმკვეთრე დაპატარავებისას */
.header-layer,
.footer-layer,
.contact-hero {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimizeQuality;
}

/* ------------------------------------------------------------------ */
/* თავსართი (header) - იგივე ვიზუალი, რაც index.html/about.html-ზეა    */
/* ------------------------------------------------------------------ */

.site-header {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 150;
  overflow: hidden;
  z-index: 5;
}

.header-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% auto;
  pointer-events: none;
  user-select: none;
}

.ui-hotspots {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.nav-btn {
  position: absolute;
  display: block;
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease, box-shadow .18s ease, backdrop-filter .18s ease;
}

/* უხილავი, გაფართოებული "სათითაო ზონა" (hit-area) - თავად ვიზუალი
   (ui-menu.png-ში ჩაშენებული ტექსტი/აიქონი) არ იცვლება, უბრალოდ
   რეალურად "დაწკაპებადი" არე ოდნავ მეტია, ვიდრე თვალით ჩანს. მობილურ
   ეკრანებზე header/nav ღილაკები ბუნებრივად ძალიან პატარავდება (თხელი
   1920:150 პროპორციის გამო), რაც ზუსტ შეხებას ართულებდა - ეს
   აფართოებს ფაქტობრივ სამიზნეს მეზობელ ღილაკებთან შეჯახების გარეშე
   (მათ შორის მინიმუმ ~4px დაშორებაა). */
.nav-btn::after {
  content: '';
  position: absolute;
  inset: -4px -1.5px;
}

.nav-btn:hover {
  backdrop-filter: brightness(1.2) saturate(1.15);
  -webkit-backdrop-filter: brightness(1.2) saturate(1.15);
  box-shadow: 0 0 14px rgba(255, 175, 80, .55);
  transform: scale(1.06);
}

.nav-btn:active {
  backdrop-filter: brightness(0.9);
  -webkit-backdrop-filter: brightness(0.9);
  transform: scale(0.96);
}

.nav-btn:focus-visible {
  outline: 2px solid var(--color-gold, #d4af37);
  outline-offset: 3px;
}

.nav-btn--pill  { border-radius: 999px; }

/* .logo - ლოგოს ბმული, ვიზუალი უკვე დახატულია ui-logo.png-ში */
.nav-btn.logo {
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}

/*
  ფონური მუსიკის ღილაკის დესკტოპ-პოზიცია (>900px) - ლოგოსა (მთავრდება
  x=25.2083%-ზე) და პირველ ნავიგაციის ბმულს "მთავარი" (იწყება
  x=47.1875%-ზე) შორის თავისუფალ არეში, სიმეტრიულად ცენტრირებული
  (36.2%-ზე). y-კოორდინატი მიახლოებულია ნავიგაციის საკუთარ ზოლთან
  (top:68%/height:17.33%). ≤900px-ზე ეს წესი საერთოდ არ მოქმედებს -
  typography.css-ის ბაზისური position:fixed/მრგვალი წესი უცვლელად
  რჩება ძალაში.
*/
@media (min-width: 901px) {
  .bg-music-toggle {
    position: absolute;
    left: 29.2%;
    top: 66%;
    width: 14%;
    height: 20%;
    min-width: 100px;
    max-width: 160px;
    min-height: 30px;
    max-height: 46px;
    border-radius: 8px;
    padding: 0 14px;
  }
}

/* ------------------------------------------------------------------ */
/* Hero - shmagi111.png ფონი + გვერდის სათაური                          */
/* ------------------------------------------------------------------ */
/*
  shmagi111.png - ამ გვერდის საკუთარი hero ფონი. ნატიურად 1920x2344-ია
  (იმავე კონვენციით აშენებული, რაც desktop-bg11.png/about.html-ის hero-ს
  აქვს): სიგანით ზუსტად ემთხვევა კანვასის 1920px-ს, რეალური ფოტო-კონტენტი
  კონცენტრირებულია მხოლოდ ზედა ~690px-ში, დანარჩენი მთლიანად გამჭვირვალეა.
  background-size:1920px auto ნიშნავს ნატიურ, 1:1 მასშტაბს ყოველგვარი
  წელვის/დამახინჯების გარეშე; hero-ს ფიქსირებული 660px სიმაღლე +
  overflow:hidden უბრალოდ "ჭრის" იმას, რაც ამ ხილულ ჩარჩოს გარეთ რჩება.
*/
.contact-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 660;
  overflow: hidden;
  background-image: url('images/shmagi111.jpg');
  background-size: 100% auto;
  background-position: top left;
  z-index: 3;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 9, 6, .55) 0%, rgba(13, 9, 6, .45) 40%, rgba(13, 9, 6, .82) 100%);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 clamp(24px, 8vw, 100px);
}

/*
  hero-inner h1/hero-tagline - clamp()-ით ფლუიდურად სქეილირდება ეკრანის
  სიგანესთან ერთად (და არა ფიქსირებული breakpoint-ებით "ნახტომებით"),
  ისევე, როგორც საიტის დანარჩენი ნაწილი (% კოორდინატები/aspect-ratio)
  უკვე ფლუიდურია - ასე ტექსტი აღარასდროს გამოიყურება არაპროპორციულად
  დიდი/პატარა შუალედურ ეკრანის სიგანეებზეც (მაგ. 1280-1440px ლეპტოპები).
*/
.contact-hero-inner h1 {
  font-size: clamp(26px, 3.6vw, 56px);
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-gold, #d4af37);
  text-shadow: 0 6px 28px rgba(0, 0, 0, .45);
}

.hero-divider {
  width: 70px;
  height: 3px;
  margin: 24px 0;
  background: var(--color-gold, #d4af37);
  border-radius: 999px;
}

.hero-tagline {
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: .4px;
  color: var(--color-white, #fff);
}

@media (max-width: 480px) {
  .contact-hero { aspect-ratio: auto; min-height: 320px; }
  .hero-divider { width: 60px; height: 3px; margin: 16px 0; }
}

/* მობილური hero-ფოტო (≤768px) - დესკტოპზე background-image: shmagi111.png (ზემოთ) უცვლელია */
@media (max-width: 768px) {
  .contact-hero { background-image: url('images/mobile/contact.jpg'); }
}

/* ------------------------------------------------------------------ */
/* კონტენტი - იგივე "კუნძულების" ბადის სტანდარტი, რაც about.html-ზეა   */
/* (.content-col/.about-grid/.about-section ზუსტად იდენტური წესებია)   */
/* ------------------------------------------------------------------ */

.contact-content {
  position: relative;
  width: 100%;
  background: #0d0906;
  padding-top: 110px;
  z-index: 2;
}

.content-col {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.about-section {
  padding: 40px 48px;
  background: radial-gradient(120% 140% at 30% 20%, #2a1d10 0%, #17110a 55%, #0d0906 100%);
  border: 1px solid rgba(212, 175, 55, .22);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

/* ---- რუკის ბარათი - იგივე .about-section ვიზუალი, უბრალოდ padding:0, */
/* რომ რუკამ ბარათის კიდემდე აივსოს (ტექსტოვან ბარათს კი 52px 64px      */
/* padding უცვლელად რჩება) ---- */
.about-section.contact-map-card {
  display: flex;
  padding: 0;
  overflow: hidden;
}

.contact-map {
  width: 100%;
  min-height: 360px;
  flex: 1;
}

.contact-map #contact-map-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-kicker {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-gold, #d4af37);
}

.hero-divider--left {
  margin: 18px 0 36px;
}

.contact-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.contact-fields-grid .contact-field {
  margin-bottom: 0;
}

.contact-field:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #b89a78;
}

.contact-value {
  font-size: 23px;
  font-weight: 600;
  color: var(--color-white, #fff);
  text-decoration: none;
  line-height: 1.4;
  overflow-wrap: break-word;
}

a.contact-value:hover {
  color: var(--color-gold, #d4af37);
}

/* ---- responsive: იგივე breakpoint-ები, რაც about.html-ზეა ---- */

@media (max-width: 900px) {
  /* თავსართი აწეულია hero-ფოტოს თავზე (position:absolute) - იხ.
     typography.css-ის იგივე კომენტარი; override აქ სჭირდება (და არა
     მხოლოდ typography.css-ში), რადგან contact-style.css typography.css-ის
     მერე უკავშირდება <head>-ში და მისი უპირობო .site-header{position:
     relative} (ზემოთ) კასკადში მას სჯობნიდა. */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
  }

  .contact-content { padding-top: 70px; }
  .content-col { padding: 0 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-section { padding: 32px 36px; border-radius: 18px; }
  .contact-map { min-height: 280px; }
  .contact-kicker { font-size: 17px; }
  .contact-fields-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 32px; }
  .contact-fields-grid .contact-field:first-child { margin-bottom: 24px; }
}

@media (max-width: 480px) {
  .contact-content { padding-top: 48px; }
  .content-col { padding: 0 20px; }
  .about-grid { gap: 20px; }
  .about-section { padding: 24px 20px; border-radius: 14px; }
  .contact-map { min-height: 220px; }
  .contact-kicker { font-size: 15px; letter-spacing: 2px; }
  .hero-divider--left { margin: 14px 0 24px; }
  .contact-field { margin-bottom: 22px; gap: 6px; }
  .contact-fields-grid { margin-bottom: 22px; }
  .contact-fields-grid .contact-field:first-child { margin-bottom: 22px; }
  .contact-label { font-size: 13px; letter-spacing: 1px; }
  .contact-value { font-size: 18px; }
}

/* ------------------------------------------------------------------ */
/* ქვედა კვალი (footer) - იგივე, რაც about.html-ზეა                    */
/* ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 200;
  overflow: hidden;
  z-index: 1;
}

.footer-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% auto;
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner p {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--color-white, #fff);
  text-align: center;
}

@media (max-width: 480px) {
  .footer-inner { padding: 0 16px; }
  .footer-inner p { font-size: 13px; }
}
