/* =====================================================
   KOLPING TIMOR-LESTE — MAIN STYLESHEET
   Colors: Orange #F47920 | Black #1A1A1A | White #FFF
   ===================================================== */

/* 1. VARIABLES & RESET */
:root {
  --orange:       #F47920;
  --orange-dark:  #D4660A;
  --orange-light: #FFA84D;
  --black:        #1A1A1A;
  --dark:         #2D2D2D;
  --white:        #FFFFFF;
  --light:        #F8F8F8;
  --gray:         #888888;
  --border:       #E0E0E0;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(244,121,32,0.22);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   all 0.35s ease;
  --max-width:    1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* ANNOUNCEMENT BAR */
#announcementBar {
  display: none;
  position: relative;
  width: 100%;
  z-index: 1001;
  background: var(--orange-dark);
  color: #fff;
  font-size: 0.88rem;
}

/* Large image banner (when banner has an image) */
.ann-img-wrap {
  position: relative; width: 100%; min-height: 220px; overflow: hidden;
}
.ann-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s ease;
}
.ann-slide.active { opacity: 1; pointer-events: auto; }
.ann-dots {
  position: absolute; bottom: 10px; left: 0; right: 0; z-index: 4;
  display: flex; justify-content: center; gap: 8px;
}
.ann-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.2s;
}
.ann-dot.active { background: #fff; }
.ann-dot:hover { background: rgba(255,255,255,0.8); }

/* ADS */
.sidebar-ad { padding: 1rem; }
.ad-block + .ad-block { margin-top: 1rem; }
.ad-block img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.ad-text-block {
  background: var(--light); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; text-align: center; font-weight: 600; color: #555;
}
.ad-block { position: relative; overflow: hidden; border-radius: var(--radius); }
.ad-caption {
  font-size: 0.85rem; font-weight: 600; color: #444;
  padding: 0.5rem 0.2rem 0; line-height: 1.4;
}
.ad-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius); overflow: hidden; }
.ad-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* POPUP AD — small floating corner box */
.ad-popup {
  position: fixed; z-index: 10051;
  width: 300px; max-width: calc(100vw - 32px);
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.32);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.ad-popup.open { opacity: 1; pointer-events: auto; transform: translate(0, 0); }
/* Corner anchors + slide-in start offset */
.ad-popup-bottom-right { bottom: 20px; right: 20px; transform: translateY(24px); }
.ad-popup-bottom-left  { bottom: 20px; left: 20px;  transform: translateY(24px); }
.ad-popup-top-right    { top: 90px;    right: 20px; transform: translateY(-24px); }
.ad-popup-top-left     { top: 90px;    left: 20px;  transform: translateY(-24px); }
.ad-popup img { width: 100%; height: auto; display: block; }
.ad-popup-text { padding: 1.2rem; text-align: center; font-weight: 600; font-size: 0.98rem; }
.ad-popup-close {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: none; color: #fff;
  font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.ad-popup-close:hover { background: var(--orange); }
.ann-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.ann-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.25) 100%);
}
.ann-content {
  position: relative; z-index: 2; color: #fff;
  padding: 2rem 1.5rem;
}
.ann-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 0.35rem; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.ann-subtitle {
  font-size: 1rem; font-weight: 600; opacity: 1; margin-bottom: 1rem;
  color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,0.75);
  letter-spacing: 0.02em;
}
.ann-img-close {
  position: absolute; top: 10px; right: 12px; z-index: 3;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 30px; height: 30px; border-radius: 50%;
  font-size: 0.9rem; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ann-img-close:hover { background: var(--orange); border-color: var(--orange); }

/* Text-only bar (when banner has no image) */
.announcement-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.55rem 3.5rem 0.55rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.announcement-text { flex: 1; font-weight: 500; }
.announcement-cta {
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.5);
  color: #fff; padding: 0.2rem 0.8rem; border-radius: 20px; font-size: 0.82rem;
  white-space: nowrap; transition: background 0.2s;
}
.announcement-cta:hover { background: rgba(255,255,255,0.35); }
.announcement-close {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.8);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.announcement-close:hover { color: #fff; }

/* FEATURED BANNER SECTION (homepage, below hero) */
#bannerSection { display: none; position: relative; overflow: hidden; }
.banner-feat-bg {
  position: relative; min-height: 220px;
  display: flex; align-items: center;
  background: var(--orange-dark);
}
.banner-feat-bg.has-photo { min-height: 280px; }
.banner-feat-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; z-index: 0;
}
.banner-feat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 40%, rgba(0,0,0,0.3));
  z-index: 1;
}
.banner-feat-inner {
  position: relative; z-index: 2; width: 100%;
  padding: 3rem 0;
}
.banner-feat-content {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.banner-feat-text { flex: 1; color: #fff; min-width: 220px; }
.banner-feat-tag {
  display: inline-block; background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
  padding: 0.2rem 0.85rem; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; margin-bottom: 0.75rem;
}
.banner-feat-title {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 0.5rem;
}
.banner-feat-subtitle { font-size: 1rem; opacity: 0.88; max-width: 560px; }
.banner-feat-cta { flex-shrink: 0; }
.banner-feat-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 34px; height: 34px; border-radius: 50%;
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.banner-feat-close:hover { background: rgba(255,255,255,0.3); }
@media (max-width: 600px) {
  .banner-feat-content { flex-direction: column; align-items: flex-start; }
  .banner-feat-title { font-size: 1.3rem; }
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; color: #555; }
p:last-child { margin-bottom: 0; }

.text-orange  { color: var(--orange); }
.text-white   { color: var(--white); }
.text-center  { text-align: center; }

/* 3. LAYOUT */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 80px 0; }
.bg-light { background: var(--light); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p { color: var(--gray); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: rgba(244,121,32,0.12);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* 4. BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* 5. NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.35s ease, padding 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  background: var(--black);
  padding: 0.6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 12px 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}
.nav-logo:hover { box-shadow: 0 4px 16px rgba(244,121,32,0.3); }
.logo-img { height: 40px; width: auto; display: block; }
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.52rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--orange-dark);
  line-height: 1;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--orange);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--orange-light); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }
