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

body {
    
    line-height: 1.6;
    background-color: #f5f2e5;
    /* margin: 0;
    height: 100vh; 
    background-image: url('../img/pink-background.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;  */
}

/* header */

.sticky-nav {
    position: sticky;
    top: 0;
    background-color: #f5f2e5;
    /* background-color: #fff5ed; */
    color: black;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}


.logo img {
    height: 40px;
    width: auto;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
    display: flex;
    flex-wrap: wrap; 
    list-style: none;
    font-size: large;
}

.nav-links ul li {
    position: relative; 
}


.nav-links a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    font-family: 'Lora', serif;
    font-weight: bold;
    position: relative;
}


.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; /* thickness of the line */
    background-color: #cb857c;
    transition: width 0.3s ease-in-out;
    z-index: 2;
}

.nav-links a:hover::after {
    width: 100%;
}


/* ADD CHAT BOX LINK FOR DROP DOWN MENU */

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f5f2e5;
    /* background-color: #fff5ed; */
    padding: 10px;
    list-style: none;
    top: 100%; /* Align under the parent link */
    left: 0;
    width: max-content;
    font-weight: normal;
    z-index: 1;
    
}

.nav-links .dropdown-menu li {
    margin: 5px 0;
}

.nav-links .dropdown-menu a {
    color: black;
    display: block;
    font-weight: normal;
    font-family: 'Roboto', sans-serif;
}

.nav-links .dropdown-menu a::after {
    display: none; /* remove hover line inside dropdown */
}

.nav-links .dropdown-menu a:hover {
    color: #cb857c; /* text turns pink on hover */
}

main {
    padding: 20px;
}

.dropdown-menu {
    display: none;
    padding-left: 20px;
    list-style-type: none;
    margin: 0;
}

/* When the dropdown is active, display it */
.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-menu {
    transition: all 0.3s ease-in-out;
}



/* MORE HEADER */

h1, h2 {
    margin-bottom: 20px;
}


/* HOME HOVER */

body, html {
    height: 95%;
    margin: 0;
    font-family: 'Lora', serif;
}

/* HERO SECTION*/
.hero {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    height: 95%;
    text-align: center; 
}

/* MAINTEXT*/
.main-text {
    font-size: 65px; 
    font-weight: bold; 
    margin: 0;
    transition: color 2s ease-in-out;
}

/* TAGLINE */
.tagline {
    font-size: 25px; 
    font-family: 'Roboto', sans-serif; 
    font-weight: normal; 
    margin-top: 10px;
    transition: color 3s ease-in-out;

    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #cb857c; /* pink typing cursor */
    animation: blink 0.8s step-end infinite;
}

/*TEXT TYPE (AI HELP: https://chatgpt.com/share/68d6ec50-d25c-8001-a0fe-cc80dfb887ad) */
@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #cb857c; }
}


#typing {
    text-decoration: underline;
    text-decoration-color: #cb857c; /* pink underline */
    text-decoration-thickness: 2px; /* optional: thicker underline */
}


/* VIDEO */
.vid-header {
    background-color: #9c805b; 
    padding: 30px 0;
    margin-top: 0px; 
    text-align: center;
}


/* BRIEFS */
.briefs-header {
    background-color: #8db0c4; 
    padding: 50px 0;
    margin-top: 0px; 
    text-align: center;
}

.briefs-embed {
    display: inline-block; 
    width: 560px; 
    height: 315px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    border-radius: 10px; 
    overflow: hidden;
}


.briefs-embed iframe {

    width: 100%; 
    height: 100%; 
    border-radius: 10px; 
    border: none; 
}


.briefs-embed:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px #8db0c4;
}

.reel-containerbriefs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 30px;
}

.reel-containerbriefs {
    display: flex;
    align-items: flex-start;
    gap: 70px; 
    margin-top: 80px;
    padding: 0 45px; 
    margin-bottom: 30px;
}

.reel-containerbriefs {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px; 
    padding: 10px 20px; 
    margin-top: 20px; 

}


/* MEDIA COVENANT */
.cov-header {
    padding: 50px 0;
    margin-top: 0px; 
    text-align: center;
}


