/* Reset and Base Styles */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@font-face {
  font-family: 'WhyBlink';
  src: url("Fonts/WhyDoWeBlinkSoFrequently.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Aqui';
  src: url("Fonts/AquilineTwo.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica';
  src: url("Fonts/Helvetica.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'HelveticaBold';
  src: url("Fonts/Helvetica-Bold.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
    background-color: #efe8d6;
    color: #000;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 16px 0;
}


.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, auto); /* icons sized by content */
  gap: 16px;
  align-items: center; /* vertical centering */
}

/* make anchor a positioning context */
.nav-button {
  position: relative;   /* <-- add this */
  display: inline-block;
  padding: 0;
  background: none;
  text-decoration: none;
  line-height: 1;
}

/* anchor becomes an image container */
.nav-button .nav-label {
  position: absolute;
  left: 45%;
  top: 35%;
  transform: translate(-50%, -50%);
  font-family: 'Aqui';
  font-size: 26px;              /* change to taste */
  color: #660808;               /* label color */
  pointer-events: none;         /* clicks hit the link, not the span */
  white-space: nowrap;
  padding: 6px 10px;           /* optional pill background padding */
  border-radius: 6px;
  z-index: 2;
  transition: background 120ms ease, transform 120ms ease;
}

/* constrain images so they can't grow huge */
.nav-button img {
  display: block;
  max-height: 80px;   /* change this to taste (e.g., 48px) */
  width: auto;
  object-fit: contain;
}

/* hover/active state */
.nav-button:hover,
.nav-button:focus {
  transform: scale(1.05);
  transition: transform 0.18s ease-in;
}
/* visually-hidden helper for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* responsive: smaller icons on narrow screens */
@media (max-width: 768px) {
  .nav-button img { max-height: 40px; }
  .nav-container { gap: 10px; }
}
/* Home Button */
.home-button {
    position: absolute;
    top: 32px;
    right: 32px;
    padding: 32px 135px;
    background-image: url(Images/homebrushstroke.webp);
    background-size: 70% auto;
    background-position: center;
    background-repeat: no-repeat;
    color: #660808;
    text-decoration: none;
    font-weight: normal;
    font-size: 26px;
    font-family: 'Aqui';
    z-index: 10;
}

.home-button:hover,
.home-button:focus {
  transform: scale(1.05);
  transition: transform 0.18s ease-in;
}

/* Hero Section (already full-bleed) */
.hero-section {
  min-height: 100vh;
  height: auto;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: 128px 32px 80px;
  position: relative;
  background-image: url("Images/herobgimg.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.hero-myname,
.hero-date {
  font-family: 'Aqui';
  font-size: clamp(24px, 3vw, 50px);
  color: #1570AC;
}

.hero-title1,
.hero-title2 {
  font-family: 'WhyBlink';
  font-size: clamp(120px, 22vw, 280px);
  font-weight: normal;
  background: linear-gradient(180deg, #0C228E 0%, #1570AC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.8;
}


.hero-myname {
    font-family: 'Aqui';
    font-size: 50px;
    color: #1570AC;
    transform: translate(-380px, 60px);
}

.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 1px;           /* control vertical spacing here */
  align-items: center; /* center horizontally (if needed) */
}

/* remove the previous margins so gap is authoritative */
.hero-title1, .hero-title2 {
  margin: 0;
}

.hero-title1 {
    font-family: 'WhyBlink';
    font-weight: normal;
    background: linear-gradient(180deg, #0C228E 0%, #1570AC 100%);
    -webkit-background-clip: text;
    background-clip: text; /* standard property for compatibility */
    color: transparent;
    display: inline-block;
    line-height: 0.80;
    transform: translate(110px, -60px);

}

.hero-title2 {
    font-family: 'WhyBlink';
    font-weight: normal;
    background: linear-gradient(180deg, #0C228E 0%, #1570AC 100%);
    -webkit-background-clip: text;
    background-clip: text; /* standard property for compatibility */
    color: transparent;
    display: inline-block;
    line-height: 0.80;
    transform: translate(-70px, -60px);
}

.hero-date {
    font-family: 'Aqui';
    font-size: 50px;
    color: #1570AC;
    margin-top: 32px;
    transform: translate(435px, -200px);
}

.hero-arrow {
    margin-top: 64px;
    position:absolute;
    bottom: 10px;
    left: center
}

/* Section Styles (base) */
section {
    min-height: 100vh;
    padding: 128px 32px;
    position: relative;
}

.section-title {
    font-family: 'WhyBlink';
    font-size: 96px;
    font-weight: normal;
        font-weight: normal;
    background: linear-gradient(180deg, #0C228E 0%, #1570AC 100%);
    -webkit-background-clip: text;
    background-clip: text; /* standard property for compatibility */
    color: transparent;
    margin-bottom: 64px;
}

.section-title-projects {
    font-family: 'WhyBlink';
    font-size: 200px;
    font-weight: normal;
        font-weight: normal;
    background: radial-gradient(circle at center , #0C228E 20%, #1570AC 100%);
    -webkit-background-clip: text;
    background-clip: text; /* standard property for compatibility */
    color: transparent;
    margin-bottom: 64px;    
}

.subsection-title {
    font-family: 'Helveticabold';
    font-size: 30px;
    font-weight: normal;
    color: #0C228E;
    margin-bottom: 16px;
}

.text-content {
    font-size: 18px;
    line-height: 1.7;
    color: #000;
}

/* Introduction Section (full-bleed background via ::before) */
.intro-section {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 128px 32px;
}

.intro-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-image: url("Images/introductionbgimg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Introduction content layout */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.intro-content {
    font-family:'Helvetica';
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.intro-block {
    display: grid;
    gap: 16px;
}

.text-list {
    list-style: disc;
    padding-left: 24px;
    font-size: 18px;
    color: #000;
}

.text-list li {
    margin-bottom: 8px;
}

.skills-subtitle {
    font-family: 'HelveticaBold';
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #000;
}

.intro-sidebar {
    display: grid;
    grid-template-rows: auto auto;
    gap: 32px;
    align-content: start;
}

.profile-photo {
    width: 100%;
    max-width: auto;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.contact-list {
    font-family: 'Helvetica';
    list-style: none;
    font-size: 18px;
    color: #000;
}

.contact-list li {
    margin-bottom: 8px;
}

/* Projects Section (full-bleed via ::before) */
.projects-section {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 128px 32px;
}

.projects-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-image: url("Images/projectsbgimg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.projects-buttons {
    display: grid;
    grid-template-rows: repeat(3, auto);
    gap: 24px;
    max-width: 576px;
    margin-left: auto;
    margin-right: 96px;
}

.project-button {
    padding: 16px 40px;
    background-color: #FBB728;
    color: #000;
    border: none;
    border-radius: 9999px;
    font-size: 20px;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-button:hover {
    background-color: #FBB728;
    transform: scale(1.05);
}

/* Experience Section (full-bleed via ::before) */
.experience-section {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 128px 32px;
}

.experience-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-image: url("Images/experiencebgimg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.software-section {
    display: grid;
    gap: 32px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.software-box {
    padding: 40px;
    width: 40px;
    background-color: #FBB728;
    border-radius: 2px;
}

.software-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.experience-content {
    display: grid;
    gap: 24px;
}

.exp-text {
    margin-bottom: 24px;
}

/* News Section (full-bleed via ::before) */
.news-section {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    padding: 128px 32px 0;
    padding-bottom: 192px;
}

.news-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-image: url("Images/newsbgimg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.news-title {
    font-size: 88px;
}

.news-content {
    max-width: 768px;
}

.news-text {
    font-size: 20px;
    margin-bottom: 16px;
    color: #000;
}

.site-footer {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: #FBB728;
    padding: 32px;
}

.footer-text {
    font-family: 'HelveticaBold';
    font-size: 20px;
    font-weight: normal;
    color: #000;
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 160px;
    }

    .section-title {
        font-size: 64px;
    }

    .intro-grid,
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .projects-buttons {
        margin-right: 32px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 96px;
    }

    .section-title {
        font-size: 48px;
    }

    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}