/* =====================================================
   JIMA MODELS AGENCY
   Global Navigation + Footer Styles
   ===================================================== */

/* ── Variables ───────────────────────────────────── */
:root {
    --jima-dark:    #1a1510;
    --jima-brown:   #2A2520;
    --jima-gold:    #D4AF37;
    --jima-gold-dk: #B8941F;
    --jima-white:   #FFFFFF;
    --jima-muted:   rgba(255,255,255,0.65);
    --jima-border:  rgba(255,255,255,0.10);
    --nav-h:        72px;
}

/* ── Reset helpers ───────────────────────────────── */
.jima-nav *, .jima-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.jima-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: rgba(26, 21, 16, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jima-border);
    z-index: 1000;
    transition: background 0.3s ease;
}

.jima-nav.scrolled {
    background: rgba(26, 21, 16, 1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.jima-nav__inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.jima-nav__logo img {
    height: 42px;
    width: auto;
    display: block;
    transition: opacity 0.2s;
}
.jima-nav__logo:hover img { opacity: 0.85; }

/* Desktop links */
.jima-nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.jima-nav__links > li {
    position: relative;
}

.jima-nav__links > li > a,
.jima-nav__links > li > button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    color: var(--jima-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.jima-nav__links > li > a:hover,
.jima-nav__links > li > button:hover,
.jima-nav__links > li.active > a {
    color: var(--jima-white);
    background: rgba(255,255,255,0.06);
}

.jima-nav__links > li > a.active {
    color: var(--jima-gold);
}

/* Dropdown arrow */
.jima-nav__arrow {
    font-size: 0.65rem;
    opacity: 0.6;
    transition: transform 0.2s;
}
.jima-nav__links > li:hover .jima-nav__arrow { transform: rotate(180deg); }

/* CTA button */
.jima-nav__links > li > a.nav-cta {
    background: var(--jima-gold);
    color: var(--jima-dark) !important;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
}
.jima-nav__links > li > a.nav-cta:hover {
    background: var(--jima-gold-dk);
    color: var(--jima-dark) !important;
}

/* ── Dropdown ───────────────────────────────────── */
.jima-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: #231e19;
    border: 1px solid var(--jima-border);
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    transform: translateX(-50%) translateY(-6px);
    list-style: none;
}

.jima-nav__links > li:hover .jima-dropdown,
.jima-nav__links > li:focus-within .jima-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Arrow tip on dropdown */
.jima-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #231e19;
    border-top: none;
}

.jima-dropdown li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem;
    color: var(--jima-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s, background 0.15s;
}

.jima-dropdown li a i {
    width: 16px;
    font-size: 0.85rem;
    color: var(--jima-gold);
    opacity: 0.8;
}

.jima-dropdown li a:hover {
    color: var(--jima-white);
    background: rgba(255,255,255,0.05);
}

.jima-dropdown li a:hover i { opacity: 1; }

.jima-dropdown__divider {
    height: 1px;
    background: var(--jima-border);
    margin: 0.4rem 0;
}

/* ── Language switcher ──────────────────────────── */
.jima-lang {
    position: relative;
}

.jima-lang__btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--jima-border);
    border-radius: 20px;
    color: var(--jima-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.jima-lang__btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--jima-white);
}

.jima-lang__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #231e19;
    border: 1px solid var(--jima-border);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.5);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    transform: translateY(-4px);
    list-style: none;
    z-index: 10;
}

.jima-lang.open .jima-lang__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.jima-lang__menu li button {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 1rem;
    background: none;
    border: none;
    color: var(--jima-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    text-align: left;
}

.jima-lang__menu li button:hover,
.jima-lang__menu li button.active {
    color: var(--jima-white);
    background: rgba(255,255,255,0.05);
}

.jima-lang__menu li button.active { color: var(--jima-gold); }

/* ── Hamburger (Mobile) ─────────────────────────── */
.jima-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.jima-nav__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--jima-white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.jima-nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jima-nav__hamburger.open span:nth-child(2) { opacity: 0; }
.jima-nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Drawer ──────────────────────────────── */
.jima-nav__drawer {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--jima-dark);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    z-index: 999;
    padding: 1.5rem 1.5rem 4rem;
}

.jima-nav__drawer.open { transform: translateX(0); }

.jima-nav__drawer ul { list-style: none; }