/* Tried to use, didn't work out */

.instagram-container {
    max-width: 500px;  /* adjust width */
    margin: 40px auto; /* centers the embed */
    border-radius: 8px; /* optional rounding */
    overflow: hidden;   /* keeps edges clean */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optional styling */
}



/* GENERAL */

.media-section {
    color: black;
}

.header h2.subtitle {
    font-size: 1.2em; 
    color: black;              /* change text color to black */
    font-weight: normal;       
    margin-top: 15px; 
    font-family: 'Roboto', sans-serif; /* use Roboto */

    /* typing effect */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #cb857c; /* pink cursor */
    animation: typing 5s steps(60, end), blink 0.8s step-end infinite;
    padding-right: 0.2em;
}

/* @keyframes typing {
    from { width: 0 }
    to { width: 50% }
} */

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #cb857c; }
}

.header h1 {
    font-size: 3.2rem;
    color: black;
    margin: 0;
}

.description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 40px;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 45px; 
    padding-right: 45px; 
}




/* MEDIA DTH */

.dth-header {
    /* background-color: #7393a8;  */
    padding: 50px 0;
    margin-top: 0px; 
    text-align: center;
}




/* NEW REEL CODE */

.reel-container {
    display: flex;
    align-items: flex-start;
    gap: 50px; /* space between carousel and text */
    margin: 0 auto 80px auto;  
    max-width: 1200px; /* keeps content from stretching too wide */
    padding: 0 20px;
  }
  
  /* Carousel wrapper */
  .carousel {
    flex: 0 0 360px; /* reel column width */
    position: relative;
    overflow: hidden;
  }
  
  /* Track */
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  /* Each item */
  .carousel-item {
    min-width: 100%;
    box-sizing: border-box;
  }
  
  /* Reel embeds */
  .carousel iframe,
  .carousel .instagram-media {
    width: 100%;
    height: 550px; /* taller reels */
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cb857c;
    border: none;
    color: white;
    font-size: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
  }
  
  .carousel-btn.prev { left: 10px; }  /* move outside reel */
  .carousel-btn.next { right: 10px; }
  
  /* Description */
  .reel-description {
    flex: 1;
    max-width: 700px;
    padding-right: 30px;
  }
  
  .reel-description h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .reel-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: 'roboto', sans-serif;
  }

  .reel-description.special-spacing p:nth-of-type(2) {
    margin-top: 20px; /* Adjust the value to your preference */
}
  
  /* Responsive adjustments */
  @media (max-width: 900px) {
    .reel-container {
      flex-direction: column;
      align-items: center;
    }
  
    .carousel {
      flex: 1 1 100%;
      max-width: 400px;
    }
  
    .reel-description {
      max-width: 100%;
      padding-right: 0;
      margin-top: 20px;
    }
  }
  
  /* Adjust height for smaller screens */
  @media (max-width: 500px) {
    .carousel iframe,
    .carousel .instagram-media {
      height: 400px !important; /* adjust height for small screens */
    }
  
    .carousel {
      flex: 1 1 100%;
    }
  
    .reel-container {
      flex-direction: column; /* stack carousel above text */
      align-items: center;
    }
  
    .reel-description {
      max-width: 100%;
      padding: 0 15px;
    }
  }





/* REEL CAROUSEL */
  
  /* Track that moves */
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* overflow: hidden;  */
    width: 100%;
  }
  
  /* Buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #cb857c;
    border: none;
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
  }
  
  .carousel-btn.prev { left: 10px; }
  .carousel-btn.next { right: 10px; }


  .carousel {
    max-width: 500px; /* give reels enough space */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }
  
  /* Make sure each item centers its embed */
  .carousel-item {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex: 0 0 100%; */
  }
  
  /* Force Instagram embed to respect container */
  .instagram-media {
    max-width: 100% !important;
    min-width: 300px !important;
    margin: 0 auto !important;
  }



/* trying new carousel */
  .carousel-wrapper {
    position: relative;   /* buttons will be positioned relative to this */
    display: inline-block;
  }

  .carousel iframe {
    width: 325px;   /* your preferred reel width */
    height: 550px;  /* keep proportional height */
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 auto; /* center reel inside carousel */
  }





