@font-face {
  font-family: 'MauritiusCondensed';
  src: url('Mauritius W01 Condensed.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'MauritiusItalic';
  src: url('Mauritius W01 Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'MauritiusCondensed', sans-serif;
  color: #084c61;
  line-height: 1.6;
}

p{
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
header {
  background-color: #f7eee3;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 20px 20px;
  background-color: #f7eee3;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin-left: auto;
  margin-top: 0;
}

.nav-links li a {
  text-decoration: none;
  list-style: none;
  color: #084c61;
  font-family: Arial, Helvetica, sans-serif;
}

.logo img {
  max-width: 100%;
  background-color: #f7eee3;
  background: none;
  text-align: right;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-right: 20px;
  padding: 0;
  margin-left: auto;
  background-color: #f7eee3;
  text-decoration: none;
}

nav a {
  text-decoration: none;
  color: #084c61;
  position: relative;
  text-align: right;
  background-color: #f7eee3;
}

.navbar a.active {
  border-radius: 1rem;
  background-image: url('ELEMENTS/CIRCLE.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
  position: relative;
  padding: 15px;
  text-decoration: none;
}

.navbar a:hover {
  text-decoration: none;
}

.underline {
  font-style: italic;
  display: inline-block;
  background-image: url(ELEMENTS/UNDERLINE.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% 5px;
  height: 70px;
}

body {
margin: 0;
padding: 0;
font-family: 'MauritiusCondensed', sans-serif;
color: #084c61;
background-color: #f7eee3;
}

.bar {
  height: 15px;
  background-color: #084c61;
}

.content-section {
  text-align: center;
  background-color: #f7eee3;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.content-header {
margin-bottom: 2rem;
padding-top: 370px;
padding-bottom: 370px;
}

.content-title {
color: #084c61;
font-size: 100px;
font-family: 'MauritiusCondensed', serif;
margin: 0;
line-height: 1;
text-align: center;
}

  .content-title.sub {
    margin-top: -0.5rem;
    font-family: 'MauritiusItalic', serif;
    font-style: italic;
}

.content-subtitle {
font-size: 20px;
font-family: Arial, Helvetica, sans-serif;
text-transform: uppercase;
text-align: center;
color: #084c61;
margin-top: 0.5rem;
}

.content-block {
background-color: #cbebea;
padding: 3rem;
text-align: right;
}

.h2{
  font-size: 50px;
  margin-bottom: 1.5rem;
  color: #084c61;
  margin-right: 20px;
  margin-left: 20px;
}

.h2-uploaded{
font-size: 50px;
margin-bottom: 1.5rem;
color: #084c61;
margin-right: 20px;
margin-left: 20px;
font-style: italic;
}

.goal-block{
  text-align: left;
  padding-right: 20px;
  padding: 3rem;
}

.circle{
  font-style: italic;
  border-radius: 2rem;
  background-image: url('ELEMENTS/CIRCLE.png');
  background-size: contain;
  background-position: 5px center;
  background-repeat: no-repeat;
  right: 6px;
  z-index: 1;
  position: relative;
  padding: 16px;
}

.i-do-block{
  text-align: right;
  background-color: #cbebea;
  padding: 3rem
}

.arrow {
  position: absolute;
  display: block;
  top: 80px;
  z-index: 2;
  margin: 0;
  margin-left: 300px;
  height: 100px;
}

.y-arrow {
position: absolute;
display: block;
top: 150px;
z-index: 2;
margin: 0;
margin-left: 130px;
height: 100px;
}

.g-arrow {
position: absolute;
display: block;
top: 120px;
z-index: 2;
margin: 0;
margin-left: 100px;
height: 100px;
}

.uploaded-on {
  text-align: left;
  padding-right: 20px;
  padding: 3rem;
  position: relative;
}

a:link {
  text-decoration: none;
  color: #084c61;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active {
  text-decoration: underline;
}

.platform{
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  padding-left: 65px;
  list-style: none;
  text-align: left;
  text-decoration: none;
  color: #084c61;
}

.platform a{
  text-decoration: none;
  color: #084c61;
}

.platform-column {
  width: 30%;
  margin-bottom: 20px;
  color: #084c61;
  list-style: none;
}

.platform-item{
  font-family: Arial, Helvetica, sans-serif;
  font-size: large;
  color: #084c61;
  padding-left: 20px;
}

.platform-item-2{
  font-family: Arial, Helvetica, sans-serif;
  font-size: larger;
  color: #084c61;
  padding-left: 20px;
}

.video-hover {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
}

.video-hover1 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  background-color: #f7eee3;
}

.preview-img,
.hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
  border-radius: 5px;
  background-color: #f7eee3;
}

.hover-video {
  opacity: 0;
  pointer-events: auto; /* allow interaction so video can play */
}
.hover-video1 {
  opacity: 0;
  pointer-events: auto; /* allow interaction */
  z-index: 1;
}

.video-hover:hover .hover-video {
  opacity: 1;
}

.video-hover1:hover .hover-video1 {
  opacity: 1;
}

.video-hover:hover .preview-img {
  opacity: 0;
}

.video-hover1:hover .preview-img1 {
  opacity: 0;
}

.click-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.video-hover:hover {
  opacity: 1;
}

.video-hover1:hover {
  opacity: 1;
}

.thumbnail {
  background-color: #cbebea;
  text-align: center;
  padding-right: 20px;
  padding: 3rem;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.thumbnail h2 {
  text-align: center;
  margin-right: 20px;
}

.thumbnail p {
  text-align: center;
  margin-top: -20px;
}

.thumb-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.8rem;
margin: 2rem auto;
padding: 0 2rem;
}

.thumb-grid1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 2rem auto;
  padding: 0 2rem;
  }

.thumb-item img {
width: 100%;
height: auto;
display: block;
position: relative;
}

.thumb-item img, 
.video-hover .preview-img, 
.video-hover .hover-video {
  width: 100%;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}

.preview-img1, 
.video-hover1 .hover-video1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
  border-radius: 5px;
  background-color: #f7eee3;
}

/* Color sections */
.thankfulness-section {
background-color: #f7eee3;
}

.youtube-section {
background-color: #f7eee3;
}

.gaming-section {
background-color: #f7eee3;
}


footer {
  background-color: #084c61;
  color: #D4F8F8;
  padding: 50px 80px;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: flex-start;
}

.footer-contacts {
  flex: 1;
}

.footer-nav {
  flex: 1;
  text-align: right;
}

.socials {
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials li {
  margin-right: 30px;
  margin-bottom: 10px;
}

.footer-contacts a {
  color: #D4F8F8;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #D4F8F8;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copyright {
  border-top: 1px solid rgba(212, 248, 248, 0.2);
  padding-top: 20px;
  text-align: center;
}

#email {
  color: #cbebea;
  cursor: pointer;
}

#email:hover{
  text-decoration: underline;
}

