/* ===========================
   Noble Edge Stone — styles v3
   =========================== */

html { scroll-behavior: smooth; }

:root{
  --bg: #26262b;
  --card: #ffffff;
  --ink: #111;
  --muted: #052214;
  --strip: #121215;
  --strip2: #1a1a1f;
  --line: rgba(5, 56, 16, 0.18);
  --softLine: rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(1200px 700px at 50% -200px, #1c2923 0%, var(--bg) 60%, #1c2923 100%);
  color: var(--ink);
  font-family: "Times New Roman", Times, serif;
  line-height: 1.6;
}

/* ===========================
   TOP NAV STRIP
   =========================== */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #0f0f12, #15151a);
  border-bottom: 1px solid var(--line);
}

.topbar-nav{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar-nav a{
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.92;
}

.topbar-nav a:hover{
  background: rgba(255,255,255,0.10);
  transform: translateY(-1px);
  opacity: 1;
}

/* ===========================
   HERO STRIP (FULL WIDTH)
   =========================== */
.hero-strip{
  position: relative;
  width: 100%;
  min-height: 320px;
  background-image: url("../images/greenmarble.jpg");
  background-size: cover;
  background-position: center;
  border-top: 2px solid rgba(210, 176, 65, 0.55);
  border-bottom: 2px solid rgba(210, 176, 65, 0.55);
}

/* Dark overlay for readability */
.hero-strip::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35));
}

.hero-inner{
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.hero-overlay{
  text-align: center;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  max-width: 900px;
}

.hero-logo{
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  filter: brightness(1.05) contrast(1.05);
}

.hero-title{
  margin: 0;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 2.1rem;
}

.hero-tagline{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.92);
  font-size: 1.02rem;
}

/* ===========================
   SECTION HERO STRIPS (Projects/Experience)
   =========================== */
.section-hero-strip{
  width: 100%;
  min-height: 220px;
  margin: 10px 0 18px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;

  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* dark overlay so text is readable */
.section-hero-strip::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35));
}

.section-hero-inner{
  position: relative;
  z-index: 2;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 16px;
}

.section-hero-title{
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.7rem;
}

.section-hero-sub{
  margin: 10px 0 0;
  max-width: 900px;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

/* ===========================
   MAIN CARD STYLE
   =========================== */
.card{
  width: 95%;
  max-width: 1200px;
  margin: 24px auto;
  background: rgba(255, 255, 255, 0.796);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 18px;
  box-shadow:
    0 18px 45px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5);
  overflow: hidden;
}

.card main{
  padding: 18px 22px 26px;
}

.card--tight{
  margin-top: 18px;
}

/* ===========================
   SECTION “STRIP” HEADERS
   =========================== */
.section{
  padding: 6px 0 18px;
}

.section-title{
  margin: 18px 0 14px;
  text-align: center;
  position: relative;
}

.section-title span{
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0f0f12, #1a1a1f);
  color: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 1.05rem;
}

/* Dark variant (for black photos section) */
.section-title--dark span{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
}

.section-intro{
  text-align: center;
  max-width: 900px;
  margin: 0 auto 14px;
  color: var(--muted);
}

.dark-intro{
  color: rgba(255,255,255,0.82);
}

/* ===========================
   INFO ITEMS (PROJECTS/EXPERIENCE)
   =========================== */
.info-item{
  max-width: 980px;
  margin: 14px auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border: 1px solid var(--softLine);
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.info-item h3{
  margin: 0 0 6px;
  color: #0f0f12;
}

.meta{
  margin: 0 0 10px;
  color: #666;
  font-size: 0.95rem;
}

.info-item ul{
  margin: 0;
  padding-left: 20px;
}

.info-item li{
  margin: 8px 0;
}

/* ===========================
   PHOTOS SECTION (FULL-WIDTH BLACK STRIP)
   =========================== */
.photos-strip{
  width: 100%;
  background: linear-gradient(180deg, #0f0f12, #15151a);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0 36px;
}

.photos-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Photos grid */
.photo-grid{
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.photo-card{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.photo-card:hover{
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 16px 30px rgba(0,0,0,0.45);
}

.photo-card img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

.photo-card figcaption{
  padding: 10px 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.86);
}

/* Responsive */
@media (max-width: 1000px){
  .photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-title{ font-size: 1.9rem; }
}

@media (max-width: 560px){
  .photo-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 1.6rem; }
  .hero-tagline{ font-size: 0.98rem; }
}

/* ===========================
   CONTACT
   =========================== */
.contact-box{
  max-width: 720px;
  margin: 12px auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--softLine);
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
  text-align: center;
}

.contact-box a{
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.contact-box a:hover{
  text-decoration: underline;
}

.small-note{
  margin-top: 10px;
  color: #666;
  font-size: 0.95rem;
}

/* ===========================
   SOCIAL
   =========================== */
.social-grid{
  max-width: 980px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.social-card{
  display: block;
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
  border: 1px solid var(--softLine);
  border-radius: 14px;
  padding: 14px 16px;
  text-decoration: none;
  color: #111;
  box-shadow: 0 10px 18px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0,0,0,0.12);
}

.social-title{
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.social-sub{
  display: block;
  color: #666;
  font-size: 0.95rem;
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.lightbox.open{ display: flex; }

.lightbox-inner{
  background: #fff;
  border-radius: 14px;
  max-width: 950px;
  width: 100%;
  padding: 12px;
  position: relative;
}

.lightbox-inner img{
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.lightbox-close{
  position: absolute;
  top: 6px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  color: #111;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer{
  text-align: center;
  color: rgba(255,255,255,0.90);
  padding: 18px 10px 28px;
  font-size: 0.95rem;
}