/* TIKTOK SPECIFIC */

.tiktok-embed {
    background-color: #f5f2e5;
    width: 320px !important;
    height: 570px !important;
    margin: 0 !important;   /* removes extra white space */
    padding: 0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 0px;
}

.carousel-btn{
    z-index: 5;
}

.carousel blockquote {
    width: 325px;   /* your preferred reel width */
    height: 550px;  /* keep proportional height */
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin: 0 auto; /* center reel inside carousel */
  }






/* PDF EMBED */
.pdf-embed {
    width: 370px;          /* match other reels */
    height: 443px;         /* proportional height */
    max-width: 100%;       /* prevents overflow on smaller screens */
    margin-left: 90px;
    margin-right: 30px;
    display: block;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.carousel-item.pdf-item {
    display: flex;
    justify-content: center; /* centers PDF */
    width: 100%;             /* let PDF control width */
    padding-left: 0;         /* remove extra padding */
    padding-right: 0;
    box-sizing: border-box;
    width: 370px;          /* match other reels */
    height: 443px;
}

.reel-container.pdf-container{
    gap: 120px;
    margin-left: 61px;
    padding-left: 61px;
}

.pdf-container .carousel {
    padding-left: 10px;   /* space where left button would be */
    padding-right: 10px;  /* space where right button would be */
    box-sizing: border-box;
}

.pdf-description{
    margin-right: 45px;
    /* padding-right: 50px; */
}





/* DESIGN PAGE */

.reel-container.figma-container {
    display: flex;
    align-items: flex-start;
    gap: 50px; /* space between figma embed and text */
    margin: 0 auto 80px auto;
    max-width: 1200px;
    padding: 0 20px;
  }
  

  /* DESIGN: NEW SETUP */


  .figma-project {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .figma-embed {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .figma-info {
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }
  
  .figma-left, .figma-right {
    flex: 1;
  }
  
  .figma-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .figma-skills {
    font-size: 0.95rem;
    color: #555;
  }
  
  .figma-description {
    font-size: 1rem;
    line-height: 1.5;
  }











/* LINK DECOR */

a {
    color: #cb857c;    
    font-weight: bold;
    text-decoration: none; /* no underline by default */
  }
  
  .reel-description a:hover {
    text-decoration: underline;
    text-decoration-color: #cb857c;
  }







/* YOUTUBE STYLES (AI HELP: https://chatgpt.com/c/675b4726-c358-8001-80ba-3c7c02ebeac5)*/

.video-embed {
    display: inline-block; /* Wraps tightly around the iframe */
    width: 560px; /* Matches iframe width */
    height: 315px; /* Matches iframe height */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Uniform shadow */
    border-radius: 10px; /* Match iframe border-radius */
    margin-bottom: 15px;
    overflow: hidden; /* Ensures nothing exceeds the container */
}



.video-embed iframe {
    display: block; /* Removes inline spacing */
    width: 100%; /* Dynamically adjust to parent container */
    height: 100%; /* Matches parent container height */
    border-radius: 10px; /* Match .video-embed border-radius */
    border: none; /* Removes extra border if present */
}

.video-embed:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px #9c805b;
}

.reel-containervid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 30px;
}

.reel-containervid {
    display: flex;
    align-items: flex-start;
    gap: 70px; 
    margin-top: 80px;
    padding: 0 45px; 
    margin-bottom: 30px;
}

.reel-containervid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px; 
    padding: 10px 20px; 
    margin-top: 20px; 

}

/* ABOUT (AI HELP: https://chatgpt.com/c/675b4726-c358-8001-80ba-3c7c02ebeac5) */  

.about-embed {
    display: block; /* Makes the container a block-level element */
    width: 100%; /* Ensures the container takes up the full width of its parent */
    max-width: 600px; /* Limit the width to avoid too large an image on wide screens */
    height: auto; /* Let the height scale proportionally with the width */
    margin: 0 auto; /* Centers the container horizontally */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Uniform shadow */
    border-radius: 10px; /* Match iframe border-radius */
    overflow: hidden; /* Ensures nothing exceeds the container */
}

