@import url("https://fonts.googleapis.com/css2?family=Jim+Nightshade&family=Judson:wght@400;700&family=Koulen&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Judson", serif;
  line-height: 1.6;
}
.main-container {
  max-width: 100%;
  overflow: hidden;
}
.gallery-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* PC Layout Styles */
@media screen and (min-width: 769px) {
  .flex-row-a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: top 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .fan-page {
    font-family: "Jim Nightshade", cursive;
    font-size: 2.5rem;
  }

  .nav-links {
    display: flex;
    gap: 30px;
  }

  .nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .faouzia-image {
    position: relative;
    height: 100vh;
    background: url("./components/Faouzia\ Fanpage\ Image\ 01.jpeg") no-repeat
      center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
  }

  .faouzia-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      rgba(255, 255, 255, 0.7),
      rgba(200, 200, 200, 0.7)
    );
  }

  .hey,
  .nice-to-meet-you {
    font-family: "Koulen", sans-serif;
    color: black;
    z-index: 1;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  }

  .hey {
    font-size: 15rem;
    margin-bottom: -100px;
  }

  .nice-to-meet-you {
    font-size: 8rem;
  }

  .about-section {
    display: flex;
    padding: 50px;
    gap: 50px;
    align-items: flex-start;
    margin-left: 100px;
  }

  .about-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 8px;
    margin-top: 100px;
  }

  .about-text {
    flex: 1;
    max-width: 50%;
  }

  .about-image-container {
    flex: 0 0 auto;
    width: 400px;
    height: 500px;
    position: relative;
    margin-left: 100px;
  }

  .about-image-part {
    position: absolute;
    background-image: url("./components/Faouzia Fanpage Image 02.jpg");
    background-size: 400px auto;
    background-repeat: no-repeat;
  }

  .about-image-part-1 {
    width: 200px;
    height: 180px;
    top: 0;
    left: 0;
    background-position: top left;
  }

  .about-image-part-2 {
    width: 200px;
    height: 180px;
    top: 180px;
    left: 200px;
    background-position: center right;
  }

  .about-image-part-3 {
    width: 200px;
    height: 180px;
    bottom: -40px;
    left: 0;
    background-position: bottom left;
  }

  .section-title {
    font-size: 5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
  }

  .about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .singles-section,
  .music-video-section,
  .latest-activities-section,
  .gallery-section {
    padding: 50px;
  }

  .music-video-section {
    padding: 50px;
    background-color: #f8f8f8;
    position: relative;
  }

  .music-video-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
    text-align: center;
  }

  .music-video-slider {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
  }

  .video-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .video-item {
    flex: 0 0 100%;
    padding: 0 10px;
  }

  .video-item video {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .video-item p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

  .video-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
  }

  .video-slider-button.prev {
    left: 10px;
  }

  .video-slider-button.next {
    right: 10px;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .singles-section {
    padding: 50px;
    text-align: center;
  }

  .singles-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
  }

  .spotify-player {
    width: 100%;
    height: 80px;
    background: #282828;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
  }

  .music-video-container {
    position: relative;
    width: 100%;
    padding: 50px;
    text-align: center;
  }

  .latest-activities-section {
    padding: 50px;
    background-color: #f8f8f8;
    position: relative;
  }

  .latest-activities-section .section-title {
    font-size: 5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
    text-align: center;
  }

  .latest-activities-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
  }

  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .activity-item {
    flex: 0 0 300px;
    margin: 0 10px;
    text-align: center;
  }

  .activity-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }

  .activity-item p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
  }

  .slider-button.prev {
    left: 0px;
  }

  .slider-button.next {
    right: 0px;
  }

  .gallery-section {
    padding: 50px;
    background-color: #161616;
    color: white;
    position: relative;
    overflow: hidden;
  }

  .gallery-section .section-title {
    font-size: 5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
    text-align: center;
    color: white;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, RBRACE1fr);
    grid-template-rows: repeat(6, RBRACE1fr);
    gap: 20px;
    height: 90vh;
    position: relative;
    z-index: 2;
  }

  .gallery-item-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 4;
    background-image: url("./components/landscape/landscape01.jpg");
  }

  .gallery-item-2 {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
    background-image: url("./components/landscape/landscape02.jpg");
  }

  .gallery-item-3 {
    grid-column: 4 / 7;
    grid-row: 3 / 5;
    background-image: url("./components/landscape/landscape03.jpg");
  }

  .gallery-item-4 {
    grid-column: 1 / 3;
    grid-row: 4 / 7;
    background-image: url("./components/landscape/landscape04.jpg");
  }

  .gallery-item-5 {
    grid-column: 3 / 7;
    grid-row: 5 / 7;
    background-image: url("./components/landscape/landscape05.jpg");
  }

  .pc-only {
    display: block;
  }

  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    z-index: 1;
  }

  .gallery-overlay span {
    font-family: "Koulen", sans-serif;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
  }

  .gallery-overlay span:nth-child(even) {
    align-self: flex-end;
  }

  .gallery-overlay span:nth-child(3) {
    align-self: center;
  }

  footer {
    background: #f8f8f8;
    padding: 50px;
    text-align: center;
  }

  .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
  }

  .social-link {
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 30px;
    text-decoration: none;
    color: black;
    font-weight: bold;
  }
}