.nav-cta { padding: 10px 24px; font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D1500 50%, #F47920 100%);
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(26,26,26,0.92) 0%, rgba(26,26,26,0.75) 60%, rgba(244,121,32,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding-top: 80px;
}
.hero-tag {
  display: inline-block;
  background: rgba(244,121,32,0.25);
  border: 1px solid rgba(244,121,32,0.5);
  color: var(--orange-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
}
.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll a {
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  transition: var(--transition);
}
.hero-scroll a:hover { color: var(--orange); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* 7. TWO-COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.col-text h2 { margin-bottom: 1.2rem; }
.col-text p  { margin-bottom: 1rem; }

.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.image-card.no-image {
  height: 420px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
}
.image-badge i { color: var(--orange); font-size: 1.2rem; }

/* 8. STATS BAR */
.stats-bar {
  background: var(--black);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
}
.stat-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* 9. CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 60px; height: 60px;
  background: rgba(244,121,32,0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.card-icon i { font-size: 1.5rem; color: var(--orange); }
.card:hover .card-icon { background: var(--orange); }
.card:hover .card-icon i { color: var(--white); }
.card h3 { margin-bottom: 0.8rem; font-size: 1.15rem; }
.card p   { font-size: 0.92rem; margin-bottom: 1.2rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}
.card-link:hover { gap: 10px; }
.card-link i { font-size: 0.8rem; transition: var(--transition); }

/* 10. NEWS */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.news-img {
  height: 220px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  background-size: cover;
  background-position: center;
}
.bg-orange-gradient { background: linear-gradient(135deg, #F47920 0%, #D4660A 100%) !important; }
.bg-dark-gradient   { background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%) !important; }
.news-body { padding: 1.5rem; }
.news-tag {
  display: inline-block;
  background: rgba(244,121,32,0.12);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.news-body h4 { margin-bottom: 0.7rem; font-size: 1.08rem; }
.news-body p  { font-size: 0.9rem; margin-bottom: 1rem; }
.news-date {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.5rem;
}

/* 11. GALLERY */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--border);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(244,121,32,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay i { color: var(--white); font-size: 2rem; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-more {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-more-inner {
  text-align: center;
  color: var(--white);
}
.gallery-more-inner i {
  font-size: 2.5rem;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}
.gallery-more-inner span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}
.gallery-more:hover .gallery-more-inner i { color: var(--white); }

/* Full gallery page */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--border);
  background: transparent;
  color: #555;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid .gallery-item { aspect-ratio: 4/3; }

/* 12. CTA BANNER */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #1A1A1A 0%, #2D1500 50%, #F47920 100%);
  background-image: url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  text-align: center;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.82);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}
.cta-content p {
  color: rgba(255,255,255,0.8);
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* 13. PARTNERS */
.partners-section { padding: 60px 0; }
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.partner-logo img { height: 70px; width: auto; filter: grayscale(0.2); transition: var(--transition); }
.partner-logo img:hover { filter: none; }
.partner-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: 1px;
}
.partners-note { color: var(--gray); font-size: 0.95rem; }
.partners-note a { color: var(--orange); font-weight: 600; }
.partners-note a:hover { text-decoration: underline; }

/* 14. FOOTER */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo { height: 55px; width: auto; margin-bottom: 1rem; }
.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.footer-col p { font-size: 0.9rem; line-height: 1.8; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); padding-left: 4px; }

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.contact-list li i { color: var(--orange); margin-top: 3px; min-width: 16px; }
.contact-list li a { color: rgba(255,255,255,0.65); }
.contact-list li a:hover { color: var(--orange); }

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { text-decoration: underline; }

/* 15. PAGE HEADER */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--black) 0%, #2D1500 60%, var(--orange-dark) 100%);
  background-image: url('../images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.85);
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 { color: var(--white); margin-bottom: 0.8rem; }
.page-header p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.breadcrumb a   { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: var(--orange-light); font-weight: 600; }

/* 16. ABOUT PAGE */
.founder-section { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; align-items: center; }
.founder-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.value-icon {
  width: 64px; height: 64px;
  background: rgba(244,121,32,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-icon i { font-size: 1.6rem; color: var(--orange); }
.value-item h4 { margin-bottom: 0.5rem; }
.value-item p  { font-size: 0.88rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  overflow: hidden;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin-bottom: 0.3rem; }
.team-card .role { color: var(--orange); font-size: 0.85rem; font-weight: 600; }

/* 17. WORK PAGE */
.work-section { padding: 80px 0; }
.work-section:nth-child(even) { background: var(--light); }
.work-block { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.work-block.reverse { direction: rtl; }
.work-block.reverse > * { direction: ltr; }
.work-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-text h2 { margin-bottom: 1.2rem; }
.work-list { margin-top: 1.2rem; }
.work-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: #555;
}
.work-list li i { color: var(--orange); margin-top: 3px; }

/* 18. CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: flex-start;
}
.contact-info h3 { margin-bottom: 1.2rem; }
.info-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  background: var(--light);
  border-radius: var(--radius);
  border-left: 4px solid var(--orange);
}
.info-card i { color: var(--orange); font-size: 1.3rem; margin-top: 2px; }
.info-card h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  color: var(--black);
}
.info-card p { font-size: 0.9rem; margin: 0; }

.contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2.5rem; }
.contact-form h3 { margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--black);
  background: var(--light);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(244,121,32,0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(34,197,94,0.1);
  border-radius: var(--radius);
  border: 1px solid rgba(34,197,94,0.3);
  color: #166534;
}
.form-success i { font-size: 2.5rem; color: #22c55e; display: block; margin-bottom: 1rem; }

/* 19. NEWS PAGE */
.news-list { display: flex; flex-direction: column; gap: 2rem; }
.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.news-item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.news-item-img {
  height: 220px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  background-size: cover;
  background-position: center;
}
.news-item-body { padding: 1.8rem 1.8rem 1.8rem 0; }
.news-item-body h3 { margin-bottom: 0.7rem; font-size: 1.25rem; }
.news-item-body p  { font-size: 0.95rem; margin-bottom: 1rem; }

/* 20. LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-backdrop.open { opacity: 1; pointer-events: all; }
.lightbox-content {
  position: relative;
  z-index: 9999;
  max-width: 90vw;
  max-height: 85vh;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3rem 1.5rem 1.2rem;
  background: linear-gradient(transparent, rgba(244,121,32,0.95));
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
  border-radius: 0 0 var(--radius) var(--radius);
  pointer-events: none;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.5s ease;
}
.lightbox-caption.show { transform: translateY(0); opacity: 1; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10000;
  transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* 21. SCROLL TO TOP */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(244,121,32,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--orange-dark); transform: translateY(-3px); }

/* 22. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 23. MEDIA QUERIES */
@media (max-width: 1024px) {
  .cards-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.4);
  }
  .nav-menu.open { right: 0; }
  .nav-link { font-size: 1rem; padding: 12px 0; width: 100%; }
  .nav-cta  { display: none; }

  .two-col       { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-block    { grid-template-columns: 1fr; gap: 2rem; }
  .work-block.reverse { direction: ltr; }
  .news-grid     { grid-template-columns: 1fr; }
  .cards-grid    { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .founder-section { grid-template-columns: 1fr; }
  .news-item     { grid-template-columns: 1fr; }
  .news-item-img { height: 200px; }
  .news-item-body { padding: 1.5rem; }
  .hero-buttons  { flex-direction: column; align-items: flex-start; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .gallery-preview { grid-template-columns: 1fr 1fr; }
  .gallery-grid    { grid-template-columns: 1fr 1fr; }
  .values-grid     { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
}

/* 24. LANGUAGE SWITCHER */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--orange);
  border-color: var(--orange);
}
.lang-btn .lang-flag { font-size: 1rem; }
.lang-btn i { font-size: 0.7rem; }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  min-width: 160px;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.lang-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s ease;
}
.lang-option:hover { background: var(--light); }
.lang-option.active { color: var(--orange); background: rgba(244,121,32,0.07); }
.lang-option .lang-flag { font-size: 1.1rem; }

/* Scrolled navbar — keep lang btn visible */
.navbar.scrolled .lang-btn {
  border-color: rgba(0,0,0,0.15);
  color: var(--black);
  background: rgba(0,0,0,0.05);
}
.navbar.scrolled .lang-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

@media (max-width: 768px) {
  .lang-switcher { margin-right: 0.5rem; }
  .lang-btn span:not(.lang-flag) { display: none; }
}
