/* ==========================================================================
   Sarang Custom CSS - Navy + Green 
   ========================================================================== */

/* ---------- Site Background ---------- */
body,
.masthead,
.page__hero,
.page__footer,
.page__content,
.sidebar,
.site-header,
.site-footer {
  background-color: #0A192F !important;  /* Dark navy background */
  color: #ccd6f6 !important;             /* Light slate text */
}

/* ---------- Header / Navbar ---------- */
header, .navbar, .site-header, .page__header, .site-nav {
  background-color: #0a192f !important;  
  color: #ccd6f6 !important;
}

/* Navbar links: Gray tone like Yashita */
.navbar a, header a, .site-header a, .site-nav a {
  color: #8892b0 !important;    /* Gray tone */
  text-decoration: none !important;
  font-weight: 500;
}

.navbar a:hover, header a:hover, .site-header a:hover, .site-nav a:hover {
  color: #e6f1ff !important;    /* Light on hover */
  text-decoration: none !important;
}

/* ---------- Default / Body Text ---------- */
body, p, span, div, li {
  color: #ccd6f6 !important;    
}

/* Secondary / Metadata Text */
small, .entry-meta, .post-meta, .footer-meta, .sidebar, .tagline {
  color: #8892b0 !important;    
}

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;    
  text-shadow: none !important;
}

/* ---------- Links ---------- */
a, a:link, a:visited {
  color: #64ffda !important;    
  text-decoration: none !important;
}

a:hover, a:focus, a:active {
  color: #a8ffea !important;    
  text-decoration: none !important;
  outline: none !important;
}

/* ---------- Footer ---------- */
footer, .site-footer {
  color: #8892b0 !important;    
  background-color: #0a192f !important;
}

footer a, .site-footer a {
  color: #64ffda !important;
}

footer a:hover, .site-footer a:hover {
  color: #e6f1ff !important;
}

/* ---------- Blockquotes ---------- */
blockquote {
  color: #8892b0 !important;
  border-left: 3px solid #64ffda !important;
}

/* ---------- Inline / Code Blocks ---------- */
code, pre {
  color: #64ffda !important;    
  background-color: #172a45 !important;  
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
}

/* ---------- Site Title / Logo ---------- */
.site-title, 
.site-title a,
.page__splash .splash__title,
.page__splash .splash__title * {
  color: #64ffda !important;       
  text-shadow: none !important;
  -webkit-text-fill-color: #fff !important;
  background-image: none !important;
}

/* ---------- Buttons: Yashita Style ---------- */
button,
.button,
.btn,
.btn-primary,
.btn--primary,
a.button,
a.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  background-color: transparent !important;   
  color: #64ffda !important;                 
  border: 2px solid #64ffda !important;      
  border-radius: 6px !important;
  padding: 0.5rem 1.25rem !important;  /* Adjusted for Yashita */
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

button:hover,
.button:hover,
.btn:hover,
.btn-primary:hover,
.btn--primary:hover,
a.button:hover,
a.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #10293B !important;   
  color: #64ffda !important;             
  border-color: #64ffda !important;
  box-shadow: 0 4px 12px rgba(100,255,218,0.3) !important; 
  transform: scale(1.05) !important;
}