#popup {
  position: absolute;
  background-color: #f7eee3;
  color: #084c61;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 14px;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
  pointer-events: none;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
}

/* Smooth “pop” on hover for image cards (no video needed) */
.video-hover,
.video-hover1 {
  transition: transform 0.25s ease;
  transform-origin: center;
}

.video-hover:hover,
.video-hover1:hover {
  transform: scale(1.04);
  z-index: 5;
}

/* Keep the image crisp and stable */
.preview-img,
.preview-img1 {
  transition: none;
}

/* Optional: keep overlay clickable while scaling */
.video-hover .click-overlay,
.video-hover1 .click-overlay {
  position: absolute;
  inset: 0;
}

/* If any parent is clipping the scale, allow it */
.thumb-grid,
.thumb-grid1 {
  overflow: visible;
}

/* Keep images visible on hover (override old hover-to-video behavior) */
.video-hover:hover .preview-img,
.video-hover1:hover .preview-img1 {
  opacity: 1 !important;
}

/* In case any leftover hover-video elements exist, force-hide them */
.hover-video,
.hover-video1 {
  display: none !important;
}

.garden-preview {
  width: 100%;
  max-width: 1400px;
  margin: 2rem auto;

  height: min(85vh, 900px);
  min-height: 520px;

  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f7eee3;
}

.garden-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .garden-preview {
    height: 85vh;
    min-height: 600px;
  }
}


