@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@300;400;600;800&display=swap');

:root {
  --bg-color: #050505;
  --text-main: #ffffff;
  --text-muted: #888888;
  --accent: #D4AF37; /* Brass/Gold */
  --card-bg: rgba(255, 255, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }

body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: 0.04;
  background-image: url('assets/img/noise.png'); /* надо скачать нормальный шум */
}

.cursor {
  width: 10px; height: 10px; background: white; border-radius: 50%;
  position: fixed; pointer-events: none; z-index: 10000;
  top: 0; left: 0; transform: translate(-50%, -50%);
  mix-blend-mode: difference; /* Inverts color of whatever is under it */
  transition: width 0.3s, height 0.3s, opacity 0.2s;
}
.cursor.active { width: 40px; height: 40px; }

.text-wrap { overflow: hidden; }
.test-box { display: none !important; } /* убрать потом */

/* Navbar */
.navbar {
  position: fixed; top: 0; width: 100%; padding: 30px 50px;
  display: flex; justify-content: space-between; align-items: center; z-index: 100;
  mix-blend-mode: difference;
}
.nav-brand { font-family: 'Anton', sans-serif; font-size: 24px; letter-spacing: 2px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { text-decoration: none; color: white; font-weight: 600; text-transform: uppercase; font-size: 14px; position: relative; overflow: hidden;}
.nav-links a::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; transition: 0.3s;
}
.nav-links a:hover { color: transparent; }
.nav-links a:hover::after { top: 0; color: white; }

/* Floating Button */
.floating-btn {
  position: fixed; bottom: 40px; right: 40px; width: 120px; height: 120px;
  background: var(--text-main); color: var(--bg-color); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  font-weight: 800; font-size: 12px; text-align: center; line-height: 1.2;
  z-index: 90; transition: transform 0.4s cubic-bezier(0.3, 1, 0.3, 1);
}
.floating-btn:hover { transform: scale(1.1) rotate(15deg); background: var(--accent); }

/* Hero */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(100%) contrast(1.2); }
.hero-overlay { position: absolute; inset: 0; background: rgba(5,5,5,0.7); }
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; padding: 0 20px; }
.hero-title { font-family: 'Anton', sans-serif; font-size: clamp(60px, 10vw, 160px); line-height: 1; letter-spacing: -2px; margin-bottom: 20px; color: var(--text-main); }
.hero-subtitle { font-size: clamp(12px, 1.2vw, 18px); font-weight: 600; letter-spacing: 4px; margin-bottom: 60px; color: var(--accent); }

/* Social Squares */
.social-squares { display: flex; justify-content: center; gap: 15px; }
.square-link {
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; transition: 0.4s; backdrop-filter: blur(10px);
}
.square-link img, .square-link svg { width: 24px; height: 24px; filter: invert(1); }
.square-link:hover { background: var(--text-main); transform: translateY(-10px); }
.square-link:hover img, .square-link:hover svg { filter: invert(0); fill: black;}

