/* global.css */

:root {
  /* Fonts */
  --font-main: 'Bebas Neue', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  --primary: #0057A3;   /* deep steel blue */
  --primary-dark: #003366; 
  --accent: #FFC107;    /* gold */
  --accent-dark: #FF9800;
  --neutral: #F5F5F5;   /* light background */

}

html {
  scroll-behavior: smooth;
}

/* global.css continued */

body {
  font-family: var(--font-main);
  color: var(--primary-dark); /* A standard dark color for text */
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
}

h3 {
  color: var(--color-gray-500);
}

/* Base button styles */
.btn {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 500;
  padding: 10px 20px; /* Equivalent to py-3 px-6 */
  border: none;
  border-radius: 4px; /* Rectangular shape with slightly rounded corners */
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.btn-cta {
  background-color: white;
  color: var(--primary);
  /* color: white; */
}
.btn-cta:hover {
  background-color: var(--accent); /* A slightly darker orange for hover */
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background-color: var(--accent);
  border: 2px solid white;
  color: white;
}

/* Link styles */
.navbar-link {
    font-size:x-large;
    color: var(--primary-dark);
    transition: color 0.2s ease-in-out;
}

.navbar-link:hover {
  font-weight: 700;
    color: var(--accent);
}

.navbar-link.active {
  color: var(--accent);
  font-weight: 700;
}

.dropdown-link-active {
  color: var(--accent);
  font-weight: 700;
}

.font-secondary {
  font-family: var(--font-secondary);
}

.footer-link {
  transition: color 0.2s ease-in-out;
}

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

/* Social Media Icons */
.social-icon {
  transition: color 0.2s ease-in-out;
}

.hover\:text-facebook:hover {
  color: #1877F2; /* Facebook Blue */
}

.hover\:text-instagram:hover {
  color: #E4405F; /* Instagram Pink */
}

.hover\:text-twitter:hover {
  color: #1DA1F2; /* Twitter Blue */
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 2rem; /* 32px */
  right: 2rem; /* 32px */
  background-color: var(--primary);
  color: white;
  width: 3rem; /* 48px */
  height: 3rem; /* 48px */
  border-radius: 9999px; /* full */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  border: 5px solid rgba(0, 87, 163, 0.2); /* Light primary color */
  border-left-color: var(--primary); /* Full primary color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.filter-btn { /* Increased padding, text size, added subtle shadow */
  @apply px-6 py-2 text-base font-semibold rounded-full transition-all duration-300 ease-in-out shadow-sm;
}

.filter-btn.active { /* Stronger shadow for active state */
  @apply bg-primary text-white shadow-md;
}

.filter-btn:not(.active) { /* Outline style, hover effect */
  @apply bg-transparent border border-primary-dark text-primary-dark hover:bg-primary hover:text-white hover:border-primary;
}
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
