/* ========================
Base
======================== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
html, body { height: 100%; } /* added for fullscreen sizing */

.container { margin: 0 auto; max-width: 996px; }

/* Hide the legacy email text block by default */
.emailid { display: none; }

/* ========================
Navbar
======================== */
#menu { background-color: #ffffff79; }

.navbar-inverse { border: none !important; }

.navbar-brand { padding: 10px 15px !important; }
a.navbar-brand .fa-globe {
  font-size: 30px;
  color: black;
  transition: 0.5s ease;
}
a.navbar-brand .fa-globe:hover { color: #3935e6; }

ul.navbar-nav { float: right; text-align: center; }
ul.navbar-nav li { padding: 0 10px; }

.navbar-nav li a {
  color: black !important;
  font-size: 1.2em;
  font-family: Century Gothic, sans-serif;
  font-weight: 600;
  transition: 0.4s ease;
}
.navbar-nav li a:hover {
  color: #fff !important;
  background-color: black !important;
}

.navbar-inverse .navbar-toggle .icon-bar { background-color: black !important; }
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus { background-color: #fff !important; }

@media (max-width: 767px) {
  ul.navbar-nav { float: none; }
}

/* ========================
Layout helpers
======================== */
.container-fluid { padding: 0 1em; }
.starter-template { padding: 40px 15px; text-align: center; }

/* ========================
Splash / Hero
======================== */
.splash {
  background:
    url("https://media.licdn.com/dms/image/C4E16AQEXE_gOY_UE_Q/profile-displaybackgroundimage-shrink_350_1400/0/1635889034320?e=1692230400&v=beta&t=BIExNe14hCqFSM_Rf7QGZJJZW0_w214aNmVZWl8l3EQ")
    no-repeat fixed center;
  background-size: 100% auto;
  background-color: black;
  color: #fff;
}
.splash .container {
  padding-top: 15vh; /* No JS fallback */
  padding-bottom: 10vh; /* No JS fallback */
}
.profile-image {
  border-radius: 50%;
  display: block;
  max-height: 250px;
  max-width: 250px;
  margin: 0 auto 1em;
  width: 100%;
  opacity: 0.85;
}
.splash h1 { font-size: 40px; margin-bottom: .15em; text-align: center; }
.splash h2 { font-size: 20px; text-align: center; }
.splash .lead, .splash .continue { display: inline-block; text-align: center; }

h1.intro-text { margin: 0; color: #fff; }

.splash .lead { font-size: 35px; margin-bottom: .2em; font-family: Rockwell; }

.splash .continue { font-size: 3em; display: block; }
.splash .continue a {
  border: 2px solid #fff;
  border-radius: 100%;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  width: 40px;
  height: 40px;
  font-size: 30px;
}
.splash .continue a:hover { background-color: rgba(255, 255, 255, .25); }

/* Blinking cursor */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
#typed-cursor {
  opacity: 1;
  font-size: 40px;
  color: #fff;
  font-weight: 50;
  animation: blink 1s infinite;
}

/* ========================
Sections
======================== */
#about, #portfolio, #contact { padding-top: 4em !important; }

section h2 { margin: 0; font-size: 3em; }

section.success {
  color: #fff;
  background-color: black;
  padding: 2%;
}
section.success a {
  color: whitesmoke;
  transition: 0.4s ease;
  border: .2px solid #fff;
  margin-right: 10px;
}
section.success a:hover {
  outline: 0;
  color: #fff;
  border: 2px solid #fff;
}

.contact-button { padding-bottom: 2%; color: #fff; text-align: center; }

hr.star-light, hr.star-portfolio {
  margin: 25px auto 30px;
  padding: 0;
  max-width: 250px;
  border: 0;
  border-top: solid 3px;
  text-align: center;
}
hr.star-light { border-color: #fff; }
hr.star-light:after {
  content: "\f005";
  display: inline-block;
  position: relative;
  top: -.8em;
  padding: 0 .25em;
  font-family: FontAwesome;
  font-size: 2em;
  color: #fff;
  background-color: rgb(13, 79, 136);
}
hr.star-portfolio { border-color: whitesmoke; }
hr.star-portfolio:after {
  content: "\f005";
  display: inline-block;
  position: relative;
  top: -.8em;
  padding: 0 .25em;
  font-family: FontAwesome;
  font-size: 2em;
  color: black;
  background-color: #eee;
}

p.content-text { font-size: 20px; }

/* ========================
Portfolio
======================== */
.portfolio-container { background-color: black; }
.portfolio-container-holder { background: #eee; padding-bottom: 20px; }

.portfolio-card {
  box-shadow: 0 2px 5px #888;
  background: #eee;
  border-radius: 4px;
}
.portfolio-card:hover {
  box-shadow: 0 10px 10px #888;
  cursor: pointer;
}

.portfolio-card-holder { padding: 5px; margin-bottom: 5px; }
.portfolio-img { width: 100%; border-radius: 4px 4px 0 0; }
.portfolio-img-desc {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #000;
  text-align: center;
  padding: 5px;
}

/* ========================
Contact (Dark card + larger type) - MAJOR CHANGES
======================== */
#contact {
  background: #0a0a0a;
  color: #f5f5f5;
  padding-top: 80px !important;
  padding-bottom: 10px !important;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Type scale and sizing bumps only inside #contact */
#contact .intro-text { font-size: 1.8rem; }

#contact .cc-card {
  max-width: 650px;
  width: 90%;
  margin: 0 auto;
  background: #111;
  border: 1px solid #232323;
  border-radius: 14px;
  box-shadow: 0 6px 24px #00000088;
  overflow: hidden;
}

#contact .cc-hero {
  padding: 24px 20px 16px;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  background: linear-gradient(180deg, #141414 0%, #101010 100%);
  border-bottom: 1px solid #232323;
}

#contact .cc-avatar-wrap {
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f0f0f;
  box-shadow: 0 0 0 4px #ffffff14, 0 4px 12px #000000bb;
  border: 1px solid #2e2e2e;
}
#contact .cc-avatar { width: 195px; height: 195px; border-radius: 50%; overflow: hidden; }
#contact .cc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

#contact .cc-name { font-size: 1.9rem; font-weight: 700; margin: 0; color: #f5f5f5; }
#contact .cc-role { font-size: 1.3rem; margin: 0; color: #b9b9b9; }

#contact .cc-body { padding: 6px 14px 2px; }
#contact .cc-section { padding: 4px; }

#contact .cc-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.05s ease;
}
#contact .cc-row + .cc-row { margin-top: 3px; }
#contact .cc-row:hover { background: #171717; }
#contact .cc-row:active { transform: translateY(1px); }

#contact .cc-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #0f0f0f;
  border: 1px solid #232323;
  color: #fff;
  font-size: 1.3rem;
}

#contact .cc-label { display: grid; gap: 1px; min-width: 0; }
#contact .cc-kicker { font-size: 1.0rem; letter-spacing: 0.04em; text-transform: uppercase; color: #c7c7c7; }
#contact .cc-value { font-weight: 600; word-break: break-word; color: #f5f5f5; font-size: 1.4rem; }

#contact .cc-action { display: flex; align-items: center; gap: 6px; }

/* COPY BUTTON WITH BLACK STYLING */
#contact .cc-btn,
#contact button {
  border: 2px solid #000;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.26rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

#contact .cc-btn:hover,
#contact button:hover {
  background: #1a1a1a;
  border-color: #333;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#contact .cc-btn:active,
#contact button:active {
  transform: translateY(0);
  background: #0a0a0a;
}

