/* Hatay Defterdarlığı Arsuz Eğitim ve Dinlenme Tesisleri CSS System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-navy: #27799F;
  --primary-navy-dark: #1B5773;
  --ocean-blue: #27799F;
  --turquoise-accent: #B2DFE5;
  --sea-light: #B2DFE5;
  --gold-warm: #E63453;
  --gold-hover: #C82542;
  --bg-light: #F8FAFC;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #CBD5E1;
  --card-shadow: 0 10px 30px rgba(39, 121, 159, 0.1);
  --hover-shadow: 0 15px 35px rgba(230, 52, 83, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary-navy);
}

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

/* Header & Topbar */
.topbar {
  background: #B2DFE5;
  color: #1B5773;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(39, 121, 159, 0.2);
}

.topbar a {
  color: #1B5773;
  transition: var(--transition);
}

.topbar a:hover {
  color: var(--gold-warm);
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
}

.topbar-info span {
  margin-right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(39, 121, 159, 0.08);
  border-bottom: 3px solid var(--gold-warm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px !important;
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-navy-dark), var(--primary-navy));
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(39, 121, 159, 0.3);
  border: 2px solid var(--gold-warm);
}

.logo-img {
  height: 60px;
  max-height: 75px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
}

.logo-text h1 {
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.2;
  color: var(--primary-navy);
  font-weight: 800;
  letter-spacing: -0.2px;
}

.logo-text span {
  font-size: 0.84rem;
  color: #27799F;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
}

/* Mobile Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: var(--primary-navy);
  color: #FFF;
  border: 1px solid var(--gold-warm);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-left: auto;
}

.mobile-menu-toggle:hover {
  background: var(--gold-warm);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--primary-navy);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-warm);
  background: rgba(178, 223, 229, 0.25);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFF;
  min-width: 230px;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-sm);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
  color: var(--text-dark);
}

.dropdown-item:hover {
  background: var(--sea-light);
  color: var(--primary-navy);
}

.btn-header-cta {
  background: linear-gradient(135deg, #E63453, #C82542);
  color: #FFF !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(230, 52, 83, 0.35);
  font-weight: 700 !important;
  white-space: nowrap;
  font-size: 0.94rem !important;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 52, 83, 0.45);
}

/* Layout Container */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Hero Section & Container-Width Slider */
.hero-wrapper {
  padding: 35px 0 25px 0;
  background: var(--bg-light);
}

.hero-slider-card {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(39, 121, 159, 0.18);
  border: 1px solid var(--border-color);
  background: var(--primary-navy);
}

.hero-slides-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.03);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
  color: #FFF;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-inner {
  max-width: 850px;
  margin: 0 auto;
  z-index: 3;
}

.hero-slide-title {
  color: #FFF;
  font-size: 2.6rem;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-slide-subtitle {
  font-size: 1.2rem;
  color: #E2F4F7;
  margin: 0 auto 32px auto;
  max-width: 720px;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-slide-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Nav Buttons */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFF;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.slider-nav-btn:hover {
  background: var(--gold-warm);
  border-color: var(--gold-warm);
  color: #FFF;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(230, 52, 83, 0.4);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

/* Slider Pagination Dots */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 16px;
  border-radius: 30px;
  backdrop-filter: blur(6px);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover, .slider-dot.active {
  background: var(--gold-warm);
  width: 28px;
  border-radius: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, #E63453, #C82542);
  color: #FFF;
  box-shadow: 0 6px 20px rgba(230, 52, 83, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F04563, #E63453);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 52, 83, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: #FFF;
  color: var(--primary-navy);
  border-color: #FFF;
  transform: translateY(-3px);
}

/* Feature Cards Grid */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #27799F, #E63453);
}

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

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--sea-light);
  color: var(--primary-navy);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px auto;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

/* Period Table Styling */
.period-table-wrapper {
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 30px;
  overflow-x: auto;
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: var(--primary-navy);
  color: #FFF;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.custom-table tr:hover {
  background: rgba(178, 223, 229, 0.15);
}

/* Form Styling */
.form-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: 40px;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-navy);
  font-size: 0.95rem;
}

