:root {
  --color-primary: #b45309;
  --color-dark: #111827;
  --color-light: #f3f4f6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #111827;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

/* Smooth scroll behavior for all links */
a[href^="#"] {
  transition: color 0.3s ease;
}

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

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

/* Gradient Text Hover */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Smooth transitions on buttons */
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
  transform: translateY(-2px);
}

/* Form inputs focus state */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

/* Smooth menu transitions */
#mobileMenu {
  transition: all 0.3s ease;
}

/* Card hover effects */
.hover\:shadow-xl {
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Preserve visibility during animations */
@keyframes reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Marquee style for news section */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(to right, #f3f4f6, #ffffff, #f3f4f6);
}

/* Custom underline animation */
a.underline-animate {
  position: relative;
  text-decoration: none;
}

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

a.underline-animate:hover::after {
  width: 100%;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scroll reveal on section load */
section {
  position: relative;
}

/* Navigation sticky behavior */
nav {
  z-index: 50;
}

/* Form styling */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

/* Image optimization */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Utility for smooth transitions */
.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced button styling */
.btn-primary {
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mobile menu animations */
@media (max-width: 768px) {
  #mobileMenu {
    animation: slideDown 0.3s ease-out;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility - reduce motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