#contact .cc-btn i,
#contact button i {
  font-size: 0.85rem;
  opacity: 0.9;
}

#contact .cc-link { color: #fff; text-decoration: none; font-weight: 600; }
#contact .cc-link:hover { text-decoration: underline; }

#contact .cc-footer {
  padding: 8px 14px 12px;
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #d5d5d5;
  font-size: 1.2rem;
  border-top: 1px solid #232323;
  background: #101010;
}

/* Bigger social icons (contact-only) */
#contact .cc-socials { display: flex; gap: 8px; }
#contact .cc-socials a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #0e0e0e;
  border: 1px solid #232323;
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform 0.08s ease, background 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 #ffffff14;
}
#contact .cc-socials a:hover { background: #171717; transform: translateY(-1px); }

/* Toast animation (used by contact) */
@keyframes cc-pop {
  from { transform: translate(-50%, 8px); opacity: 0; }
  to   { transform: translate(-50%, 0); opacity: 1; }
}

/* Mobile tuning for contact */
@media (max-width: 560px) {
  #contact { font-size: 14px; padding-top: 10px !important; }
  #contact .cc-name { font-size: 1.8rem; }
  #contact .cc-role { font-size: 1.1rem; }
  #contact .cc-value { font-size: 1.1rem; }
  #contact .cc-btn { font-size: 0.85rem; padding: 7px 10px; }
  #contact .cc-row { grid-template-columns: 32px 1fr auto; padding: 8px; }
  #contact .cc-avatar-wrap { width: 80px; height: 80px; }
  #contact .cc-avatar { width: 70px; height: 70px; }
  #contact .cc-socials a { width: 42px; height: 42px; font-size: 1.3rem; }
}

/* ========================
Footer - MADE MUCH THINNER
======================== */
footer {
  background-color: #2C3E50;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  padding: 0.9% !important;
  margin: 0;
}
h4.author {
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin: 4px 0 !important;
  font-weight: 400;
}
hr.footer-hr {
  width: 15%;
  margin: 4px auto !important;
  border-top: 1px solid #fff;
}