.form-control, .form-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: #FAFAFA;
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-navy);
  background-color: #FFF;
  box-shadow: 0 0 0 3px rgba(39, 121, 159, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Status Badges */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-beklemede {
  background: #FEF3C7;
  color: #D97706;
}

.badge-onaylandi {
  background: #D1FAE5;
  color: #059669;
}

.badge-reddedildi {
  background: #FEE2E2;
  color: #DC2626;
}

.badge-iptal_edildi {
  background: #F3F4F6;
  color: #4B5563;
}

/* Alert Boxes */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 25px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.alert-danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-warning {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.alert-info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

/* Gallery & Blog Cards */
.gallery-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.blog-card a {
  display: block;
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.blog-body {
  padding: 24px;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-navy);
}

.blog-title a {
  color: var(--primary-navy);
  transition: var(--transition);
}

.blog-title a:hover {
  color: var(--gold-warm);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

/* Blog Rich Content Styling */
.blog-rich-content h1, 
.blog-rich-content h2, 
.blog-rich-content h3, 
.blog-rich-content h4 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--primary-navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.blog-rich-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.blog-rich-content ul, 
.blog-rich-content ol {
  margin-bottom: 20px;
  padding-left: 28px;
}

.blog-rich-content li {
  margin-bottom: 6px;
}

.blog-rich-content blockquote {
  border-left: 4px solid var(--primary-navy);
  padding: 14px 20px;
  background: rgba(178, 223, 229, 0.25);
  margin: 20px 0;
  font-style: italic;
  border-radius: 0 10px 10px 0;
  color: var(--primary-navy-dark);
}

.blog-rich-content a {
  color: var(--gold-warm);
  text-decoration: underline;
  font-weight: 600;
}

.blog-rich-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 15px 0;
}

/* Gallery Category Filter Tabs */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  background: #FFF;
  color: var(--primary-navy);
  border: 2px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab:hover {
  border-color: var(--primary-navy);
  color: var(--primary-navy-dark);
  transform: translateY(-2px);
}

.gallery-tab.active {
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-dark));
  color: #FFF;
  border-color: var(--primary-navy);
  box-shadow: 0 6px 20px rgba(39, 121, 159, 0.3);
}

/* Gallery Card Clean Styling (No Titles) */
.gallery-item-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #27799F;
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item-card:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.gallery-item-card .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(39, 121, 159, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  color: #E63453;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 87, 115, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-btn:hover {
  background: #E63453;
  border-color: #E63453;
  color: #FFF;
  transform: scale(1.1);
}

.lightbox-close {
  top: -60px;
  right: 0;
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* Footer */
footer {
  background: var(--primary-navy-dark);
  color: #E2E8F0;
  padding: 60px 0 30px 0;
  border-top: 4px solid var(--gold-warm);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #FFF;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gold-warm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--turquoise-accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ------------------------------------------------------------- */
/* MEDIA QUERIES FOR COMPREHENSIVE MOBILE RESPONSIVENESS         */
/* ------------------------------------------------------------- */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 6px 8px;
  }
  .btn-header-cta {
    padding: 8px 14px !important;
    font-size: 0.88rem !important;
  }
}

@media (max-width: 992px) {
  .topbar {
    display: none !important;
  }

  .topbar-container {
    padding: 0 20px;
  }

  .header-container {
    padding: 14px 20px !important;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .logo-img {
    height: 52px;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text span {
    font-size: 0.72rem;
  }

  .main-nav {
    position: static;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFF;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    box-shadow: 0 15px 35px rgba(39, 121, 159, 0.2);
    border-top: 2px solid var(--gold-warm);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1050;
  }

  .nav-menu.active {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    padding: 15px 20px 20px 20px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 1rem;
    border-radius: 0;
  }

  .btn-header-cta {
    margin-top: 12px;
    text-align: center;
    display: block !important;
    padding: 12px 20px !important;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F8FAFC;
    border-radius: var(--radius-sm);
    margin: 5px 0 10px 10px;
    display: none;
    padding: 5px 0;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .form-card {
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-grid, .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .topbar-actions-custom {
    display: none !important;
  }

  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-close {
    top: -50px;
    right: 10px;
  }

  .hero-section {
    padding: 60px 0 80px 0;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .period-table-wrapper {
    padding: 15px;
  }

  .custom-table th, .custom-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .topbar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .topbar-info span {
    display: block;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .logo-text h1 {
    font-size: 0.92rem;
  }

  .logo-text span {
    font-size: 0.68rem;
  }

  .hero-content h2 {
    font-size: 1.6rem;
  }
}

/* Official Printable EK-1 Form Styles */
@media print {
  body {
    background: #FFF !important;
    color: #000 !important;
  }
  .topbar, .main-header, footer, .btn-print-hide {
    display: none !important;
  }
  .printable-form {
    border: 2px solid #000 !important;
    box-shadow: none !important;
    padding: 20px !important;
  }
}
