﻿@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-color: #8f2bff;
  --accent-gold: #f3a51a;
  --text-color: #171823;
  --muted-text: #686b77;
  --bg-color: #f4f4f7;
  --surface-color: #ffffff;
  --surface-elevated: #fafafe;
  --border-color: #d7d2e7;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-bg-scrolled: rgba(246, 246, 251, 0.98);
  --shadow-soft: 0 10px 28px rgba(26, 20, 46, 0.08);
  --input-bg: #f7f7fc;
  --input-text: #171823;
  --spacing: 26px;
}

[data-theme="dark"] {
  --primary-color: #8f2bff;
  --accent-gold: #f3a51a;
  --text-color: #f5f6fb;
  --muted-text: #afb2c0;
  --bg-color: #06060a;
  --surface-color: #11111a;
  --surface-elevated: #171723;
  --border-color: #31274e;
  --header-bg: rgba(6, 6, 10, 0.9);
  --header-bg-scrolled: rgba(14, 14, 22, 0.97);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.45);
  --input-bg: #181824;
  --input-text: #f5f6fb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.page-title {
  margin-top: 42px;
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.page-note {
  margin-bottom: 28px;
  color: var(--muted-text);
  font-size: 18px;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.9;
}

.collections-homepage {
  margin-top: 60px;
}

.collections-homepage h1,
.rooms-section h1,
.map h1,
.about-us h1 {
  color: var(--text-color);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.product-cardd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.product-cardd a {
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  background: var(--surface-color);
  color: var(--primary-color);
  border-radius: 7px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 30px;
}

.product-cardd a:hover {
  background: var(--primary-color);
  color: white;
}

.product-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.product-card a {
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  background: var(--surface-color);
  color: var(--primary-color);
  border-radius: 7px;
  cursor: pointer;
  transition: 0.3s;
  margin-bottom: 30px;
}

.product-card a:hover {
  background: var(--primary-color);
  color: white;
}

.add-to-cart {
  margin-bottom: 2px;
}

.custom-slider > li {
  width: 500px;
}

.uk-slidenav {
  color: white;
  background: var(--primary-color);
  border-radius: 40%;
  padding: 9px;
}

.collections-more {
  text-align: center;
  margin-top: 60px;
}

.collections-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--primary-color);
  border-radius: 7px;
  transition: 0.3s;
  color: var(--primary-color);
}

.collections-btn:hover {
  background: var(--primary-color);
  color: white;
}





.product-card,
.product-cardd {
  width: 100%;
  height: 520px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.product-card h3,
.product-cardd h3 {
  color: var(--text-color);
}

.product-card p,
.product-cardd p {
  color: var(--muted-text);
}
.product-cardd .factory-country {
  margin-top: -6px;
  font-size: 15px;
}

.product-card img,
.product-cardd img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}



.scroll-top {
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: var(--primary-color);
  color: #fff;

  font-size: 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  opacity: 0;
  pointer-events: none;

  transform: translateY(20px);

  transition: 0.3s;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-gold);
  color: #111;
}


footer {
  margin-top: 56px;
  padding: 20px 0 10px;
  background: var(--surface-elevated);
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  width: 150px;
  max-width: 100%;
}

.contacts-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
}

.contact-role,
.contact-phone {
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  transition: 0.3s;
}

.contact-role {
  padding-right: 22px;
  border-right: 1px solid var(--border-color);
}

.contact-phone {
  padding-left: 22px;
  white-space: nowrap;
}

.contact-role:hover,
.contact-phone:hover {
  color: var(--accent-gold);
}

.schedule {
  font-size: 14px;
  color: var(--muted-text);
  white-space: nowrap;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-self: end;
}

.social-icons a {
  color: var(--text-color);
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--accent-gold);
}

.copy {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted-text);
}


.map-contant {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 40px;
}

.addresses {
  list-style: none;
  padding: 0;
  max-width: 400px;
}

.addresses h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--text-color);
}

.addresses li {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.addresses li::before {
  content: "📍";
  position: absolute;
  left: 0;
}

.branch-schedule {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted-text);
}

.map-contant iframe {
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
}

.map a {
  color: var(--accent-gold);
}


.about-us {
  padding: 60px 20px;
}

.about-p {
  display: flex;
  align-items: center;
  gap: 100px;
  margin-top: 40px;
}

.about-p img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-p p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted-text);
}

.advices {
  margin-top: 60px;
  margin-bottom: 60px;
}

.advices {
  padding: 0 1% 80px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advices > div {
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.adv h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.adv ul {
  list-style: square;
  padding-left: 20px;
}

.adv li {
  margin-bottom: 10px;
  font-size: 14px;
}
.adv p {
  margin-bottom: 30px;
  font-size: 14px;
}
.adv p:last-child {
  margin-bottom: 0;
}

.advices a {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-color);
}

.advices a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.advices > div:hover {
  transform: translateY(-5px);
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.factory {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 50px;
}

.factory-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow-soft);
}

.factory-top {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 20px;
}

.factory-cover {
  width: 100%;
  max-width: 420px;
  flex: 0 0 420px;
}

.factory-cover img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.factory-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.logo-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-header img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0;
}

.factory-headings h2 {
  font-size: 22px;
  margin: 0;
}

.factory-country-page {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted-text);
}

.factory-info > p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-text);
  margin: 0;
}

.factory-item iframe {
  width: 100%;
  height: 600px;
  border-radius: 8px;
  border: none;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.slide.active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.65);
}

.hero-dot.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
  transform: scale(1.08);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
  z-index: 2;
}

.overlay h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 18px;
}

section:not(.hero):not(.about-us) {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 60px;
  margin-bottom: 60px;
}




