/* GBO Immigration - Custom Styles for Hostinger */

:root {
  --portalThemeColor: #1a1a2e;
  --portalThemeColor7: #16213e;
  --portalThemeColor8: #0f3460;
  --accent: #e94560;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --border-color: #dddddd;
  --text-dark: #222222;
  --text-muted: #666666;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #fff;
}

/* ── NAV ── */
.navbar {
  background-color: #1a1a2e;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-brand .site-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--accent);
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.row { width: 100%; }

.sectionBlockLayout {
  padding: 8px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.columnBlockLayout {
  min-width: 250px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ── BUTTONS ── */
.button1 {
  display: inline-block;
  padding: 10px 24px;
  background-color: rgba(217,217,217,0.3);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  color: inherit;
  align-self: flex-start;
  margin-top: 12px;
}

.button1:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s;
  cursor: pointer;
}

/* ── FOOTER ── */
footer.footer {
  background-color: #1a1a2e;
  color: rgba(255,255,255,0.75);
  padding: 24px 0;
  margin-top: 40px;
  font-size: 14px;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

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

/* ── HERO ── */
.hero-section {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.3;
}

/* ── IMAGES ── */
img { max-width: 100%; height: auto; }

/* ── CARDS (reviews) ── */
.review-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  margin: 20px 10px;
  flex: 1;
  min-width: 250px;
}

.review-card h3 { margin-top: 0; color: var(--portalThemeColor8); }

/* ── PORTALTHEME colors mapped ── */
[data-component-theme="portalThemeColor7"] {
  background-color: #16213e;
  color: #ffffff;
}

[data-component-theme="portalThemeColor7"] h1,
[data-component-theme="portalThemeColor7"] h2,
[data-component-theme="portalThemeColor7"] p,
[data-component-theme="portalThemeColor7"] a {
  color: #ffffff;
}

[data-component-theme="portalThemeColor8"] {
  color: #ffffff;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 12px 20px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open { display: flex; }

  .hamburger { display: flex; }

  .hero-section { min-height: 40vh; }

  .hero-section h1 { font-size: 20px; }

  .col-md-6, .col-md-4, .col-md-12 { width: 100%; }

  footer .container { flex-direction: column; text-align: center; }
}

@media (min-width: 769px) {
  .col-md-6 { width: 50%; }
  .col-md-4 { width: 33.333%; }
  .col-md-12 { width: 100%; }
}