.about-header {
    background-color: #b58a81;
    padding: 30px 0;
    margin-top: 0px; 
    text-align: center;
}


.about-embed img {
    display: block; /* Removes inline spacing */
    width: 100%; /* Makes the image take up the full width of the container */
    height: auto; /* Maintains the aspect ratio */
    border-radius: 10px; /* Match .about-embed border-radius */
    object-fit: cover; /* Ensures the image covers the container without distorting it */
    object-position: center; /* Ensures the image is centered within the container */
}


.about-embed:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px #b58a81;
}

.aboutdescription p {
    margin-bottom: 18px;
}





/* ABOUT PT.2 (AI HELP: https://chatgpt.com/c/675b4726-c358-8001-80ba-3c7c02ebeac5)*/ 


.reel-containerabout {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 30px;
}

.reel-containerabout {
    display: flex;
    align-items: flex-start;
    gap: 70px; 
    margin-top: 80px;
    padding: 0 45px; 
    margin-bottom: 30px;
}

.reel-containerabout {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 30px; 
    padding: 10px 20px; 
    margin-top: 20px; 

}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-top: 20px;
}


.contact-box {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
}


.resume-link {
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: #b58a81; /* Highlighted color for the link */
    transition: color 0.3s ease;
}

.resume-link:hover {
    color: #95656c; /* Darker color on hover */
}


.email {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    color: #b58a81; /* Highlighted color for the link */
    transition: color 0.3s ease;
}

.email:hover {
    color: #95656c; /* Darker color on hover */
}




/* SKILLS */

.reel-description h3 {
    font-size: 1.8rem;
    margin-top: 25px;
    margin-bottom: 10px;
}



/* FOOTER */

.footer{
    height: 50px;
}

/* FOR MOBILE; ALL THE MEDIA QUERYS (AI HELP: https://chatgpt.com/c/675b4726-c358-8001-80ba-3c7c02ebeac5)*/       

@media screen and (max-width: 768px) {
    .reel-container {
      flex-wrap: wrap;
      padding-left: 45px;
      padding-right: 45px;
    }
  
    .reel-description, .description {
      padding-top: 15px;
    }

    .reel-embed,
    .reel-description, .video-embed, .briefs-embed{
        flex-basis: 100%; /* Ensures both take up the full width when wrapping */
        width: 100%; /* Matches the reel's width */
    }

    .header {
        flex-wrap: wrap;
        padding-left: 45px;
        padding-right: 45px;
      }

}


@media screen and (max-width: 768px) {
    .reel-container {
        flex-wrap: wrap; /* Stack items vertically */
        gap: 15px;
        padding: 0 20px; /* Adjusted padding for smaller screens */
    }

    .reel-embed iframe,
    .reel-description, .video-embed iframe, .briefs-embed iframe {
        flex-basis: 100%; /* Full width for both items */
        max-width: 100%; /* Prevent overflow */
    }

    .reel-description {
        margin-top: 15px; /* Add spacing between stacked items */
    }
}



.nav-links ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hamburger {
    display: none;
}

.hamburger {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Media Query for Smaller Screens */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .nav-links ul {
        display: none;
        flex-direction: column;
        background-color: #f5f2e5;
        position: absolute;
        top: 50px;
        right: 10px;
        width: 200px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        padding: 1rem;
        border-radius: 5px;
    }

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

    .dropdown-menu {
        display: none;
        flex-direction: column;
        padding-left: 1rem;
    }

    .dropdown:hover .dropdown-menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-links .dropdown-menu {
        position: static; /* Change the position to static when on smaller screens */
        width: 100%; /* Make the dropdown take up full width */
        background-color: #f5f2e5; /* You can keep the same background color */
        padding: 1px; /* Adjust padding to suit the design */
        list-style: none;
        font-weight: normal;
        display: none; /* Initially hidden until the hamburger menu is clicked */
        top: -15px; /* Align under the parent link */
        right: 109.7%;
        border: none;
        box-shadow: none;
    }
}