/* File: /styles/main.scss */

$gold: #d4af37;
$black: #000000;
$gray-dark: #1a1a1a;
$gray-light: #333;
$white: #ffffff;
$font-family: 'Playfair Display', serif;

body {
  font-family: $font-family;
  background-color: $black;
  color: $gold;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  color: lighten($gold, 20%);
  font-size: 1.1rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: $gray-dark;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 999;

  .logo {
    font-size: 2.75rem;
    letter-spacing: 2px;
    background: linear-gradient(120deg, $gold, lighten($gold, 20%), $gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease-in-out infinite;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;

    li a {
      color: $gold;
      text-decoration: none;
      font-weight: 600;
      position: relative;

      &::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -3px;
        left: 0;
        background-color: $gold;
        transition: 0.3s ease;
      }

      &:hover::after {
        width: 100%;
      }
    }
  }
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;

  .service {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    color: $gold;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease-in-out;

    &:hover {
      transform: translateY(-5px) scale(1.03);
      box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: $black;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  &::before {
    content: "TCH";
    font-family: $font-family;
    font-size: 3rem;
    color: $gold;
    animation: pulse 1.8s ease-in-out infinite;
  }
}

footer {
  padding: 2.5rem 1rem;
  background-color: $gray-dark;
  text-align: center;
  font-size: 0.9rem;

  .footer-links a {
    color: $gold;
    margin: 0 1rem;
    text-decoration: none;
    transition: opacity 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }
}

@keyframes shimmer {
  0% { background-position: -200%; }
  100% { background-position: 200%; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ReCAPTCHA adjustments */
.g-recaptcha {
  margin: 1rem auto;
  display: inline-block;
}