 /******************/
 /*    GENERAL     */
/******************/
* {
    border-radius: 0 !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Playfair Display', serif;
    background-image: url('../assets/wallpapers/polkadot.png');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
    color: #293241; 
    margin: 0;
    padding: 0;
    font-weight: 400;
  }
  
  /* header/footer */
  header {
    background-color: #293241; 
    padding: 50px;
    text-align: center;
  }
  
  footer {
    background-color: #293241; 
    padding: 50px;
    text-align: center;
    margin-top: 0;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 0;
    margin: 0;
    margin-top: 20px;
  }
  
  nav a {
    color:#FFFFFF; 
    text-decoration: none;
    font-weight: 400;
  }
  
  nav a:hover {
    color:  #FEF1F3;
    font-style: italic;
  }
  
  header h1, footer h1 {
    font-family: 'Monsieur La Doulaise', cursive;
    color: #FFFFFF;
    margin: 0;
    font-size: 3em;
    text-align: center;
  }
  
  footer p {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    font-size: 1em;
    text-align: center;
  }
  
  /* general main */
  /* default (desktop) */
  main {
    max-width: 1440px;
    margin: auto;
    padding: 40px 20px; /* More padding for a luxurious feel */
  }
  
  /* tablet and smaller */
  @media (max-width: 768px) {
    main {
      padding: 30px 15px; /* Less padding on smaller screens */
    }
  }
  
  /* mobile and smaller */
  @media (max-width: 480px) {
    main {
      padding: 20px 10px; /* Even less padding on very small screens */
    }
  }
  
  /* headings */
  h1, h2, h3 {
    color: #293241; 
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: center;
  }
  
  a {
    color: #FFFFFF; 
    text-decoration: none;
  }
  
  a:hover {
    color: #FEF1F3; /* On hover, match headings for a cohesive feel */
  }
  
  /* general sectioning */
  section {
    margin-bottom: 40px; /* Space between sections */
    background-color: transparent;
    padding: 0;
    border-radius: 0; /* Soft rounded corners */
    color: inherit; /* Light text */
    text-align: inherit;
  }
  
  .section-label {
    background-color: #293241;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Monsieur La Doulaise', cursive;
    font-size: 2em;
    margin: 60px 0 20px; 
    padding: 10px;
  }
  
  section h1,
  section h2,
  section h3 {
    margin-bottom: 10px;
    text-align: center;
    line-height : 1.2; 
  }
  
  section h1 {
    font-size: 1.8em;
    color: #FFFFFF;
    font-weight: 400;
  }
  
  section h2 {
    font-size: 1.5em;
    color: #FFFFFF;
    font-weight: 400;
  }
  
  section h3 {
    font-size: 2.5em;
    color: #FFFFFF;
    font-weight: 400;
  }
  
  section p {
    color: #FFFFFF; 
    line-height: 1.6; 
    text-align: center;
    font-size: 1em;
    margin-bottom: 10px;
  }
  
  /* section links */
  section a {
    color: #FEF1F3;
    text-decoration: none;
  }
  
  section a:hover {
    color: #FFFFFF;
  }
  
  /* section navigation */
  section nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
  }
  
  section nav ul li a {
    background-color: #FEF1F3;
    color: #293241;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 400;
    transition: background-color 0.3s ease;
    display: flex;
    text-decoration: none;
  }
  
  section nav ul li a:hover {
    background-color: #F9B9C3; 
  }
  
  /******************/
 /*    CONTACT!    */
/******************/

.contact-container {
    text-align: center;
    padding: 20px;
    background: #293241;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    width: 1000px;
    margin: 40px auto;
  }
  
  .contact-container h1 {
    font-family: 'Monsieur La Doulaise', cursive;
    color: #FFFFFF;
    font-size: 4em;
    margin-bottom: 10px;
  }
  
  .contact-container p {
    font-size: 1.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
  }
  
  .contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .contact-links a {
    text-decoration: none;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .contact-links img {
    width: 50px; /* Adjust size as needed */
    height: 50px;
    transition: transform 0.2s ease;
  }

 /*intro */
  .intro {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin-bottom: 0;
  }

  .intro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }


