
/* =====================
   BASE
   ===================== */
   body {
    font-family: Arial;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  p { font-family: 'Inter', sans-serif; color: black; }
  h2 { color: black; font-size: 1.4rem;text-align: center; }
  h3 { color: black; text-align: left; margin-top: 60px; margin-bottom: 30px;}
  ul, li { color: black; }
  
  input, textarea { padding: 10px; }
  button { background: black; color: black; padding: 10px; border: none; }
  
  /* =====================
     NAV
     ===================== */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: lightgray;
  }
  
  nav ul { display: flex; gap: 20px; list-style: none; }
  nav a { text-decoration: none; color: black; font-weight: bold;  }
  
  /* =====================
     BUTTONS
     ===================== */
  .button {
    background: black;
    color: #CFD9DF;
    padding: 10px 20px;
    text-decoration: none;
    animation: cardReveal 0.8s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
  }
  
  .home .button {
    display: inline-block;
    transition: all 0.4s ease;
    margin-top: 10px;
  }
  
  .home .button:hover {
    transform: scale(1.1);
    background-color: black;
    color: #2E1A47;
  }
  
  .project .button {
    display: inline-block;
    width: fit-content;
    margin-top: 10px;
  }
  
  /* =====================
     HOME
     ===================== */
  .home {
    padding: 40px 20px;
    text-align: center;
  }
  
  .home h2 {
    animation: cardReveal 0.8s ease-out forwards;
    transform-origin: top;
  }
  
  .about-text {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: black;
    font-size: 1.1rem;
    line-height: 1.6;
    text-transform: none;
    animation: cardReveal 1s ease-out forwards;
    animation-delay: 0.4s;
    transform-origin: top;
    opacity: 0;
  }
  
  @keyframes cardReveal {
    from { opacity: 0; transform: rotateX(-90deg); }
    to   { opacity: 1; transform: rotateX(0deg); }
  }
  
  /* =====================
     ABOUT
     ===================== */
  .about {
    text-align: left;
    margin-bottom: 20px;
    color: black;
  }
  
  .about img { width: 200px; height: 300px; }
  
  .about p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #333;
    text-align: left;
    padding: 20px;
  }
  
  /* =====================
     PROFILE
     ===================== */
  .profile { height: 100px; }
  
  .profile-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
  }
  
  .profile-flex p {
    flex: 1;
    max-width: 600px;
    color: black;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .profile-flex .button {
    display: inline-block;
    margin-top: 15px;
    opacity: 1;
    animation: none;
    margin-left: 20px;
  }

  .profile-pic {
    width: 250px;
    height: auto;
    border: 4px solid #2E1A47;
  }
  
  .profile-pic:hover {
    transform: scale(1.05);
    cursor: pointer;
  }
  
  @media (max-width: 768px) {
    .profile-flex { flex-direction: column; text-align: center; }
  }
  

  
  /* =====================
     WORK / PROJECTS
     ===================== */
  .work {
    text-align: center;
    padding: 80px 20px;
  }
  
  .project {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: lightgray;
    padding: 30px;
    border-radius: 20px;
  }
  
  .project img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }
  
  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }
  

  /* =====================
     FOOTER
     ===================== */
  footer {
    display: block;
    clear: both;
    background: lightgray;
    padding: 30px 0;
    width: 100%;
    margin-top: auto;
  }
  
  footer ul { display: flex; justify-content: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
  footer a { color: black; text-decoration: none; font-weight: bold; }
  
  /* =====================
     FLIP CARDS
     ===================== */
  .card-scene {
    width: 350px;
    height: 500px;
    perspective: 1000px;
    margin: 0 auto;
  }
  
  .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  
  .card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 5px solid black;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
  }
  

  
  .card-design {
    width: 80%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #D4AF37;
    text-align: center;
    text-transform: uppercase;
  }
  
  .card-back {
    background: lightgray;
    color: #2E1A47;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
    text-align: left;
  }
  
 
  .card-back img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #CF862D;
  }
  
 
  /* =====================
     SKILLS
     ===================== */
     .skills-para {
      max-width: 700px;
      margin: 0 auto;
      line-height: 1.6;
      font-size: 1.1rem;
      text-align: left;
      padding: 20px;
    }
  

  /* =====================
     HOVER TRANSITIONS
     ===================== */
  .card-inner, .button, .shows img {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.3s ease;
  }
  
  .card-scene:hover .card-inner, .shows img:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }
  
  /* =====================
     CASE STUDY
     ===================== */
  .case-study-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 20px;
  }
  
  .cs-hero { text-align: center; color: black; margin-bottom: 50px; }
  .cs-hero h1 { font-size: 3rem; margin-bottom: 10px; }
  .subtitle { color: #D4AF37; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
  
  .cs-card {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
    line-height: 1.7;
  }
  
  .cs-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 5px solid #D4AF37;
    padding-left: 15px;
  }
  
  .cs-card ul { list-style: none; padding-left: 0; }
  
  .cs-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
  }
  
  .cs-card li::before { content: "◈"; position: absolute; left: 0; color: #D4AF37; }
  
  .case-study-container,
  .cs-card, .cs-card p, .cs-card li,
  .cs-card h2, .cs-card strong,
  .takeaway {
    color: #111111 !important;
    text-shadow: none !important;
  }
  
  .cs-card strong { color: #000000 !important; font-weight: bold; }
  
  .takeaway {
    background: #f0f4f1;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    margin-top: 20px;
  }
  
  .figma-button {
    background: #D4AF37;
    color: #2E1A47;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
  }
  
  .figma-button:hover { color: black; }

  .card-back h3 {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  
  .card-back .button {
    align-self: flex-start;
  }

  .card-back .button {
    align-self: center;
  }

  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* change from left: 0 */
    background: lightgray;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    z-index: 999;
  }
  
  .dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: black; /* change from white */
  }
  
  .dropdown:hover .dropdown-menu {
    display: block;
    color: white;
  }

  .dropdown-menu li a:hover {
    background: black;
    color: white;
  }
  
  .dropdown > a:hover {
    color: gray;
  }