:root {
  --navy: #081a2b;
  --navy-2: #0b2d4a;
  --gold: #c9a64d;
  --steel: #e7edf3;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--steel);
}

/* NAVBAR */
/* .navbar {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
} */

.navbar {
  background: rgba(8, 26, 43, 0.6); /* 70% opacity */
  /* background: var(--navy) 0.7; */
  backdrop-filter: blur(1px);       /* subtle glass effect */
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
  transition: background .3s ease;
}


.navbar-brand {
  font-weight: 800;
  letter-spacing: .6px;
}

.navbar-logo {
height: 38px;
width: auto;
}

.navbar-logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}


@media (max-width: 991px) {
.navbar-logo {
    height: 32px;
}
}


.nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-size: .85rem;
  margin-left: 12px;
}

.nav-link:hover {
  color: var(--gold) !important;
}

/* HERO */
.hero {
  /* background: linear-gradient(rgba(5, 16, 28, .88), rgba(5, 16, 28, .88)),
  url('https://images.unsplash.com/photo-1577960582904-6f5ba9c8a4f3'); */
  /* background-size: cover; */
  /* background-position: center; */
  color: #fff;
  /* padding: 140px 0 120px; */
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: 1.4px;
}

.hero p {
  max-width: 800px;
  margin: 20px auto 0;
  font-size: 1.05rem;
}

.badge-hq {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  font-size: .75rem;
  letter-spacing: .5px;
}

/* BUTTONS */
.btn-command {
  background: var(--gold);
  color: #081a2b;
  font-weight: 700;
  padding: 12px 28px;
  border: none;
}

.btn-command,
.btn-outline-light {
  box-shadow: none;
}

.btn-command:hover {
  background: #b0903f;
}

/* SECTIONS */
section {
  padding: 80px 0;
}

.section-title {
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-sub {
  max-width: 720px;
  margin: auto;
  color: #44576a;
}

/* CARDS */
.command-card {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 30px;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.command-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.command-card i {
  font-size: 2rem;
  color: var(--gold);
}

.command-card img {
  max-height: 150px;
  object-fit: cover;
  margin-bottom: 15px;
  /* width: auto;
  height: auto; */
}

/* MEMBER NATIONS */
.nation {
  background: #fff;
  padding: 16px 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 3px solid var(--navy);
}

/* FOOTER */
footer {
  background: var(--navy);
  color: #fff;
  padding: 40px 0;
}

footer small {
  color: #b7c7d6;
}

.carousel {
  position: relative;
}

.carousel-item{
  height:100vh;
  min-height:600px;
  background-size:cover;
  background-position:center;
}

.carousel-control-prev, .carousel-control-next {
  z-index: 6;
}

/* .carousel-img{
  object-fit: cover;
  width: 100%;
  height: 100vh;
} */


/* @media(max-width: 768px){
  .carousel-item{
    height: 70vh;
    min-height: 400px;
  }
}

@media(max-width: 480px){
  .carousel-item{
    height: 55vh;
    min-height: 320px;
  }
} */

.hero-overlay{
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:rgba(5,16,28,.65);
  display:flex;
  align-items:center;
  color:#fff;
  z-index: 5;
}

/* CONTACT SECTION */
.contact-section {
position: relative;
background: url('https://images.unsplash.com/photo-1558980664-10ea92f6d45d') center/cover no-repeat;
min-height: 380px;
}

.contact-overlay {
position: absolute;
inset: 0;
background: rgba(5, 16, 28, 0.85);
display: flex;
align-items: center;
}

/* SOCIAL ICONS */
.social-link {
color: #c9a64d;
font-size: 1.6rem;
transition: transform .3s ease, color .3s ease;
}

.social-link:hover {
color: #ffffff;
transform: translateY(-4px);
}


/* AOR MAP SECTION */
.aor-section {
background: url('../images/gog-op.jpg') center/cover no-repeat;
padding: 100px 0;
position: relative;
}

.aor-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
    rgba(8, 26, 43, 0.92),
    rgba(8, 26, 43, 0.85)
);
}

.aor-section .section-title {
margin-bottom: 20px;
}

.aor-list {
list-style: none;
padding-left: 0;
}

.aor-list li {
padding-left: 24px;
margin-bottom: 10px;
position: relative;
font-weight: 500;
}

.aor-list li::before {
content: \"▸\";
position: absolute;
left: 0;
color: var(--gold);
font-weight: bold;
}

/* MAP CARD */
.map-card {
background: #fff;
border-radius: 6px;
overflow: hidden;
position: relative;
}

.map-card img {
width: 100%;
display: block;
}

.map-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(8, 26, 43, 0.85);
color: #fff;
padding: 10px 15px;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.platform-card {
  background: #fff;
  border-left: 4px solid var(--gold);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
}

.platform-image {
  width: 100%;
  height: 220px;              /* consistent height */
  overflow: hidden;
}

.platform-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* KEY FIX */
  display: block;
}

.platform-card {
  cursor: pointer;
}

.platform-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}