.text-box {
    position: relative;
    display: inline-block; /* Shrink to fit content width */
    text-align: center; /* Center align the text */
    background-color: #293241; 
    padding: 40px 80px; /* Adds space around the text inside the box */
    z-index: 1; /* Ensure it's above the background image */
  }

  /* Heading and subtitle styles */
  .text-box h1 {
    font-family: "Playfair Display", serif;
    color: #FFFFFF;
    font-size: 2em;
    margin: 0;
  }

  .text-box p {
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 2em;
    color: #FFFFFF  ;
    margin: 10px 0 0; /* Add spacing between heading and paragraph */
  }


  .get-to-know {
    background-color: #293241; 
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0;
  }

  .get-to-know p {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .about-me-click {
    color: #293241;
    font-weight: 700;
    text-decoration: none;
  }
  
  /* Fixed Menu Icon */
#menu-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: auto;
    cursor: pointer;
    z-index: 998;
  }


  /* Overlay (hidden by default) */
  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    backdrop-filter: blur(10px);
    background-color: rgba(0, 0, 0, 0.0); /* transparent bg */
    z-index: 997; /* BELOW the menu */
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: block; /* always present for animation */
    pointer-events: none; /* don't block clicks unless active */
  }

  #overlay.active {
    transform: translateX(0%);
    pointer-events: auto;
  }
  
  
  #nav-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  #nav-panel.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
  }

  #nav-panel nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  #nav-panel nav ul li a {
    font-size: 3em;
    color: #F9B9C3;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    transition: transform 0.3s ease;
    text-align: center;
  }
  
  #nav-panel nav ul li a:hover {
    font-style: italic;
  }
  
  /* Hover effect for my graphic */

  .hovergraphic-content {
    text-align: center;
    padding: 20px;
    background-color: #293241;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
  }
  
  .hover-image-box {
    width: 600px;
    height: 750px;
    margin: 20px auto;
    background-image: url("../assets/landinghover/1.png");
    background-size: cover;
    background-position: center;
    transition: none;
    border-radius: 4px;
  }
  
  .hover-image-box:hover {
    background-image: url("../assets/landinghover/2.png");
  }

  .personal-landing {
    background-color: transparent;
    padding: 40px 20px;
    max-width: 1440px;
    margin: 0 auto;
    color: #293241;
    font-family: 'Playfair Display', serif;
  }

  .landing-navigator {
    text-align: center;
    font-style: italic;
    background-color: #293241;
    padding: 20px;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFFFFF;
  }
  
  .landing-content {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 0;
    padding: 0 20px;
  }
  
  .photo-column {
    max-width: 338px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
  }
  
  .photo-column img {
    width: 100%;
    border-radius: 0;
  }
  
  .landing-caption {
    background-color:#293241;
    padding: 20px;
    border-radius: 0;
    font-family: 'Monsieur La Doulaise', cursive;
    text-align: center;
    color: #FFFFFF;
    margin-top: 20px;
    font-size: 3em;
  }

  .personal-listening {
    display: grid;
    grid-template-columns: repeat(2, 487.5px);
    gap: 25px;
    max-width: 1000px;
    margin: 12.5px auto; /* Center the grid */
    justify-content: center;
  }

 /********************/
 /*  PERSONAL DIGICAM */
 /********************/
 .personal-digicam{
     display:grid;
     justify-items:center;
     gap: 12px;
     /* keep camera + caption in view without scrolling on most screens */
     padding: 16px 0 8px;
 }

 /* overall camera size; scales down on narrow screens */
 .camera-wrap{
     --w: min(92vw, 920px);
     width: var(--w);
     aspect-ratio: 5 / 4;            /* digi.png native ratio */
     position: relative;
     user-select: none;
     filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
 }

 /* ===== CALIBRATION (from PNG) =====
    LCD approx: left 170px, top 335px, width 950px, height 765px on 2000×1600
    Converted to percentages for perfect scaling.
 */
 .camera-wrap{
     --screen-left:   8.5%;
     --screen-top:   20.9%;
     --screen-width: 47.5%;
     --screen-height:47.8%;

     /* dial hotspots (◀ ▶ around big wheel) */
     --prev-left: 79.5%;
     --prev-top:  60.9%;
     --next-left: 91.0%;
     --next-top:  60.9%;
     --spot-size: 5.8%;
 }

 /* LCD area */
 .screen-box {
     position: absolute;
     left: 13.75%;
     top: 25.1%;
     width: 47.6%;
     height: 51%;
     background: #000; /* makes the LCD look real */
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 10px;
     z-index: 3;
     overflow: hidden;
 }

 /* Keep 1x1 ratio, center it, and DON’T crop */
 .screen-img {
     width: 100%;
     height: 100%;
     object-fit: contain;       /* ⬅️ this preserves full image */
     object-position: center;
     position: absolute;
     opacity: 0;
     transition: opacity 0.28s ease, transform 0.28s ease;
 }
 .screen-img.is-active {
     opacity: 1;
     transform: scale(1);
 }


 /* pink camera on top, clicks pass through to hotspots */
 .camera-img{
     position:absolute; inset:0;
     width:100%; height:100%; object-fit:contain;
     pointer-events:none;
     z-index: 1;
 }

 /* invisible but accessible dial buttons */
 .hotspot{
     position:absolute;
     left: calc(var(--x) - var(--spot-size)/2);
     top:  calc(var(--y) - var(--spot-size)/2);
     width: var(--spot-size); height: var(--spot-size);
     border-radius: 999px;
     background: transparent;
     border: 0;
     cursor: pointer;
     z-index: 4;
 }
 .prev{ --x: var(--prev-left); --y: var(--prev-top); }
 .next{ --x: var(--next-left); --y: var(--next-top); }
 .hotspot:focus-visible{
     box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(249,185,195,.85);
 }

 .hotspot::after {
     content: attr(aria-label);
     position: absolute;
     top: -2.2em;
     left: 50%;
     transform: translateX(-50%);
     background: #293241;
     color: #fff;
     font-size: 0.75rem;
     padding: 4px 8px;
     border-radius: 4px;
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.2s ease;
     white-space: nowrap;
     font-family: 'Playfair Display', serif;
 }
 .hotspot:hover::after {
     opacity: 1;
 }

 .hotspot:active::after{
     content:""; position:absolute; inset:0; border-radius:inherit;
     background: rgba(0,0,0,.10);
 }

 /* Navy caption bar under the camera */
 .caption-bar {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 10px;

     background: #293241;
     color: #FFFFFF;
     font-family: 'Playfair Display', serif;
     padding: 12px 16px;

     width: 240px;                     /* ⬅️ set fixed width */
     height: 44px;                     /* ⬅️ optional: fix height too */
     overflow: hidden;                /* hides overflowed text */
     white-space: nowrap;            /* keeps long captions on one line */
     text-overflow: ellipsis;        /* adds "..." if it’s too long */
     box-sizing: border-box;

     font-size: 1rem;
     border-radius: 6px;
 }

 .caption-index{ opacity:.85; }
 .caption-bullet{ opacity:.6; }

 /* Fit both camera + caption on small phones */
 @media (max-width: 520px){
     .camera-wrap{ --w: 96vw; }
     .camera-wrap{ --spot-size: 7.2%; }
     .caption-bar{ padding:10px 12px; font-size:.95rem; }
 }


  /******************/
 /*    OUTFITs!    */
