@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --color-orange: #ea580c;
  --color-orange-light: #f97316;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #1f2937;
}

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

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

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

/* Smooth Underline on Links */
a {
  text-decoration: none;
}

header nav a {
  position: relative;
  display: inline-block;
}

header nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* Button Hover Effect */
button, .btn {
  transition: all 0.3s ease;
}

/* Section Scroll Reveal */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: slideUp 0.6s ease-out forwards;
}

section:nth-child(1) {
  animation-delay: 0s;
}

section:nth-child(n+2) {
  opacity: 1;
  animation: none;
}

/* Grain Overlay Subtle */
.grain {
  position: relative;
}

.grain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise"/></filter><rect width="100" height="100" fill="transparent" filter="url(%23noise)"/></svg>');
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Image Hover Zoom */
img {
  transition: transform 0.3s ease;
}

.group img {
  will-change: transform;
}

.group:hover img {
  transform: scale(1.05);
}

/* Mobile Menu Animations */
#mobileMenu {
  transition: opacity 0.3s ease;
}

#mobileMenu.hidden {
  opacity: 0;
  pointer-events: none;
}

#mobileMenu:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}

/* Marquee Style (if needed for later) */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

/* Focus States for Accessibility */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1), 0 0 0 3px rgba(234, 88, 12, 0.2);
}

/* Smooth Gradient Background */
.bg-gradient-orange {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-light) 100%);
}

/* Card Shadow Depth */
.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d94a0c;
}

/* Print Styles */
@media print {
  header, footer {
    display: none;
  }
}

