 body, html {
      margin: 0;
      padding: 0;
      height: 100%;
text-align: center; /* base center */
     font-family: 'Playfair Display', serif;
      background: #FDF7E9; /* Old Lace */
      color: #212121; /* Mine Shaft */
  position: relative;
    


    }



.fade-in {
  opacity: 0;                  /* start hidden */
  transform: translateY(20px); /* optional: slight slide up */
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;                  /* fade in */
  transform: translateY(0);
}

h1 a {
  text-decoration: none;
  color: inherit;
}

   section.landing {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;   /* move content to the top */
  align-items: center;
  background: #FDF7E9;
  text-align: center;
  padding-bottom: 34px;
  position: relative;
  z-index: 5;
font-family: "IBM Plex Sans", sans-serif;


}
    section.landing h1 {
      font-family: 'Playfair Display', serif;
      font-size: 4rem;
      margin: 0;
    }
    section.landing p {
      font-size: 1.2rem;
      margin-top: 1rem;
color:#a6051a;
text-transform:uppercase;
font-weight:700;
    }

    /* --- Panels --- */
    section.panel {
      position: relative;
       min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
text-decoration:none;
  z-index: 1;

padding: 10%;

    }

    .content {
      z-index: 2;
      text-align: center;
text-decoration:none;
    }



p {

max-width: 700px;
  margin: 0 auto;


}
    h1 {
      font-family: 'Playfair Display', serif;
      font-size: 2rem;
      margin: 0;
      color: #a6051a; /* red */
text-decoration:none;
text-align: center;
    }

  h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.7rem;
 font-weight: 500;
      margin: 0;
      color: #a6051a; /* red */
text-decoration:none;
text-align: center;
    }


.experience-title {
  text-align: center;
}

.h2-wrap {
  position: relative;
  display: inline-block;
}

.h2-wrap h2 {
  margin: 0;
}

.view-more {
  position: absolute;
  left: 100%;        /* starts right after the h2 text */
  margin-left: 12px;
  top: 65%;
  transform: translateY(-50%);
 font-family: "Sirivennela", sans-serif;
  font-size: 0.95em;
  font-style: italic;
  font-weight: normal;
  text-decoration: none;
  color: #b23a3a;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.view-more:hover {
  border-bottom: 1px solid currentColor;
  opacity: 0.8;
}
.hero-img {
      max-width: 60%;
      transform: scale(1);
     padding-top:75px;
    }

    .overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      opacity: 0;
      z-index: 1;
     pointer-events: none;
    }

    .panel1 { background: #FDF7E9;}
    .panel2 { background: #FDF7E9; }
    .panel3 { background: #a6051a; color:#ffffff;}


/* SIGNATURE SEGMENTS SECTION */
.signature-section {
  background:#FDF7E9;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* MAIN GRID */
.signature-wrapper {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  position: relative;
}

/* PHOTO STRIP */
.photo-strip {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.strip-img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* TEXT */
.signature-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #a6051a;
}

.signature-text p {
  color: #a6051a;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 600px;
}

/* STICKERS */
.sticker {
  position: absolute;
  width: 120px;
  z-index: 5;
}

.alpaca {
  top: 0px;
  right: 0px;
transform: rotate(15deg);
}



/* LICENSE CARD */
.license-card {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: #fff;
  padding: 20px 25px;
  width: 260px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  font-size: 0.9rem;
}

.license-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.stamp {
  margin-top: 15px;
  font-weight: bold;
  color: #d62828;
  border: 2px solid #d62828;
  padding: 4px 8px;
  display: inline-block;
  border-radius: 4px;
}


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

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fbf6e9; /* cream background */
  z-index: 1000;
}

/* NAV CONTENT */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  position: relative;
}

/* LINKS */
.nav-left a,
.nav-right a,
.mobile-menu a {
  text-decoration: none;
  color: #b11217; /* deep red */
  font-weight: 500;
  margin-right: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
font-family: 'Playfair Display', serif;
}

.nav-left a:last-child {
  margin-right: 0;
}

/* CENTER NAME */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
font-family: "Sirivennela", sans-serif;


}

.nav-center a {
  text-decoration: none;
  color: #b11217;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* MOBILE TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: #b11217;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #fbf6e9;
  padding: 20px 40px;
}

.mobile-menu a {
  margin-bottom: 16px;
  font-size: 16px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-center a {
    font-size: 26px;
  }
}

.social-links a {
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.3s;

}

.social-links a:hover {
  color:#a6051a; /* Default to LinkedIn blue on hover */
}

.retro{
padding-top:5px;

}
.retro button{
  background-color: #a6051a;
  border: 2px solid #5c0615;
  padding: 10px 20px;
  box-shadow: 3px 3px #5c0615;
  font-weight: bolder;
color: #ffffff;
 position: relative;
  z-index: 10;
}

.retro button:hover {
    background-color: #e62020;
}

.retro button:active {
    box-shadow: 0px 0px black;
    transform: translate(5px, 5px);
}


.divider {
  width: 60px;
  height: 1px;
  background-color: #b30000;
  margin: 1.5rem auto;
  opacity: 0.4;
}

.tiktok_man {

font-family: 'Playfair Display', serif;
max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.counter-wrap {
      display: flex;
      gap: 10px;
      text-align: center;
      padding-top:3%;
max-width: 700px;   /* keeps everything within 700px */
  margin: 0 auto; 
font-family: "Sirivennela", sans-serif;

    }

    .counter-item {
      flex: 0 0 33.33%;
    }

    .counter-number {
      font-size: 30px;
      font-weight: 800;
 letter-spacing: 0.05em;



    }

    .counter-label {
      font-size: 25px;
      opacity: 0.9;

    }


::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #FDF7E9; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #a6051a; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a6051a; 
}




.phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom:5%;
  padding-top:5%;
}