.jima-nav__drawer > ul > li > a,
.jima-nav__drawer > ul > li > button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--jima-border);
    color: var(--jima-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    transition: color 0.2s;
}
.jima-nav__drawer > ul > li > a:hover,
.jima-nav__drawer > ul > li > button:hover { color: var(--jima-white); }
.jima-nav__drawer > ul > li > a.active { color: var(--jima-gold); }

/* Mobile sub-list */
.jima-drawer__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.jima-drawer__sub.open { max-height: 400px; }

.jima-drawer__sub li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0 0.7rem 1rem;
    color: var(--jima-muted);
    text-decoration: none;
    font-size: 0.92rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.15s;
}
.jima-drawer__sub li a:hover { color: var(--jima-gold); }
.jima-drawer__sub li a i { width: 16px; color: var(--jima-gold); opacity: 0.7; }

.jima-drawer__lang {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.25rem 0 0;
}
.jima-drawer__lang button {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--jima-border);
    border-radius: 16px;
    color: var(--jima-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.jima-drawer__lang button.active,
.jima-drawer__lang button:hover {
    background: var(--jima-gold);
    border-color: var(--jima-gold);
    color: var(--jima-dark);
}

/* =====================================================
   FOOTER
   ===================================================== */

.jima-footer {
    background: linear-gradient(180deg, #1a1510 0%, #0f0c09 100%);
    color: var(--jima-muted);
    padding: 4rem 2rem 0;
    border-top: 1px solid var(--jima-border);
}

.jima-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* Top grid */
.jima-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--jima-border);
}

/* Brand column */
.jima-footer__brand img {
    height: 52px;
    width: auto;
    margin-bottom: 1rem;
}

.jima-footer__brand p {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.jima-footer__social {
    display: flex;
    gap: 0.75rem;
}

.jima-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--jima-border);
    color: var(--jima-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.jima-footer__social a:hover {
    background: var(--jima-gold);
    border-color: var(--jima-gold);
    color: var(--jima-dark);
    transform: translateY(-2px);
}

/* Link columns */
.jima-footer__col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--jima-gold);
    margin-bottom: 1.1rem;
}

.jima-footer__col ul {
    list-style: none;
}

.jima-footer__col ul li {
    margin-bottom: 0.55rem;
}

.jima-footer__col ul li a {
    color: var(--jima-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-block;
}

.jima-footer__col ul li a:hover {
    color: var(--jima-white);
    padding-left: 4px;
}

/* Bottom bar */
.jima-footer__bottom {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.jima-footer__copy {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}

.jima-footer__made {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.jima-footer__made a {
    color: var(--jima-gold);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}
.jima-footer__made a:hover { opacity: 0.8; }

.jima-footer__legal-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.jima-footer__legal-links a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s;
}
.jima-footer__legal-links a:hover { color: var(--jima-muted); }
.jima-footer__legal-links span { color: rgba(255,255,255,0.2); font-size: 0.75rem; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
    .jima-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .jima-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .jima-nav__links,
    .jima-lang { display: none; }
    .jima-nav__hamburger { display: flex; }

    .jima-footer { padding: 3rem 1.25rem 0; }
    .jima-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
    .jima-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .jima-footer__grid { grid-template-columns: 1fr; }
    .jima-footer__bottom { gap: 0.6rem; }
}

/* Spacer so page content starts below fixed nav */
body { padding-top: var(--nav-h); }

/* ── Footer Newsletter Block ─────────────────────────────── */
.jima-footer__newsletter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 40px;
}
.jima-footer__newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.jima-nl-text { flex: 1; min-width: 200px; }
.jima-nl-heading {
  margin: 0 0 6px;
  color: #c9a96e;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.jima-nl-subtext { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; }
.jima-nl-form { flex: 1; min-width: 280px; max-width: 440px; }
.jima-nl-input-wrap { display: flex; gap: 0; }
.jima-nl-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.jima-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.jima-nl-input:focus { border-color: #c9a96e; }
.jima-nl-btn {
  padding: 12px 16px;
  background: #c9a96e;
  border: none;
  border-radius: 0 4px 4px 0;
  color: #1a1a2e;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}
.jima-nl-btn:hover { background: #b8934a; }
.jima-nl-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.jima-nl-feedback {
  margin: 8px 0 0;
  font-size: 13px;
  min-height: 18px;
}
@media (max-width: 640px) {
  .jima-footer__newsletter { padding: 24px 20px; }
  .jima-footer__newsletter-inner { flex-direction: column; gap: 20px; }
  .jima-nl-form { width: 100%; max-width: 100%; }
}
