/* Global styles */

html {
    scroll-behavior: smooth;
  }

body{
    background-color:#CFCAFA;
}



/* Style the whole header */
.site-header {
    display: flex;              
    justify-content: space-between;
    align-items: center;        
    padding: 20px 40px;  
    position: fixed; 
    top: 0; 
    left: 0;    
    width: 95%;       
    z-index: 1000;      
    background-color: #CFCAFA; 
  }
  
  .logo-button {
    background: none; 
    border: none;
    cursor: pointer; 
    padding: 0;
  }
  
  .logo-img {
    height: 70px;     
  }
  
  .nav-item{
    text-decoration: none;
    color: #1F1A50;            
    font-size: 16px;
    font-family: "aileron", sans-serif;
    margin: 20px;
    position: relative;
}
  
  /* Add the underline effect */
  .nav-item::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #1F1A50;
    transition: width 0.3s ease;
  }
  
  .nav-item:hover::after {
    width: 100%; /* Underline expands fully on hover */
  }








/* Style the intro */

.intro-section {
    text-align: center;     
    padding: 200px 20px 80px;  
    color: #1F1A50;
    max-width: 100%;
    height: 400px; 
  }

  .intro {
    margin: 0;
    font-size: 1.5em; 
    font-family: "aileron", sans-serif;
  }

  .intro-name {
    font-size: 10em;   
    margin: 5px;
    font-weight: bold;
    font-family: "ambroise-francois-std", serif;
    font-weight: 600;
    
  }

  .intro-role {
    font-size: 1.5em; 
    margin: 0;
    font-family: "aileron", sans-serif;
  }








/* Style the about */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 60px 40px;
    background: #1F1A50;
    color: #CFCAFA;
    flex-wrap: wrap;
    max-width: 100%;
    height: 500px; 
  }
  
  .about-text {
    flex: 1;
    max-width: 500px;
  }
  
  .about-title {
    font-family: "ambroise-francois-std", serif;
    font-size: 48px;
    margin-bottom: 20px;
  }
  
  .about-copy {
    font-family: "aileron", sans-serif;
  }
  
  .about-right {
    flex: 1;
    max-width: 400px;
  }
  
  .about-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    object-fit: cover;
  }

  .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 1s ease-in-out forwards;
    pointer-events: none;
    box-shadow: 0 0 6px 3px white;
  }
  
  @keyframes twinkle {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .about-right {
    position: relative; /* needed for sparkle positioning */
    display: inline-block;
  }












  






/* Style the work */
.my-work-section {
    background-color: #CFCAFA;
    padding: 50px 20px;
    text-align: center;
  }
  
  .section-title {
    font-family: "ambroise-francois-std", serif;
    font-size: 48px;
    color: #1F1A50;
    margin-bottom: 40px;
  }
  
  .work-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .card {
    background-color: #1F1A50;
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
  }
  
  .card-image {
    width: 100%;
    border-radius: 20px;
    height: 350px;
    object-fit: cover; 
  }
  
  
  .card-button {
    background-color: #CFCAFA;
    color: #1F1A50;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 15px 0;
  }















/* Style the acordion to view work */
.accordion{
    background-color: #1F1A50;
    max-width: 100%;
    padding: 40px 20px; 

}

.accordion-title{
    font-family: "ambroise-francois-std", serif;
    font-size: 48px;
    color: #CFCAFA;
    margin-bottom: 40px;
    text-align: center;
    padding-top: 20px;
}

/* Each section wrapper */
.part {
    margin-bottom: 30px; /* space between sections */
    background-color: #1F1A50; /* match background if needed */
    border-radius: 8px; /* optional rounded corners */
    overflow: hidden; /* keep clean edges */
  }

.header {
    background: #CFCAFA;      
    color: #1F1A50;         
    padding: 5px;
    cursor: pointer;     
    font-weight: bold;
    margin-top: 5px;
    padding: 15px 20px;

  }
  
  
  /* Style for each accordion content (like an answer) */
  .copy {
    background: #726CA5; 
    color: #CFCAFA;
    font-family: "aileron", sans-serif;;
    display: none;          /* hidden by default, like #answer1 */
    text-align: center;
    padding: 50px;
    margin: 0px;
  }
  
  /* The plus or minus icon floats to the right of the header */
  .plus-minus {
    float: right;
  }
  
















/* Style the lets chat */

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 60px 40px;
    background-color: #CFCAFA;
    color: #1F1A50;
    flex-wrap: wrap;
    max-width: 100%;
    height: 500px; 
  }
  
  .contact-left {
    flex: 1;
    max-width: 500px;
  }
  
  .contact-title {
    font-family: "ambroise-francois-std", serif;
    font-size: 48px;
    margin-bottom: 30px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-family: "aileron", sans-serif;
    font-size: 18px;
  }
  
  .contact-item i {
    margin-right: 15px;
    font-size: 20px;
    color: #1F1A50;
  }
  
  .contact-right {
    max-width: 400px;
  }
  
  .contact-image {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
  }

  .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle 1s ease-in-out forwards;
    pointer-events: none;
    box-shadow: 0 0 6px 3px white;
  }
  
  @keyframes twinkle {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
  }
  
  .contact-right {
    position: relative; /* needed for sparkle positioning */
    display: inline-block;
  }











/* Style the footer */
footer {
    padding: 40px 0;
    text-align: center;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;              
    align-items: center;
  }
  
  .social-icons a {
    color: #1F1A50;
    font-size: 28px;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #726CA5;  
  }