/* PHONE FRAME */
.phone {
  position: relative;
  background: #000;
  border-radius: 40px;
  padding: 12px;
  width: 230px;
  height: 460px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 80px;
  left: -3px;
  width: 3px;
  height: 50px;
  background: #333;
  border-radius: 3px;
}

.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #000;
  border-radius: 10px;
  z-index: 2;
}

.screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.screen img,
.screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment {
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;                      /* crucial for flex/grid children to be allowed to shrink */
  box-sizing: border-box;
  padding-bottom:10%;
}

.segment > * {
  flex: 1 1 calc(50% - 0.5rem);      /* two across on wide viewports */
  max-width: calc(50% - 0.5rem);
  min-width: 0;                      /* crucial so it doesn't force the row wider than container */
  box-sizing: border-box;
}
.segment img 
{
width:100% !important;
height:auto;
}

.segment img.segment-img-animals {
  width: 180px !important;
  max-width: 180px;
  height: auto;
  flex: 0 0 auto;
}


/* OVERLAY */
.overlay_phone {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  background: rgba(0, 0, 0, 0.05);
}

.center-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

.icons {
  position: absolute;
  right: 8px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.icons i {
  color: white;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.phone p {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.phone a {
  color: #2b2b2b;
  font-weight: 600;
  text-decoration: underline;
}

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

.white-underline {
 text-decoration: none;
  border-bottom: 1px solid #fff; /* thin white line */
  padding-bottom: 1px;        /* space so line doesn't collide with text */
}

.black-underline {
 text-decoration: none;
color: black;
  border-bottom: 1px solid #1c1c1c; /* thin white line */
  padding-bottom: 1px;        /* space so line doesn't collide with text */
}



 /* HORIZONTAL SECTION */

.horizontal-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.scroll-wrapper {
  display: flex;
  height: 100vh;
  will-change: transform;

}

.item {
  flex: 0 0 100vw; /* each item = full screen */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 0 8vw;
}

.item img {
  height: 45vh;
  width: auto;
  object-fit: contain;
}

.item p {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #a6051a;
  max-width: 700px;
  line-height: 1.6;
}





.expand-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Start small */
.expand-section video {
  position: absolute;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transform-origin: center center;
  transition: transform 1.2s ease-out;
}

/* Expand when JS adds this class */
.expand-section video.expanded {
  transform: translate(-50%, -50%) scale(1);
}

 .project-section {
        max-width: 1400px;
        margin: 0 auto 140px;
        display: flex;
        align-items: flex-start;
        gap: 80px;
        padding: 0 150px;
    }

 .firstproject-section {
        max-width: 1400px;
        margin: 0 auto 140px;
        display: flex;
        align-items: flex-start;
        gap: 80px;
	padding: 100px 150px 10px 150px;
    }

    .project-section video {
        width: 510px;
        height: auto;
        object-fit: cover;
        border-radius: 3px;
    }

  .firstproject-section video {
         width: 510px;
        height: auto;
        object-fit: cover;
        border-radius: 3px;
    }

    .project-section img {
        width: 510px;
        height: auto;
        object-fit: cover;
        border-radius: 3px;
    }

  .firstproject-section img {
         width: 510px;
        height: auto;
        object-fit: cover;
        border-radius: 3px;
    }



    .text-block {
        max-width: 900px;
        letter-spacing: 1px;
        line-height: 1.28;
    }

.firsttext-block {
        max-width: 900px;
        letter-spacing: 1px;
        line-height: 1.28;
    }

    .label {
        font-family: "Playfair Display", serif;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 8px;
        display: inline-block;
	color:#a6051a;
    }

.firstlabel {
        font-family: "Playfair Display", serif;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
        margin-bottom: 8px;
        display: inline-block;
	color:#a6051a;
    }
    .big-text {
        font-family: "Playfair Display", serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.25;
	
    }

 .firstbig-text {
        font-family: "Playfair Display", serif;
        font-size: 20px;
        font-weight: 400;
        line-height: 1.25;
	

    }

@media (max-width: 900px) {
  .project-section video,
  .firstproject-section video {
    width: 100%;
  }
}
   @media (max-width: 900px) {
        .project-section {
            flex-direction: column;
            text-align: left;
        }
        .project-section img {
            width: 100%;
        }
 .firstproject-section {
            flex-direction: column;
            text-align: left;
        }
        .firstproject-section img {
            width: 100%;
        }
    }


.hover-gif {
  width: 300px;          /* change as needed */
  cursor: pointer;
}

/* Section wrapper */
.webdesign-section {
  background: #8b0000; /* deep red */
  color: white;
  display: flex;
  min-height: 100vh;
  position: relative;
    
}



/* Right content */
.webdesign-content {
  padding: 60px 40px;
  flex: 1;
text-align:center;
}

.webdesign-content h2 {
  font-size: 2em;
  letter-spacing: 1.5px;
  margin: 0 auto;
  color: white;
  display: block;       /* ensures full-width behavior */
  width: 100%;
}



.webdesign-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 55px;
}

/* Remove default browser spacing */
.webdesign-gallery figure {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* Remove underline from links */
.webdesign-gallery a {
  text-decoration: none;
}

/* Image styling */
.webdesign-gallery img {
  width: 420px;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.webdesign-gallery img:hover {
  transform: scale(1.03);
}

/* Caption styling */
.webdesign-gallery figcaption {
  margin-top: 10px;       /* controls spacing under image */
  color: #ffffff;         /* white font */
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-decoration: none;  /* ensure no underline */
}


/* Modal overlay */
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
}

/* Modal box */
.contact-content {
  background: #fff;
  width: 420px;
  margin: 12% auto;
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  font-family: 'Open Sans', sans-serif;
  color: #b11217;
}

.contact-content h2 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  color: #b11217;
}

/* Close button */
.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #b11217;
}