@media (max-width: 1024px) {
  .thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    padding: 0 1.5rem;
  }
  
  .thumbnail {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .thumb-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1.5rem;
  }
  
  .thumbnail {
    padding: 2rem;
  }
    .content-title {
    font-size: 60px;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
  }

  .content-title.sub {
    font-size: 55px;
  }

  .content-subtitle {
    font-size: small;
  }

  .arrow {
    padding-top: 10px
  }

    .y-arrow {
    top: 100px;
    margin-left: 60px;
  }

  .g-arrow {
    top: 90px;
    margin-left: 90px;
  }
  
}

@media (max-width: 550px) {
  .thumb-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 1rem;
  }
  
  .thumbnail {
    padding: 1.5rem;
  }

    .y-arrow{
    padding-bottom: 100px;
  }

    .y-arrow {
    top: 100px;
    margin-left: 40px;
  }

  .g-arrow {
    top: 90px;
    margin-left: 70px;
  }

}

@media (max-width: 350px) { 
  .thumb-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .thumb-grid1 {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .thumbnail {
    padding: 1rem;
  }
}

@media (max-width: 1024px) {
  .content-block, 
  .goal-block, 
  .i-do-block, 
  .uploaded-on {
    padding: 2.5rem;
  }
  
  .platform {
    padding: 0 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .content-block, 
  .goal-block, 
  .i-do-block, 
  .uploaded-on {
    padding: 2rem;
  }
  
  .platform {
    padding: 0 2rem 1.5rem;
  }
  
  .platform-column {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 550px) {
  .content-block, 
  .goal-block, 
  .i-do-block, 
  .uploaded-on {
    padding: 1.5rem;
  }
  
  .platform {
    padding: 0 1.5rem 1rem;
  }
  
  .platform-column {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .arrow, .y-arrow, .g-arrow {
    max-width: 80px;
    height: auto;
    margin-left: 80px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin: 1rem 0 0 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background-color: #f7eee3;
    text-align: left;
  }

  .footer-container {
    flex-direction: column;
  }
  
  .footer-nav {
    text-align: left;
    margin-top: 20px;
  }
}
/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .hero-image img {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-image {
    justify-content: center;
  }
  
  .hello-section {
    flex-direction: column;
  }
  
  .photo-card {
    margin-bottom: 2rem;
  }
  
  .interest-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .work-section h2 {
    float: none;
    text-align: left;
  }
  
  .work-item {
    flex-direction: row;
  }
  
  .company {
    text-align: left;
    padding-right: 0;
  }

  .thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

  .thumb-grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

}

@media (max-width: 550px) {
  .thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

  .thumb-grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }
  
  .navbar {
    flex-direction: column;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
  }
  
  .hero {
    padding: 1rem;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }

  .thumb-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

  .thumb-grid1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
  }
  
  .hello-section,
  .goals-section,
  .education-section,
  .work-section,
  .fun-facts-section,
  .interested-section,
  .contact-section {
    padding: 2rem 1rem;
  }
}
html, body {
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;       
    align-items: center;       
    justify-content: space-between;        
    padding: 10px 20px;
    font-size: small;
    padding-top: 34px;

  }

  .logo {
    max-width: 120px;
    flex-shrink: 0;
  }

  .logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .nav-links {
    flex-direction: row;       
    gap: 12px;
    margin-left: auto;
    width: auto;
    font-size: small;
  }

  .nav-links li a {
    font-size: 14px;
    padding: 6px 10px;
    background-color: transparent;
    text-align: right;
  }

  .navbar a.active {
    padding: 12px;
  }
}

@media (max-width: 540) {
  .nav-links li a
  {font-size: 12px;}
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: auto;
}

.burger .bar {
  width: 25px;
  height: 3px;
  background-color: #084c61;
  transition: all 0.3s;
}

/* Show burger and hide links on small screens */
@media (max-width: 768px) {
  .burger {
    display: flex !important; /* FORCE display */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    padding: 10px;
    border-bottom: 1px solid #084c613b;
  }

  .navbar a.active {
    background-image: none;
    border-radius: 0;
  }
}