/* Footer socials - smaller */
a.tel, a.tel:hover { text-decoration: none; color: #fff; }
a.social-button {
  background: #fff;
  font-size: 24px;
  border-radius: 50%;
  margin: 2px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.address-container { display: inline-block; margin: 0 auto; }

a.link-codepen:hover { background-color: black; color: #fff; }
a.link-linkedin { color: #007bb6; }
a.link-linkedin:hover { background-color: #007bb6; color: #fff; }

/* ========================
Buttons (generic gradient button you had)
======================== */
.buttons { text-align: center; }

.btn-hover {
  width: auto;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  margin: 20px;
  height: 55px;
  text-align: center;
  border: none;
  background-size: 300% 100%;
  border-radius: 20px;
  transition: all .4s ease-in-out;
}
.btn-hover:hover { background-position: 100% 0; }
.btn-hover.color-6 {
  background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021);
  box-shadow: 0 4px 15px 0 rgba(83, 176, 57, 0.75);
}

/* Bootstrap default override you used */
.btn-default {
  color: #333;
  background-color: #fff;
  border-color: transparent !important;
}

/* Misc icon color overrides used elsewhere */
.fa-user, .fa-at, .fa-phone { color: black; }

/* ========================
Fullscreen Contact (no page scroll) — ENHANCED FOR NO SCROLL
======================== */
:root {
  --nav-h: 60px;
  --pad: 8px;
}

/* lock scroll only on contact page */
body.contact-fullscreen {
  overflow: hidden !important;
  height: 100vh;
}

/* make contact fill viewport minus navbar */
#contact.fullscreen {
  height: calc(100vh - var(--nav-h)) !important;
  min-height: calc(100vh - var(--nav-h)) !important;
  max-height: calc(100vh - var(--nav-h)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px var(--pad) var(--pad) !important;
  overflow: hidden !important;
}

/* card constrained to viewport height */
#contact.fullscreen .cc-card {
  width: min(700px, 92vw);
  max-height: calc(100vh - var(--nav-h) - (var(--pad) * 2));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

/* keep internals from causing overflow */
#contact.fullscreen .cc-body { overflow: hidden; }
#contact.fullscreen .cc-section { padding: 3px; }

/* Responsive adjustments for fullscreen */
@media (max-height: 900px) {
  #contact.fullscreen .cc-hero { padding: 20px 16px 12px; }
  #contact.fullscreen .cc-name { font-size: 1.4rem; }
  #contact.fullscreen .cc-role { font-size: 0.9rem; }
  #contact.fullscreen .cc-avatar-wrap { width: 80px; height: 80px; }
  #contact.fullscreen .cc-avatar { width: 70px; height: 70px; }
  #contact.fullscreen .cc-row { padding: 8px; gap: 10px; }
  #contact.fullscreen .cc-icon { font-size: 1.2rem; }
  #contact.fullscreen .cc-value { font-size: 1.1rem; }
  #contact.fullscreen .cc-btn { font-size: 0.85rem; padding: 7px 10px; }
  #contact.fullscreen .cc-socials a { width: 34px; height: 34px; font-size: 1.1rem; }
}

@media (max-height: 800px) {
  #contact.fullscreen .cc-hero { padding: 16px 14px 10px; }
  #contact.fullscreen .cc-name { font-size: 1.3rem; }
  #contact.fullscreen .cc-role { font-size: 0.85rem; }
  #contact.fullscreen .cc-avatar-wrap { width: 75px; height: 75px; }
  #contact.fullscreen .cc-avatar { width: 65px; height: 65px; }
  #contact.fullscreen .cc-row { padding: 7px; gap: 8px; grid-template-columns: 32px 1fr auto; }
  #contact.fullscreen .cc-icon { font-size: 1.1rem; }
  #contact.fullscreen .cc-value { font-size: 1rem; }
  #contact.fullscreen .cc-btn { font-size: 0.8rem; padding: 6px 9px; }
  #contact.fullscreen .cc-socials a { width: 32px; height: 32px; font-size: 1rem; }
}

@media (max-height: 720px) {
  #contact.fullscreen .cc-row[aria-hidden="true"] { display: none; }
  #contact.fullscreen .cc-hero { padding: 14px 12px 8px; }
  #contact.fullscreen .cc-name { font-size: 1.2rem; }
  #contact.fullscreen .cc-role { font-size: 0.8rem; }
  #contact.fullscreen .cc-avatar-wrap { width: 70px; height: 70px; }
  #contact.fullscreen .cc-avatar { width: 60px; height: 60px; }
  #contact.fullscreen .cc-row { padding: 6px; gap: 6px; grid-template-columns: 30px 1fr auto; }
  #contact.fullscreen .cc-icon { font-size: 1rem; }
  #contact.fullscreen .cc-value { font-size: 0.95rem; }
  #contact.fullscreen .cc-btn { font-size: 0.75rem; padding: 5px 8px; }
  #contact.fullscreen .cc-socials a { width: 30px; height: 30px; font-size: 0.9rem; }
  #contact.fullscreen .cc-footer { padding: 6px 10px 8px; }
}
