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

:root {
  --primary-color: #d4a574;
  --secondary-color: #2c3e50;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Loading and Error States */
.loading, .error, .no-services {
  text-align: center;
  padding: 2rem;
  color: var(--text-color);
  font-size: 1.1rem;
}

.loading {
  color: var(--primary-color);
}

.error {
  color: #e74c3c;
}

.no-services {
  color: #7f8c8d;
}

/* Service Card Link Styles */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

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

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

/* Header Styles */
header {
  background-color: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.navbar {
  padding: 1.5rem 0;
  min-height: 80px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  font-family: "Dancing Script", cursive;
  font-style: normal;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--white), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: rgba(255, 255, 255, 0.8);
}

.logo:hover::after {
  opacity: 1;
}

.logo:hover {
  transform: scale(1.05);
  color: var(--primary-color);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 300;
  transition: color 0.3s ease;
  font-family: "Inter", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: 0.3s;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile menu removed - using JavaScript-based menu */

/* Hero Section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.5) 100%
    );
  background-size: cover;
  -webkit-background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
  margin-top: -80px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
  position: relative;
  display: inline-block;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--primary-color);
  transform: translateY(-50%);
}

.hero-subtitle::before {
  left: -60px;
}

.hero-subtitle::after {
  right: -60px;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.1;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.perm-highlight {
  color: var(--primary-color);
  font-weight: bold;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 165, 116, 0.5);
}

.hero-content p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c4955f 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease 0.6s;
  animation-fill-mode: both;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4),
    0 0 20px rgba(212, 165, 116, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: linear-gradient(135deg, #c4955f 0%, var(--primary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 165, 116, 0.5),
    0 0 30px rgba(212, 165, 116, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  animation: fadeInUp 1.5s ease 1.2s;
  animation-fill-mode: both;
  width: 100%;
}

.scroll-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  animation: pulse 2s ease-in-out infinite;
  text-align: center;
  width: 100%;
  display: block;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%,
  20% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(15px);
    opacity: 0;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

/* Footer */
footer {
  background-color: var(--white);
  color: var(--text-color);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--light-gray);
}

footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
