/* Fajardo Theme v1.0 – lightweight, luxury & futuristic */
:root{
  --fj-primary:#006C77;      /* derived from logo */
  --fj-primary-2:#003F4C;    /* deep teal */
  --fj-accent:#CE6339;       /* warm accent from logo */
  --fj-ink:#07151A;
  --fj-muted:#5C6B73;
  --fj-bg:#F7F9FA;
  --fj-card:#FFFFFF;
  --fj-border:rgba(0,0,0,.08);
  --fj-shadow:0 16px 50px rgba(0,0,0,.08);
  --fj-radius:20px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--fj-ink);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(0,108,119,.10), transparent 60%),
    radial-gradient(900px 500px at 95% 10%, rgba(206,99,57,.08), transparent 55%),
    linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.93)),
    url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-size: auto, auto, cover, cover;
  background-position: 10% 0%, 95% 10%, center, center;
}

h1,h2,h3,h4,h5{
  font-family: "Playfair Display", ui-serif, Georgia, serif;
  letter-spacing: -0.3px;
}

p{color:var(--fj-muted);}

/* Navbar */
.fj-navbar{
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--fj-border);
}
.fj-navbar .navbar-brand img{height:44px;}
.fj-navbar .nav-link{color:var(--fj-ink) !important; font-weight:600;}
/* Active nav states */
.nav-link.active,
.nav-link[aria-current="page"],
.dropdown-item.active{
  color:var(--fj-primary) !important;
}
.nav-link.active{
  position:relative;
}
.nav-link.active::after{
  content:"";
  position:absolute;
  left:.6rem;
  right:.6rem;
  bottom:.2rem;
  height:2px;
  background:var(--fj-primary);
  border-radius:2px;
  opacity:.55;
}
.dropdown-item.active{
  background:rgba(0,108,119,.08);
}

.fj-navbar .nav-link:hover{color:var(--fj-primary) !important;}

/* Buttons */
.btn-fj{
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  border:1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-fj-primary{
  background: linear-gradient(135deg, var(--fj-primary), #00A0A8);
  color:#fff;
  box-shadow: 0 14px 40px rgba(0,108,119,.25);
}
.btn-fj-primary:hover{transform: translateY(-2px); box-shadow: 0 18px 60px rgba(0,108,119,.30); color:#fff;}

.btn-fj-secondary{
  background: rgba(255,255,255,.75);
  border-color: rgba(0,108,119,.25);
  color:var(--fj-primary-2);
}
.btn-fj-secondary:hover{transform: translateY(-2px); border-color: rgba(0,108,119,.45); color:var(--fj-primary-2);}

/* Sections */
section{padding: 88px 0;}
.fj-section-tight{padding: 64px 0;}

.fj-hero{
  padding-top: 120px;
  padding-bottom: 88px;
  position: relative;
  overflow:hidden;
}
.fj-hero::before{
  content:"";
  position:absolute;
  inset:-120px -120px auto -120px;
  height: 520px;
  background:
    radial-gradient(closest-side at 20% 40%, rgba(0,108,119,.22), transparent 70%),
    radial-gradient(closest-side at 75% 55%, rgba(206,99,57,.14), transparent 72%);
  z-index:0;
}
.fj-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: none;
  opacity: 0;
  pointer-events:none;
}

.fj-hero .container{position:relative; z-index:1;}

.fj-kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(0,108,119,.08);
  border:1px solid rgba(0,108,119,.16);
  color:var(--fj-primary-2);
  font-weight:700;
  font-size:.95rem;
}

.fj-card{
  background: rgba(255,255,255,.78);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  box-shadow: var(--fj-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fj-card-solid{
  background: var(--fj-card);
  border: 1px solid var(--fj-border);
  border-radius: var(--fj-radius);
  box-shadow: var(--fj-shadow);
}

.fj-icon{
  width:48px;
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(0,108,119,.10);
  color: var(--fj-primary-2);
}

.fj-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  font-weight:700;
  color:var(--fj-primary-2);
  font-size:.9rem;
}

.fj-surface{
  background: rgba(255,255,255,.60);
  border-top: 1px solid var(--fj-border);
  border-bottom: 1px solid var(--fj-border);
}

/* Portfolio tiles */
.fj-tile{
  overflow:hidden;
  border-radius: 22px;
  border: 1px solid var(--fj-border);
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fj-tile:hover{transform: translateY(-4px); box-shadow: 0 26px 80px rgba(0,0,0,.10);}
.fj-tile img{width:100%; height:220px; object-fit:cover;}

/* Footer */
.fj-footer{
  background: linear-gradient(135deg, rgba(0,63,76,1), rgba(0,108,119,1));
  color: rgba(255,255,255,.92);
}
.fj-footer a{color: rgba(255,255,255,.92); text-decoration:none; border-bottom:1px solid rgba(255,255,255,.25);}
.fj-footer a:hover{color:#fff; border-bottom-color: rgba(255,255,255,.6);}

/* Small helpers */
.text-fj{color: var(--fj-primary) !important;}
.text-ink{color: var(--fj-ink) !important;}

/* Reveal animation */
.fj-reveal{opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease;}
.fj-reveal.fj-in{opacity:1; transform: translateY(0);}

/* Accessibility */
:focus-visible{outline: 3px solid rgba(0,108,119,.45); outline-offset: 3px;}


/* Navbar shadow when scrolling */
.fj-navbar.fj-navbar-scrolled{
  box-shadow: 0 12px 32px rgba(2, 6, 23, .08);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .fj-reveal{opacity:1 !important; transform:none !important; transition:none !important;}
  .btn-fj, .fj-card, .fj-tile{transition:none !important;}
  .btn-fj:hover, .fj-card:hover, .fj-tile:hover{transform:none !important;}
}


@media (max-width: 992px){
  section{padding: 72px 0;}
  .fj-hero{padding-top: 108px;}
}
