@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Base styles */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    background: #000;
}

/*.background-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://egonklett.neocities.org/tumblr_98db6ef8e77d036075b8f351902bb58d_ba05b54e_1280.gif');
    background-size: 200px 200px;
    background-repeat: repeat;
    background-position: top left;
    z-index: -1;
}
*/

header {
    width: 100%;
    background-color: rgba(0, 0, 0, 1);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex: 1;
    text-align: left;
}

.logo a {
    display: inline-block;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 2em;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    z-index: 10;
}

.logo a:hover {
    color: #ff6347;
}

.music-player {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -150px;
}

.music-text {
    color: white;
    font-size: 1em;
    transition: color 0.3s ease;
}

.play-button {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
}

.music-note {
    width: 24px;
    height: 24px;
    fill: white;
    transition: fill 0.3s ease;
}

.music-player:hover .music-note,
.music-player:hover .music-text {
    fill: red;
}

.play-button.playing .music-note {
    fill: red;
}

.play-button.paused .music-note {
    fill: white;
}

nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #ff6347;
    background-color: rgba(255, 99, 71, 0.2);
}

.banner {
    background-color: white;
    color: black;
    text-align: center;
    padding: 5px 0;
    font-size: 0.8em;
    font-weight: bold;
    font-family: 'Times New Roman', serif;
    margin-top: 60px;
    margin-bottom: 0;
    transition: background-color 0.3s ease;
    line-height: 1;
    box-sizing: border-box;
}

.banner:hover {
    background-color: #ff6347;
    color: white;
}

.no-underline-link {
    color: inherit; /* Use the default text color */
    text-decoration: none; /* Remove the underline */
}

.no-underline-link:hover,
.no-underline-link:focus {
    text-decoration: none; /* Optionally, add underline on hover or focus */
}

.hero {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 20px 20px;
    margin-bottom: 0px
}

.hero-content h1 {
    font-size: 3em;
    margin: 0;
}
.hero-content h2,
.hero-content h2 {
  margin-top: 40px; /* Reduce space below the heading */
  margin-bottom: 10px; /* Reduce space below the heading */
}
.hero-content h4 {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}
.hero-content {
    text-align: center;
    margin-bottom: 0px;
}

.hero-content p {
    font-size: 1.2em;
}

main {
    margin-top: 0;
    padding-top: 0;
    padding: 0px;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0px auto;
}

.gallery-item {
    text-align: center;
    max-width: 100%;
}

.gallery img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.gallery p {
    margin: 10px 0;
    font-size: 1em;
    color: white; /* Add !important to force the change */
    opacity: 1;
}

footer {
    background-color: #000 !important;;
    color: white;
    text-align: center;
    padding: 10px 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #ff6347;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        align-items: flex-start;
        padding: 0px;
    }

    .logo {
        margin-left: 0;
        text-align: left;
    }

    .music-player {
        display: flex;
        align-items: center;
        margin-right: 0px; /* Space between music player and hamburger menu */
        padding-left: 0px; /* tweak this value to move it slightly */
        transform: translateX(40px); /* try 10px–40px */
      }

    .music-text {
        display: none; /* Hide the text on mobile */
    }

    .play-button {
        margin-left: -60px; /* Adjust space for mobile */
        
    }

    nav {
        display: flex; /* Change from display: none to ensure it can be shown */
        position: fixed;
        justify-content: flex-start;
        top: 60px;
        right: 0;
        width: 180px;
        background: rgba(0, 0, 0, 0.9);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        border-radius: 0 0 0 10px; /* Rounded corners for the floating menu */
        height: auto; /* Adjust height to fill the screen minus the header */
        transform: translateX(100%); /* Initially hidden off-screen */
        transition: transform 0.3s ease;
    }

    nav.open {
        transform: translateX(0); /* Slide in when open */
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 10px 20px;
        display: block;
        color: #fff; /* Ensure text is readable */
    }

    .hamburger {
        display: block; /* Show hamburger menu on mobile */
        position: fixed;
        top: 10px; /* Align with the top of the header */
        right: 10px; /* Position it on the right side */
        z-index: 2000; /* Ensure it is above other content */
        cursor: pointer;
        background: transparent;
        border: none;
        width: 50px; /* Increase width */
        height: 40px; /* Increase height */
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: white;
        margin: 6px 0;
        transition: all 0.3s ease;
    }
}