/* marquee */
.marquee-container { padding: 30px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; overflow: hidden; background: #000; }
.marquee-text { white-space: nowrap; font-family: 'Anton', sans-serif; font-size: 60px; letter-spacing: 4px; color: transparent; -webkit-text-stroke: 1px var(--text-muted); width: max-content; }

/* Split Section */
.split-section { display: flex; min-height: 70vh; border-bottom: 1px solid #222;}
.split-left { flex: 1; padding: 80px 5%; display: flex; flex-direction: column; justify-content: center; }
.split-left h2 { font-family: 'Anton', sans-serif; font-size: clamp(30px, 4vw, 55px); line-height: 1.1; margin-bottom: 30px; text-transform: uppercase; }
.split-left p { font-size: 16px; color: var(--text-muted); max-width: 600px; line-height: 1.8; }
.split-right { flex: 1; overflow: hidden; position: relative; }
.parallax-img { position: absolute; inset: -20% 0; background-size: cover; background-position: center; filter: grayscale(100%); }

/* Services Glass */
.services { padding: 100px 0; }
.section-title { font-family: 'Anton', sans-serif; font-size: clamp(40px, 5vw, 75px); text-transform: uppercase; margin-bottom: 60px; }
.section-title.center { text-align: center; }

.price-glass-container { max-width: 900px; margin: 0 auto; background: var(--card-bg); padding: 50px; border-radius: 30px; backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.05); }
.price-item { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.price-item:last-child { border-bottom: none; }
.price-item:hover { color: var(--accent); padding-left: 20px; }
.price-name { font-weight: 600; white-space: nowrap; }
.price-line { flex: 1; height: 1px; background: rgba(255,255,255,0.1); margin: 0 30px; }
.price-val { font-family: 'Anton', sans-serif; font-size: 22px; }
.price-item.highlight { color: var(--accent); }

/* Center Contact Widget */
.contact-widget-center { text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.widget-title { font-family: 'Anton', sans-serif; font-size: 24px; letter-spacing: 2px; margin-bottom: 20px; color: var(--text-muted); }

/* карточки акций */
.offers { padding: 50px 0 100px; }
.cards-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.hover-card { position: relative; height: 500px; border-radius: 20px; overflow: hidden; cursor: none;}
.card-img { position: absolute; inset: 0; background-size: cover; background-position: center 10%; filter: grayscale(100%); transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s; }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.hover-card:hover .card-img { transform: scale(1.1); filter: grayscale(0%); }
.card-overlay h3 { font-family: 'Anton', sans-serif; font-size: 32px; margin-bottom: 15px; text-transform: uppercase; line-height: 1; }
.card-overlay p { color: var(--text-muted); margin-bottom: 30px; font-size: 14px; }
.card-btn { display: inline-block; padding: 15px 30px; border: 1px solid white; border-radius: 50px; text-transform: uppercase; font-size: 12px; font-weight: 800; transition: 0.3s; width: max-content; text-decoration: none; color: white;}
.hover-card:hover .card-btn { background: white; color: black; }

/* Map & Socials */
.map-section { padding: 50px 0 100px; }
.social-banners { display: flex; gap: 20px; justify-content: center; margin-bottom: 50px; flex-wrap: wrap; }
.soc-banner {
  flex: 1; max-width: 400px; padding: 20px; text-align: center; text-decoration: none;
  font-weight: 800; font-size: 16px; border-radius: 12px; transition: 0.3s;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: var(--card-bg); color: var(--text-main); border: 1px solid rgba(255,255,255,0.05);
}
.soc-banner:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
.disclaimer { font-size: 10px; font-weight: 400; opacity: 0.5; color: var(--text-muted); }
.map-container { position: relative; width: 100%; height: 400px; background: #111; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.map-iframe-wrapper { position: absolute; inset: 0; pointer-events: none; }
.map-overlay-link { position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); opacity: 0; transition: 0.3s; color: white; font-family: 'Anton', sans-serif; font-size: 24px; text-decoration: none; letter-spacing: 2px; }
.map-container:hover .map-overlay-link { opacity: 1; background: rgba(0,0,0,0.6); }

/* подвал */
.mega-footer { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.footer-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(100%); }
.footer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.8); }
.footer-content { position: relative; z-index: 2; }
.mega-footer h2 { font-size: 16px; letter-spacing: 5px; color: var(--accent); margin-bottom: 20px; font-weight: 800;}
.huge-phone { display: block; font-family: 'Anton', sans-serif; font-size: clamp(30px, 6vw, 90px); color: white; text-decoration: none; margin-bottom: 20px; transition: 0.3s; }
.huge-phone:hover { color: var(--accent); transform: scale(1.05); }

@media (max-width: 768px) {
  .split-section { flex-direction: column; }
  .split-right { height: 400px; }
  .cards-wrapper { grid-template-columns: 1fr; }
  .floating-btn { width: 80px; height: 80px; bottom: 20px; right: 20px; font-size: 10px; }
  .nav-links { display: none; }
  .price-glass-container { padding: 30px; }
  .price-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .price-line { display: none; }
  .cursor { display: none !important; }
}




@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: clamp(80px, 10vw, 150px);
  }
  .split-section {
    grid-template-columns: 1fr;
    height: auto;
  }
  .split-left {
    padding: 60px 5%;
  }
  .split-right {
    height: 50vh;
  }
  .cards-wrapper {
    gap: 20px;
  }
  .hover-card {
    height: 400px;
  }
}


@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .cards-wrapper {
    grid-template-columns: 1fr;
  }
  .social-banners {
    flex-direction: column;
  }
  .soc-banner {
    width: 100%;
    text-align: center;
  }
}



/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
