/* NeoBrillance - Custom Styles */

/* ========================================
   CSS Custom Properties (Color Palette)
   ======================================== */
:root {
  --color-gold: #B69345;
  --color-gold-light: #d4ad52;
  --color-gold-dark: #96792e;
  --color-red: #863626;
  --color-red-light: #a84535;
  --color-red-dark: #6b2b1e;
  --color-cream: #ECE5C0;
  --color-cream-dark: #d9d0a8;
  --color-black: #000000;
  --color-black-light: #1a1a1a;
  --color-black-lighter: #2d2d2d;
}

/* ========================================
   Base Styles
   ======================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--color-black);
  color: var(--color-cream);
}

/* ========================================
   Typography
   ======================================== */
.font-display {
  font-family: 'Playfair Display', serif;
}

/* ========================================
   Navigation Styles
   ======================================== */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-gold);
}

/* Navigation scroll state */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger animation */
.hamburger span {
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(182, 147, 69, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* ========================================
   Service Cards
   ======================================== */
.service-card {
  background: linear-gradient(145deg, var(--color-black-light) 0%, var(--color-black) 100%);
  border: 1px solid rgba(182, 147, 69, 0.2);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-red) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-black);
}

/* ========================================
   Page Headers
   ======================================== */
.page-header {
  background: linear-gradient(135deg, var(--color-black) 0%, var(--color-black-light) 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red), var(--color-gold));
}

/* ========================================
   Section Styles
   ======================================== */
.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-red) 100%);
  margin: 1rem auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: linear-gradient(180deg, var(--color-black-light) 0%, var(--color-black) 100%);
  border-top: 1px solid rgba(182, 147, 69, 0.2);
}

.footer-link {
  color: var(--color-cream);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-gold);
}

/* ========================================
   Form Styles
   ======================================== */
.form-input {
  background-color: var(--color-black-lighter);
  border: 1px solid rgba(182, 147, 69, 0.3);
  color: var(--color-cream);
  padding: 0.875rem 1rem;
  border-radius: 4px;
  width: 100%;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(182, 147, 69, 0.1);
}

.form-input::placeholder {
  color: rgba(236, 229, 192, 0.5);
}

.form-label {
  color: var(--color-cream);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

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

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

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

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

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

/* Animation classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

/* Stagger animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Initially hidden for animation */
.animate-on-scroll {
  opacity: 0;
}

.animate-on-scroll.animated {
  opacity: 1;
}

/* ========================================
   Info Cards (About page)
   ======================================== */
.info-card {
  background: linear-gradient(145deg, var(--color-black-light) 0%, var(--color-black) 100%);
  border: 1px solid rgba(182, 147, 69, 0.15);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

/* ========================================
   Service Detail Cards (Services page)
   ======================================== */
.service-detail {
  background: linear-gradient(145deg, var(--color-black-light) 0%, rgba(26, 26, 26, 0.8) 100%);
  border: 1px solid rgba(182, 147, 69, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.service-detail:hover {
  border-color: var(--color-gold);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.service-detail-header {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  padding: 1.5rem 2rem;
}

.service-detail-body {
  padding: 2rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--color-black-light) 0%, var(--color-black) 50%, var(--color-black-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gold {
  color: var(--color-gold);
}

.text-cream {
  color: var(--color-cream);
}

.text-red {
  color: var(--color-red);
}

.bg-gold {
  background-color: var(--color-gold);
}

.border-gold {
  border-color: var(--color-gold);
}

/* Gold gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-cream) 50%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .page-header {
    padding: 6rem 0 3rem;
  }
}

