:root {
  --primary-color: #0a0a0a;
  --secondary-color: #f8f8f8;
  --accent-color: #ff4848;
  --accent-color-rgb: 255, 72, 72;
  --text-color: #333333;
  --light-gray: #e0e0e0;
  --dark-gray: #444444;
  --transition-speed: 0.3s;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
  color: inherit;
}

.ololo {
  color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.section-dark h2 {
  color: var(--secondary-color);
}

.section-dark p {
  color: var(--secondary-color);
}

header {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-color);
}

.logo-diamond {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  transform: rotate(45deg);
  margin-right: 10px;
  transition: transform 0.4s ease, background-color 0.3s ease;
}

.logo:hover .logo-diamond {
  transform: rotate(225deg);
  background-color: var(--primary-color);
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
}

.nav-desktop li {
  margin-left: 2rem;
  position: relative;
  perspective: 800px;
}

.nav-desktop a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-desktop a::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -5px;
  right: -5px;
  height: 0;
  background-color: rgba(var(--accent-color-rgb), 0.09);
  z-index: -1;
  transition: height 0.3s ease;
  border-radius: 4px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease, left 0.3s ease;
  transform-origin: center;
}

.nav-desktop a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.nav-desktop a:hover::before {
  height: calc(100% + 4px);
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 0;
  left: 0;
}

.nav-desktop a.active {
  color: var(--accent-color);
}

.nav-desktop a.active::before {
  height: calc(100% + 4px);
}

.nav-mobile {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  position: absolute;
  transition: all var(--transition-speed) ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 9px;
}

.hamburger span:nth-child(3) {
  top: 18px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-small {
  height: 60vh;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.86) 0%,
    rgba(10, 10, 10, 0.78) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
  font-size: 4rem;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(var(--accent-color-rgb), 0.8);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  margin-top: 10px;
}

.section-dark .btn-outline {
  color: var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: all var(--transition-speed) ease;
}

.section-dark .feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--secondary-color);
}

.section-dark .feature-card h3 {
  color: var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--secondary-color);
  transform: translateY(100%);
  transition: transform var(--transition-speed) ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 2rem;
  padding: 2rem 0;
}

.testimonial-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  scroll-snap-align: start;
  min-width: 300px;
  flex: 1 0 300px;
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.section-dark .testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--secondary-color);
}

.section-dark .testimonial-card h3,
.section-dark .testimonial-name,
.section-dark .testimonial-position,
.section-dark .testimonial-text {
  color: var(--secondary-color);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-position {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

.section-dark .testimonial-position {
  color: var(--light-gray);
}

.testimonial-text {
  font-style: italic;
}

.testimonial-rating {
  color: var(--accent-color);
  margin-top: 1rem;
}

.contact-form {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  transition: border-color var(--transition-speed) ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.diamond-cursor {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><text x="0" y="16" font-size="16">💎</text></svg>'),
    auto;
}

.diamond-shape {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  transform: rotate(45deg);
  background: linear-gradient(
    135deg,
    rgba(var(--accent-color-rgb), 0.7) 0%,
    var(--accent-color) 50%,
    rgba(var(--accent-color-rgb), 0.8) 100%
  );
  box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.3);
}

.diamond-shape::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(45deg);
}

.diamond-divider {
  height: 4px;
  width: 100px;
  margin: 2rem auto;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
}

.shimmer-text {
  position: relative;
  display: inline-block;
  color: var(--accent-color);
  overflow: hidden;
}

.shimmer-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.parallax-section {
  position: relative;
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.floating-diamonds {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
}

.floating-diamond {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: rgba(var(--accent-color-rgb), 0.2);
  transform: rotate(45deg);
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(405deg);
    opacity: 0;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1000;
    padding: 5rem 2rem 2rem;
    transition: right var(--transition-speed) ease;
    overflow-y: auto;
  }

  .nav-mobile.active {
    right: 0;
  }

  .nav-mobile ul {
    list-style: none;
  }

  .nav-mobile li {
    margin-bottom: 1.5rem;
  }

  .nav-mobile a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }

  .nav-mobile a:hover {
    color: var(--accent-color);
  }

  .nav-mobile a:hover::before {
    left: -20px;
    opacity: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 2rem;
  }

  .scroll-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero {
    height: 90vh;
  }

  .section {
    padding: 3rem 0;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .gallery-item {
    height: 250px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.slide-up {
  animation: slideUp 1s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 1s ease forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

.nav-mobile a {
  color: var(--secondary-color);
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.nav-mobile a::before {
  content: "◆";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: left 0.3s ease, opacity 0.3s ease;
  color: var(--accent-color);
  font-size: 0.8rem;
}

.nav-mobile a:hover {
  color: var(--accent-color);
}

.nav-mobile a:hover::before {
  left: -20px;
  opacity: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top:hover {
  background-color: var(--accent-color);
  transform: translateY(0) scale(1.05);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  transition: transform 0.3s ease;
}

.scroll-top:hover svg {
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

.section-dark .form-label {
  color: var(--secondary-color);
}

.section-dark .form-input {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--secondary-color);
}

.section-dark .form-input:focus {
  border-color: var(--accent-color);
}