/* ---------- Splash Buttons ---------- */
.page__splash .btn--primary,
.page__splash .hero__actions .btn--primary,
.page__splash .actions .btn--primary {
  background-color: transparent !important;
  color: #64ffda !important;
  border: 2px solid #64ffda !important;
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.55rem 1.5rem;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

.page__splash .btn--primary:hover,
.page__splash .hero__actions .btn--primary:hover,
.page__splash .actions .btn--primary:hover {
  background-color: #10293B !important;
  color: #64ffda !important;
  box-shadow: 0 4px 12px rgba(100,255,218,0.3) !important;
  transform: scale(1.05) !important;
}

/* ---------- Contact Page Box ---------- */
.contact-box {
    background-color: #0a192f;
    color: #ccd6f6;
    padding: 2rem;
    max-width: 90%;
    margin: 3rem auto;
    border-radius: 12px;
    box-shadow: 0 0 7px #64ffda;
    text-align: center;
    box-sizing: border-box;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-buttons a {
    padding: 0.65rem 1.4rem;
    border: 2px solid #64ffda;
    border-radius: 8px;
    color: #64ffda;
    text-decoration: none;
    font-weight: bold;
    background-color: transparent;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-buttons a:hover {
    background-color: #10293B !important;
    color: #64ffda !important;
    box-shadow: 0 0 12px rgba(100,255,218,0.3);
    transform: scale(1.05);
}

/* ---------- Neon Lines ---------- */
.neon-line, .neon-line-home {
    height: 2-3px;
    background: #64ffda;
    box-shadow: 0 0 10px #64ffda, 0 0 20px #64ffda, 0 0 40px #64ffda;
    border-radius: 2px;
    margin: 2rem auto;
    width: 80%;
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .contact-box {
        padding: 1.5rem;
    }

    .contact-buttons a {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .page__splash .btn--primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* ---------- Hide Recent Posts ---------- */
.recent-posts, .entries-list, .entries-grid {
  display: none !important;
}

/* ---------- Accessibility / Focus ---------- */
button:focus, .btn:focus, .button:focus, a.button:focus, a.btn:focus {
  outline: 3px solid rgba(57,255,20,0.18) !important;
  outline-offset: 2px !important;
}

/* ---------- Remove Glow / Animations ---------- */
*,
*::before,
*::after {
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  animation: none !important;
}

/* ---------- Footer spacing fix ---------- */
.page__footer,
.page__footer > div,
.page__footer nav,
.page__footer div {
    margin: 0 !important;
    padding: 0 !important;
}

.page__content,
.page__content:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.page__footer {
    margin-top: -5px;
}

/* ---------- About Section ---------- */
.about__title {
    margin-top: 0;
}

.author {
    display: none !important;
}

.page__hero--overlay {
  padding-top: 34px !important;   /* Was 48px */
  padding-bottom: 24px !important;
  margin-bottom: 8px !important;  /* Was 32px */
}



button.greedy-nav__toggle {
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

button.greedy-nav__toggle:hover,
button.greedy-nav__toggle:focus {
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}

/* ---------------- Hero Section Fixes ---------------- */

/* Reduce spacing above the tagline on mobile */
.layout--splash .page__lead {
  margin-top: 0.8rem !important;   /* smaller gap below title */
  margin-bottom: 1.5rem !important; /* closer to buttons */
  font-size: 1.05rem;  /* keep readable */
  line-height: 1.5;
}

/* Button group wrapper */
.layout--splash .page__lead + p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;  /* nice space between buttons */
  margin-top: 0.4rem !important;
  margin-bottom: 1rem !important;
}

/* Buttons */
.layout--splash .page__lead + p > a {
  flex: 0 0 auto;   /* don’t stretch weirdly */
  min-width: 120px;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
}

/* About (solid cyan) */
.layout--splash .page__lead + p > a[href="/about/"] {
  background-color: #64FFDA !important;
  color: #0A192F !important;
  border: 2px solid transparent !important;
}

/* LinkedIn (outlined cyan) */
.layout--splash .page__lead + p > a[href^="https://www.linkedin.com"] {
  background: transparent !important;
  color: #64FFDA !important;
  border: 2px solid #64FFDA !important;
}

/* Hover effect */
.layout--splash .page__lead + p > a:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .layout--splash .page__lead {
    margin-top: 0.6rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 1rem;
  }
  .layout--splash .page__lead + p {
    justify-content: center;   /* center buttons under text */
    gap: 0.5rem;
  }
  .layout--splash .page__lead + p > a {
    flex: 1;   /* buttons expand evenly */
    min-width: auto;
  }
}


/* Custom separator above testimonials */
.custom-separator {
  display: block;
  width: 100%;                      /* width of the line */
  height: 1px;
  background: #fff;             /* cyan line */
  margin: 1rem auto;               /* spacing and center */
  border-radius: 1px;
}


/* Remove border/break line after feature section */
.page__content > .feature__wrapper {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove any <hr> right after features */
.page__content hr {
  display: none !important;
  height: 0 !important;
  border: none !important;
  margin: 0 !important;
}


.skills-container {
  display: flex;
  justify-content: center;   /* centers the scrollable container itself */
}

.skills-scroll {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 40px;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
  margin-top: 0 !important;
  scrollbar-width: none !important; /* Firefox */
}

.skills-scroll::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari */
}

.skills-scroll img {
  height: 60px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .skills-scroll {
    gap: 24px !important;
    padding-bottom: 16px !important;
  }
  .skills-scroll img {
    height: 48px !important;
  }
}

.skills-scroll {
  display: flex;
  overflow-x: hidden !important; /* prevent manual scroll glitch */
  white-space: nowrap;
  gap: 40px;
}

.skills-container {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;   /* ✅ clips logos outside the box */
}

.skills-scroll {
  display: flex;
  white-space: nowrap;
  gap: 40px;
  padding-top: 0 !important;
  padding-bottom: 20px !important;
  margin-top: 0 !important;
  scrollbar-width: none !important; /* Firefox */
}

.skills-scroll::-webkit-scrollbar {
  display: none !important; /* Chrome/Safari */
}

.skills-scroll img {
  height: 60px !important;
  flex-shrink: 0 !important;
  transition: transform 0.3s ease !important;
}

