/* ================================
   INTERCLUBS DEL ESTRECHO
   Estilos principales
================================ */

/* Variables CSS */
:root {
  --navy: #1a365d;
  --navy-light: #2c4a7c;
  --navy-dark: #0f2744;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --red-accent: #dc2626;
  --red-hover: #b91c1c;
  --gold: #d4a539;
  --gold-light: #e6c06a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --transition: all 0.3s ease;
}

/* Reset y base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--off-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ================================
   HEADER
================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-top {
  background-color: var(--navy);
  padding: 0.5rem 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.social-links a:hover {
  color: var(--white);
}

.private-zone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.private-zone-link:hover {
  color: var(--white);
}

.header-main {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 56px;
  width: auto;
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    gap: 0.25rem;
  }
}

.main-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
}

.main-nav a:hover {
  background-color: rgba(26, 54, 93, 0.1);
}

.main-nav a.active {
  background-color: var(--navy);
  color: var(--white);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  position: relative;
  transition: var(--transition);
}

.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: var(--transition);
}

.mobile-menu-btn span::before {
  top: -7px;
}

.mobile-menu-btn span::after {
  top: 7px;
}

.mobile-menu-btn.active span {
  background-color: transparent;
}

.mobile-menu-btn.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-btn.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav-header img {
  height: 48px;
  width: auto;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-nav a:hover {
  background-color: rgba(26, 54, 93, 0.1);
}

.mobile-nav a.active {
  background-color: var(--navy);
  color: var(--white);
}

.mobile-nav .private-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--red-accent);
  color: var(--white);
  font-weight: 600;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================================
   HERO SLIDER
================================ */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slider {
    height: 600px;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 54, 93, 0.4), rgba(26, 54, 93, 0.7));
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  padding: 1rem;
  width: 100%;
  max-width: 800px;
}

.slide-content h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .slide-content h1 {
    font-size: 3.5rem;
  }
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.slide-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 576px) {
  .slide-buttons {
    flex-direction: row;
  }
}

/* Slider Navigation */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slider-arrow.prev {
  left: 1rem;
}

.slider-arrow.next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots button.active {
  background: var(--white);
}

/* ================================
   SPONSORS BANNER
================================ */
.sponsors-banner {
  background-color: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.sponsors-banner h3 {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.sponsors-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sponsors-list {
    gap: 3rem;
  }
}

.sponsors-list a {
  transition: transform 0.3s ease;
}

.sponsors-list a:hover {
  transform: scale(1.05);
}

.sponsors-list img {
  height: 48px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

@media (min-width: 768px) {
  .sponsors-list img {
    height: 64px;
  }
}

.sponsors-list a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--red-accent);
  color: var(--white);
  border-color: var(--red-accent);
}

.btn-primary:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
}

.btn-secondary {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ================================
   SECTIONS
================================ */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--red-accent);
  margin: 1rem auto 0;
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red-accent);
  font-weight: 600;
  margin-top: 2rem;
}

.section-link:hover {
  color: var(--red-hover);
}

/* ================================
   CARDS
================================ */
.card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-date {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.card-title a:hover {
  color: var(--red-accent);
}

.card-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-100);
}

/* News Card */
.news-card .card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--red-accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius);
}

/* Regatta Card */
.regatta-card .card-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius);
}

.regatta-card .card-status.open {
  background-color: #10b981;
  color: var(--white);
}

.regatta-card .card-status.soon {
  background-color: var(--gold);
  color: var(--navy);
}

.regatta-card .card-status.closed {
  background-color: var(--gray-400);
  color: var(--white);
}

.regatta-card .card-status.finished {
  background-color: var(--navy);
  color: var(--white);
}

.regatta-card .card-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.regatta-card .card-info span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Gallery Card */
.gallery-card .card-image {
  height: 250px;
}

.gallery-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
}

.gallery-card .card-overlay h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.gallery-card .card-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
}

.gallery-card .photo-count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--white);
  font-size: 0.75rem;
  border-radius: var(--radius);
}

/* ================================
   GRID LAYOUTS
================================ */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ================================
   PAGINATION
================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background-color: var(--white);
  transition: var(--transition);
}

.pagination a:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-400);
}

.pagination span.current {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination span.disabled {
  color: var(--gray-400);
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================
   FOOTER
================================ */
.footer {
  background-color: var(--navy);
  color: var(--white);
}

.footer-clubs {
  background-color: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.footer-clubs h3 {
  text-align: center;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.clubs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.clubs-list img {
  height: 48px;
  width: auto;
  filter: grayscale(100%);
  transition: var(--transition);
}

.clubs-list img:hover {
  filter: grayscale(0%);
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-top: 0.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--navy-light);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--red-accent);
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--navy-light);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-legal {
    gap: 1.5rem;
  }
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover {
  color: var(--white);
}

/* ================================
   COOKIE BANNER
================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--navy);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-banner .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.cookie-banner p {
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cookie-banner p {
    text-align: left;
  }
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner a:hover {
  color: var(--gold-light);
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

/* ================================
   LIGHTBOX
================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--white);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  color: var(--white);
}

.lightbox-arrow.prev {
  left: 1rem;
}

.lightbox-arrow.next {
  right: 1rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ================================
   GALLERY GRID (THUMBNAILS)
================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.1);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 54, 93, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gallery-thumb:hover .gallery-thumb-overlay {
  background-color: rgba(26, 54, 93, 0.4);
}

.gallery-thumb-overlay i {
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.gallery-thumb:hover .gallery-thumb-overlay i {
  opacity: 1;
  transform: scale(1);
}

/* ================================
   FORMS
================================ */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-check input[type="checkbox"] {
  margin-top: 0.25rem;
}

/* ================================
   TABS
================================ */
.tabs {
  margin-bottom: 2rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 0;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.tab-content {
  display: none;
  padding-top: 1.5rem;
}

.tab-content.active {
  display: block;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.category-pill {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  background-color: var(--gray-100);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover {
  background-color: var(--gray-200);
}

.category-pill.active {
  background-color: var(--navy);
  color: var(--white);
}

/* ================================
   TABLES
================================ */
.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.table th {
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
}

.table tbody tr:hover {
  background-color: var(--gray-100);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* ================================
   BREADCRUMB
================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.breadcrumb a {
  color: var(--gray-600);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb span {
  color: var(--gray-400);
}

/* ================================
   PAGE HEADER
================================ */
.page-header {
  background-color: var(--navy);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

/* ================================
   EMPTY STATE
================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state i {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-500);
}

/* ================================
   UTILITIES
================================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}

@media (min-width: 768px) {
  .d-md-none {
    display: none;
  }
  .d-md-block {
    display: block;
  }
  .d-md-flex {
    display: flex;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Grid Utilities */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