/* Mobile Layout Styles */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
    padding-top: 80px;
  }

  .main-container {
    padding: 0 15px;
  }

  .flex-row-a {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: top 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .fan-page {
    font-size: 2rem;
    font-family: "Jim Nightshade", cursive;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
  }

  .nav-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 5px 10px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    position: relative;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: black;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  .faouzia-image {
    position: relative;
    height: 50vh;
    background: url("./components/Faouzia\ Fanpage\ Image\ 01.jpeg") no-repeat
      center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
  }

  .faouzia-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      rgba(255, 255, 255, 0.7),
      rgba(200, 200, 200, 0.7)
    );
  }

  .hey,
  .nice-to-meet-you {
    font-family: "Koulen", sans-serif;
    color: black;
    z-index: 1;
    position: relative;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  }

  .hey {
    font-size: 5rem;
    margin-bottom: -35px;
    margin-top: 150px;
  }

  .nice-to-meet-you {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 3rem;
    text-align: left;
    margin-bottom: 15px;
    font-family: "Koulen", sans-serif;
  }

  .about-section {
    display: flex;
    flex-direction: row;
    padding: 20px 15px;
    margin-left: 0;
    background-color: #f8f8f8;
    align-items: flex-start;
  }

  .about-text {
    flex: 1;
    padding-right: 15px;
  }

  .section-title {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 15px;
    font-family: "Koulen", sans-serif;
  }

  .about-text p {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .about-image-container {
    flex: 0 0 40%;
    width: 40%;
    height: 350px;
    position: relative;
    overflow: hidden;
  }

  .about-image-part {
    position: absolute;
    background-image: url("./components/Faouzia Fanpage Image 02.jpg");
    background-size: 200% auto;
    background-repeat: no-repeat;
  }

  .about-image-part-1 {
    width: 110px;
    height: 110px;
    top: 20px;
    left: 10px;
    background-position: top left;
  }

  .about-image-part-2 {
    width: 110px;
    height: 110px;
    top: 130px;
    left: 120px;
    background-position: center right;
  }

  .about-image-part-3 {
    width: 110px;
    height: 110px;
    bottom: 0px;
    left: 10px;
    background-position: bottom left;
  }

  .singles-section,
  .music-video-section,
  .latest-activities-section,
  .gallery-section {
    padding: 20px 0;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .singles-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .spotify-player {
    width: 100%;
    height: 80px;
    background: #282828;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px;
  }

  .music-video-section {
    padding: 50px;
    background-color: #f8f8f8;
    position: relative;
  }
  .music-video-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
    text-align: center;
  }
  .music-video-slider {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
  }
  .video-slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  .video-item {
    flex: 0 0 100%;
    padding: 0 10px;
  }
  .video-item video {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .video-item p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }
  .video-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
  }
  .video-slider-button.prev {
    left: 10px;
  }
  .video-slider-button.next {
    right: 10px;
  }

  .latest-activities-section {
    padding: 50px;
    background-color: #f8f8f8;
    position: relative;
  }

  .latest-activities-section .section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-family: "Koulen", sans-serif;
    text-align: center;
  }

  .latest-activities-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px; /* Add padding to make room for buttons */
  }

  .slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .activity-item {
    flex: 0 0 300px;
    margin: 0 10px;
    text-align: center;
  }

  .activity-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }

  .activity-item p {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
  }

  .slider-button.prev {
    left: 0px;
  }

  .slider-button.next {
    right: 0px;
  }

  .gallery-section {
    padding: 20px 15px;
    background-color: #161616;
    color: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
  }

  .gallery-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: "Koulen", sans-serif;
    text-align: left;
    color: white;
    position: relative;
    z-index: 2;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    position: relative;
    z-index: 2;
  }

  .gallery-item-1 {
    aspect-ratio: 1 / 1;
    max-width: 250px;
    min-height: 370px;
    max-height: 400px;
    border-radius: 10px;
    grid-column: 4 / 2;
    grid-row: 3 / 5;
    background-image: url("./components/portrait/Faouzia Fanpage Image 06.jpeg");
  }

  .gallery-item-2 {
    grid-column: 4 / 0;
    grid-row: 4 / 12;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    max-width: 250px;
    min-height: 300px;
    max-height: 350px;
    background-image: url("./components/portrait/Faouzia\ Fanpage\ Image\ 07.jpg");
  }

  .gallery-item-3 {
    grid-column: 2;
    grid-row: 8;
    aspect-ratio: 1 / 1;
    max-width: 250px;
    min-height: 300px;
    max-height: 350px;
    border-radius: 10px;
    background-image: url("./components/portrait/Faouzia\ Fanpage\ Image\ 08.jpeg");
  }

  .pc-only {
    display: none;
  }

  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    z-index: 1;
  }

  .gallery-overlay span {
    font-family: "Koulen", sans-serif;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
  }

  .gallery-overlay span:nth-child(even) {
    align-self: flex-end;
  }

  .gallery-overlay span:nth-child(3) {
    align-self: center;
  }

  footer {
    padding: 20px 0;
  }

  .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .social-link {
    padding: 5px 10px;
    font-size: 0.8rem;
    border: 2px solid black;
    border-radius: 30px;
    text-decoration: none;
    color: black;
    font-weight: bold;
  }
}