/* Hide hamburger menu on desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none; /* Hide hamburger menu on desktop */
    }
}

@media (min-width: 769px) {
  .music-player {
    padding-left: 400px; /* move to right */
  }
}
@media (max-width: 768px) {
  .hero-content h2 {
  margin-top: 30px; /* Reduce space below the heading */
  margin-bottom: 0px; /* Reduce space below the heading */
  }
  .hero-content h4 {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
/* Image Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s ease;
    border-radius: 5px;
    touch-action: pinch-zoom pan-x pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

#modal-caption {
    text-align: center;
    color: #ddd;
    padding: 10px 20px;
    font-size: 1em;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.clickable-image {
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

@keyframes zoom {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  color: white;
  font-size: 3em;
  padding: 10px;
  z-index: 10001;
  user-select: none;
  transform: translateY(-50%);
  transition: color 0.3s ease;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover,
.next:hover {
  color: #ff6347;
}

@media (max-width: 768px) {
  .prev, .next {
    display: none;
  }
}
@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    max-height: 90vh;
  }
}

body, html {
  max-width: 100vw;
  overflow-x: hidden;
}
.image-slider {
  max-width: 900px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.slider-image {
  width: 900px; /* fixed width same as container */
  flex-shrink: 0;
  height: auto;
  object-fit: contain;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}


.image-slider .prev,
.image-slider .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    transform: translateY(-50%);
    z-index: 1;
}

.image-slider .prev {
    left: 10px;
}

.image-slider .next {
    right: 10px;
}

.image-slider .prev:hover,
.image-slider .next:hover {
    color: #ff6347;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
  overflow: hidden;
}
.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-img {
  width: 100%;
  flex-shrink: 0;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1;
}
.prev-button {
  left: 10px;
}
.next-button {
  right: 10px;
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-right {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in-left {
  animation: slide-in-left 1s ease forwards;
}

.animate-slide-in {
  animation: slide-in-right 1s ease forwards;
}

@media (max-width: 768px) {
  .prev, .next {
    display: block;
    font-size: 2.5em; /* slightly smaller for mobile */
    padding: 8px;
  }

  .slider-image {
    width: 100%; /* responsive image width */
  }
}

.social-icons {
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 1.5em;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #ff6347;
}

.about-me-section {
    background-color: #000;
    color: #ddd;
    padding: 40px 20px;
    text-align: center;
}

.about-me-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-me-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: white;
}

.about-me-section p {
    font-size: 1.1em;
    line-height: 1.8;
    
}
.about-me-page-container {
  margin-bottom: 0px; /* reduce this value if it's bigger */
  padding-bottom: 0;
  max-width: 600px;      /* Limits the width of the box */
  margin: 20px auto;     /* Centers the box horizontally and adds vertical margin */
  padding: 20px;         /* Adds some space inside the box around the text */
  border: 0px solid #ccc; /* Optional: adds a subtle border */
  background-color: #000; /* Optional: light background color */
  border-radius: 8px;    /* Optional: rounded corners */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: subtle shadow for depth */
}

.modal {
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.5); /* semi-transparent background */
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; 
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.contact-button {
  background-color: transparent;
  border: none;
  color: #00f;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1em;
  padding: 0;
}

form label {
  display: block;         /* makes label take full width */
  margin-bottom: 15px;    /* space below each field */
  font-weight: bold;
}

form input[type="email"],
form textarea {
  width: 100%;            /* full width of the container */
  padding: 8px;
  box-sizing: border-box; /* includes padding in width */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 5px;        /* small space between label text and input */
}

form textarea {
  height: 120px;          /* larger height for textarea */
  resize: vertical;       /* allow user to resize vertically */
}

.about-me-page-container p {
  margin-bottom: 2rem;
}