/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --dark-blue: #0d1b2a;
  --gold: #c5a059;
  --gold-hover: #d4b373;
  --white: #ffffff;
  --text-gray: #a0a0a0;
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--primary-black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

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

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-black);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.container-loader {
  --uib-size: 37px;
  --uib-color: var(--gold);
  --uib-speed: 0.9s;
  --uib-bg-opacity: 0.1;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  overflow: visible;
}

.car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 15, 85;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: travel var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.track {
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}

@keyframes travel {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 100;
  }
}

/* Navbar Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  opacity: 0.7;
}

.nav-links a:hover {
  color: var(--gold);
  opacity: 1;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

.lang-switcher button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition-smooth);
  padding: 0.2rem 0.5rem;
}

.lang-switcher button.active {
  opacity: 1;
  color: var(--gold);
  font-weight: 600;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop")
      center/cover no-repeat;
  position: relative;
}

.hero-content {
  max-width: 900px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: var(--gold);
  color: var(--primary-black);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Sections General */
.section {
  padding: 8rem 0;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

/* About Section */
.about {
  background: var(--dark-gray);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 4rem;
  max-width: 800px;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.mvv-item h3 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Services Grid */
.services {
  background: var(--primary-black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--dark-gray);
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: var(--dark-blue);
  border-color: var(--gold);
  transform: translateY(-10px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* History & Partners */
.history {
  background: var(--dark-blue);
  color: var(--white);
}

.history-content h2,
.partners-content h2 {
  color: var(--gold);
}

.history-content p,
.partners-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-top: 2rem;
}

.partners {
  background: var(--dark-gray);
}

/* Contact Section */
.contact {
  background: var(--primary-black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info .info-item {
  margin-bottom: 2.5rem;
}

.info-item h4 {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.info-item p {
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: var(--dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.btn-submit {
  padding: 1.2rem;
  background: var(--gold);
  color: var(--primary-black);
  border: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background: var(--gold-hover);
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--primary-black);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-gray);
}

.dev-credit {
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.dev-credit:hover {
  opacity: 1;
}

.dev-credit a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.dev-credit a:hover {
  text-decoration: underline;
}

/* Reveal Animation Class */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    display: none; /* Mobile menu logic to be added in JS */
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

/* Custom styles for mobile menu if needed */
.mobile-menu-active .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--primary-black);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gold);
}
