/* Import Poppins from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===============================
   Global Font Setup
================================= */
html {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  scroll-behavior: smooth;
}

body {
  font-family: inherit;
  color: #1f2937;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===============================
   Font Utility Classes
================================= */
.font-serif,
.font-sans {
  font-family: 'Poppins', sans-serif !important;
}

/* ===============================
   Hero Section Animations
================================= */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1) translateZ(0);
    }
    100% {
        transform: scale(1.1) translateZ(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1.2s ease-out;
}

.animate-slide-in-left {
    animation: slide-in-left 1s ease-out;
}

.animate-slide-in-right {
    animation: slide-in-right 1s ease-out 0.2s both;
}

.animate-gradient-x {
    background-size: 200% 200%;
    animation: gradient-x 3s ease infinite;
}

.animate-spin-slow {
    animation: spin-slow 3s linear infinite;
}

.hero-image {
    animation: kenburns 20s ease-in-out infinite alternate;
}

/* ===============================
   Floating Particles
================================= */
.particle {
    position: absolute;
    background: rgba(255, 154, 0, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.particle-4 {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 70%;
    animation-delay: 1.5s;
}

.particle-5 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    animation-delay: 0.5s;
}

@media (max-width: 768px) {
    .particle {
        display: none;
    }
}

/* ===============================
   Hero Section Gradient
================================= */
.hero-gradient {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

/* ===============================
   Card Hover Effects
================================= */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* ===============================
   Navbar Scroll Styles
================================= */
.nav-scroll {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

#navbar.nav-scroll a,
#navbar.nav-scroll button {
  color: #1f2937;
}

#navbar.nav-scroll a:hover {
  color: #FF9A00;
}

#navbar.nav-scroll a.text-\[\#FF9A00\] {
  color: #FF9A00 !important;
}

/* ===============================
   Logo Sizes (Responsive)
================================= */
.logo-img {
  height: 2.5rem; /* Default (mobile) */
  transition: height 0.3s ease;
}

@media (min-width: 768px) {
  .logo-img {
    height: 3rem; /* Medium screens */
  }
}

@media (min-width: 1024px) {
  .logo-img {
    height: 3.25rem; /* Large screens */
  }
}

@media (min-width: 1280px) {
  .logo-img {
    height: 3.5rem; /* Extra-large screens */
  }
}

/* ===============================
   Parallax Effect
================================= */
@media (min-width: 768px) {
    section:first-child .absolute.inset-0 {
        will-change: transform;
    }
}

/* Gallery Page Styles */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.95) translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

.gallery-item {
    animation: fadeIn 0.5s ease-out forwards;
}

.filter-button.active {
    background-color: #FF9A00;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 154, 0, 0.3);
}

#lightbox {
    animation: fadeIn 0.3s ease-out;
}