/******************/
/* layout for wearing page */
.photo-list {
    width: 85%;
    margin: 50px auto 80px auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* whole row */
.photo-pair {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 90%;              /* controls how wide the whole block is */
    margin: 60px auto;
}

/* image stays fixed size */
.wear-image {
    width: 300px;
    height: 300px;           
    object-fit: cover;
    border-radius: 0;
}

/* right-hand column */
.wear-info {
    display: flex;
    flex-direction: column;
    gap: 12px;               /* space between navy + white box */
    width: 100%;            /* ⬅️ this keeps the navy bar nice and wide */
}

/* navy bar */
.wear-textbox {
    background-color: #2c3149;
    color: #ffffff;
    padding: 24px 24px;
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
}

.wear-textbox h3 {
    margin: 0 0 6px 0;
    font-size: 22px;
    text-align: center;
}

.wear-textbox p {
    margin: 0;
    font-size: 15px;
    text-align: center;
}

/* white details box – separate but same width */
.wear-detailsbox {
    background-color: #ffffff;
    color: #2c3149;
    padding: 24px 24px;
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    width: 100%;            /* ⬅️ keeps it aligned with navy box */
}

.wear-detailsbox p {
    margin: 0;
    font-size: 14px;
    text-align: center;
    color: #293241;
}
