/* General reset and layout styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Pirulen, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

h2 {
  font-size: 2.1em;
  font-family: Pirulen, sans-serif;
  padding: 20px;
}

h3 {
  margin-top: 100px;
  margin-bottom: 20px;
  font-size: 1.5em;
}

a {
  text-decoration: none;
}

.green {
  color: #00ff00;
  font-family: pirulen;
}

p {
  font-family: lato, sans-serif;
  font-size: 1.5em;
}

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  color: #0c0c0c;
  position: fixed;
  z-index: 100000;
}

.logo {
  font-size: 1.5em;
  margin-left: 5px;
  color: #007aff;
}

.hamburger {
  font-size: 2.8em;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: #007aff;
  text-decoration: none;
}

.nav-links a:hover {
  color: #8002b6;
}

.hamburger {
  display: none;
}

/* Hamburger menu and mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none; /* Hide by default */
    position: fixed;
    top: 0;
    right: 0;
    background: #333;
    width: 200px;
    height: 90%vh; /* Full height */
    padding: 20px;
    margin-top: 10%;
    flex-direction: column;
    transition: transform 0.3s ease-out;
    transform: translateX(100%); /* Off-screen by default */
    z-index: 999; /* Ensure it appears above other content */
  }

  .nav-links.active {
    display: flex;
    transform: translateX(0); /* Slide in when active */
  }

  .nav-links li {
    margin: 15px 0;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 200%; /* Adjust based on number of slides */
  height: 100%;
  animation: scroll 30s linear infinite; /* Smooth scrolling animation */
  z-index: 2;
}

.slide {
  min-width: 50%; /* Adjust for more slides */
  height: 100%;
  background-size: cover;
  background-position: center;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
}

.text-overlay h1 {
  font-size: 6rem;
  margin: 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.text-overlay p {
  font-size: 1.5rem;
  margin-top: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Smooth scrolling animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.scroll-text {
  display: inline-block; /* or inline-block, flex, etc. */
  font-size: 1.5em;
  opacity: 1;
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 3.4s ease-out, transform 3.4s ease-out;
  column-count: 1; /* Adjust number of columns */
  column-gap: 30px;
  text-align: justify;
  font-family: "lato", serif;
  line-height: 1.6; /* Adjust line height for readability */
  padding: 15px;
  max-width: 100%;
}

.scroll-text .visible {
  opacity: 1;
  transform: translateY(0); /* Move to final position */
  visibility: visible; /* Ensure it's not hidden */
  position: relative; /* or absolute, fixed, etc. */
  z-index: 1; /* Ensure it is above other elements */
}

.scroll-text span {
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  display: inline-block;
  transition: opacity 2s ease-out, transform 2s ease-out;
}

.scroll-text.visible span {
  opacity: 1;
  transform: translateY(0);
  color: white;
}

.dark-mode .scroll-text.visible span {
  z-index: 1;
}

.portfolio,
.scroll-text,
.call-to-action,
.design-work {
  padding: 50px 20px;
  text-align: center;
  z-index: 1000;
  background-color: white;
  background-position: cover;
}

.creator-story {
  max-width: 70%;
  max-height: 855px;
  border: black 2px solid;
  margin-bottom: 20px;
}

#creator-spotlight {
  padding: 20px;
  background-color: white;
  max-width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
}

.creator-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.creator-bio {
  margin-left: 30px;
  margin-bottom: 20px;
  max-width: 25%;
  color: black;
  border: black 2px solid;
  padding: 20px;
}

.creator-image {
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  display: inline-block;
}

.creator-image img {
  width: 100%;
  max-width: 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: auto;
  margin-bottom: 20px;
}

.creator-bio ul {
  list-style: none;
  padding: 0;
}

.creator-bio li {
  margin: 10px 0;
}

.creator-bio a {
  color: #007aff;
  text-decoration: none;
}

.create {
  float: left;
}

.creator-bio a:hover {
  text-decoration: underline;
}

.creator-story p {
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  display: inline-block;
  transition: opacity 3.4s ease-out, transform 3.4s ease-out;
  column-count: 2; /* Adjust number of columns */
  column-gap: 30px;
  text-align: justify;
  column-rule: 1px solid #ccc; /* Adds a border between columns */
  font-family: "lato", serif; /* A more newspaper-like font */
  line-height: 1.6; /* Adjust line height for readability */
  padding: 15px;
}

/* Default Style (For larger screens) */
.engagement-banner {
  display: block;
  max-width: 700px;
  border: none;
  margin: 0 auto;
}

.engagement-banner img {
  max-width: 700px;
}

.design-work p {
  display: inline-block;
  max-width: 50%;
  margin-top: 25px;
  padding: 15px;
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 3.4s ease-out, transform 3.4s ease-out;
  column-count: 1; /* Adjust number of columns */
  text-align: justify;
  line-height: 1.6; /* Adjust line height for readability */
}

.design-work button {
  display: block;
}
.call-to-action h2 {
  margin-right: 700px;
}

.call-to-action p {
  display: inline-block;
  max-width: 50%;
  margin-top: 25px;
  padding: 15px;
  opacity: 0;
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 3.4s ease-out, transform 3.4s ease-out;
  column-count: 1; /* Adjust number of columns */
  text-align: justify;
  line-height: 1.6; /* Adjust line height for readability */
}

.download-form {
  display: flexbox;
  position: relative;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

label {
  font-weight: bold;
  display: block;
  margin-top: 20px;
  font-family: lato, sans-serif;
}

#evaluationForm button {
  display: block;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: black;
  position: relative;
}

.result {
  background-color: #e0f7fa;
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
  font-weight: bold;
  color: #00796b;
  display: none;
}

.download-button {
  display: block;
  margin-top: 15px;
}

.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-grid {
  display: grid;
  gap: 10px; /* Adjust spacing between photos */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 20px;
  z-index: 1;
}

@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.dark-mode iframe {
  background-color: #1e1e1e; /* Background color for dark mode */
  color: white; /* Change text color for visibility */
}

body.dark-mode {
  background-color: #1e1e1e; /* Background color for dark mode */
  color: white; /* Change text color for visibility */
}

.dark-mode .design-work {
  background-color: #1e1e1e; /* Background color for dark mode */
  color: white; /* Change text color for visibility */
}

.dark-mode .call-to-action {
  background-color: #1e1e1e; /* Background color for dark mode */
  color: white; /* Change text color for visibility */
}

.dark-mode .navbar {
  background: #1e1e1e; /* Darker navbar */
  color: white;
}

.dark-mode .nav-links a {
  color: #bb86fc; /* Light purple links for visibility */
}

.dark-mode .hero {
  background: #1e1e1e;
}

.dark-mode .creator-bio {
  color: white;
  border: white 2px solid;
}

.dark-mode .creator-story {
  color: white;
  border: white 2px solid;
}

.dark-mode .scroll-text {
  background: #1e1e1e;
  background-size: cover;
  background-attachment: fixed;
}

.dark-mode #creator-spotlight {
  background: #1e1e1e;
  color: white;
}

.dark-mode .portfolio {
  background-color: #1e1e1e;
}

/* Add more dark mode styles as needed for other elements */

/* Button styles */
#toggle-dark-mode {
  border-radius: 5px;
  padding: 10px 10px;
  font-size: 16px;
  border: none; /* Remove border for a cleaner look */
  cursor: pointer; /* Add pointer cursor */
  display: flex;
  margin-right: 100px;
}

/* Dark mode styles for the button */
.dark-mode #toggle-dark-mode {
  background-color: #8002b6; /* Dark mode button color */
  color: #000; /* Dark mode button text color */
}

@media (max-width: 768px) {
  .text-overlay h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 1.5em;
  }
}

/* Media queries for responsiveness */

/* Mobile devices (small screens, up to 480px wide) */
@media (max-width: 480px) {
  .call-to-action h2 {
    margin-right: 0; /* Remove excessive right margin */
  }

  .call-to-action p, .design-work p  {
    max-width: 100%; /* Full width for small screens */
    opacity: 1; /* Make text visible */
    transform: translateY(0); /* Reset transform */
    column-count: 1; /* Keep one column */
    column-gap: 20px; /* Adjust gap for readability */
    text-align: left; /* Align text to the left */
    font-size: 16px; /* Adjust font size for better readability */
    margin-top: 10px;
  }

  .download-form {
    margin: 0 auto;
  }

  .download-button {
    margin-top: 10px; /* Reduce space between elements */
  }
}

/* Tablet devices (up to 768px wide) */
@media (max-width: 768px) {
  .call-to-action h2 {
    margin: 0 auto; /* Slightly reduce margin */
  }

  .call-to-action p, .design-work p  {
    max-width: 100%; /* Full width for better readability */
    opacity: 1; /* Make text visible */
    transform: translateY(0); /* Reset transform */
    column-count: 1; /* One column on smaller screens */
    text-align: left; /* Align text left */
    font-size: 18px; /* Slightly larger text */
  }

  .download-button {
    margin-top: 15px; /* Slightly increase margin for better spacing */
  }
}

/* Larger tablets and small desktops (up to 1024px wide) */
@media (max-width: 1024px) {
  .call-to-action h2 {
    margin: 0 auto;
  }

  .call-to-action p, .design-work p  {
    max-width: 100%; /* Full width for better readability */
    opacity: 1; /* Ensure text is visible */
    transform: translateY(0); /* Reset transform */
    column-count: 1; /* One column layout */
    column-gap: 25px; /* Adjust column gap for readability */
    text-align: left; /* Align text to left */
    font-size: 20px; /* Adjust font size */
  }

  .download-button {
    margin-top: 20px; /* Increase space for larger screens */
  }
}

/* Large screens (1025px and above) */
@media (min-width: 1025px) {
  .call-to-action h2 {
    margin: 0 auto;
  }

  .call-to-action p, .design-work p {
    max-width: 50%; /* Half width for text */
    opacity: 0; /* Keep it hidden initially */
    transform: translateY(20px); /* Slightly below */
    column-count: 1; /* Two-column layout */
    column-gap: 30px; /* Gap between columns */
    font-size: 22px; /* Larger font size for readability */
    margin-top: 10px;
  }

  .download-button {
    margin-top: 15px; /* Standard margin for larger screens */
  }
}

.container {
  max-width: auto;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
  display: block;
}

.booking-container {
  max-width: auto;
  height: 100vh;
  width: 100%;
  margin: 0 auto;
  margin-top: 50px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  justify-content: center;
  align-items: center;
}


.booking-container button {
  display: block;
  
}

.dark-mode .container {
  background-color: #1e1e1e; /* Background color for dark mode */
  color: white; /* Change text color for visibility */
}

/* Mobile (portrait) - Less than 480px */
@media (max-width: 480px) {
  input,
  textarea,
  select {
    width: 90%; /* Take up most of the screen */
    padding: 8px; /* Slightly less padding */
    margin-top: 10px;
  }
}

/* Tablets (portrait) and smaller screens - 481px to 768px */
@media (max-width: 768px) {
  input,
  textarea,
  select {
    width: 70%; /* Medium width on tablet */
    padding: 10px;
    margin-top: 8px;
  }
}

/* Medium to Large Tablets (landscape) and smaller desktops - 769px to 1024px */
@media (max-width: 1024px) {
  input,
  textarea,
  select {
    width: 50%; /* Adjust width for larger devices */
    padding: 10px;
    margin-top: 8px;
  }
}

/* Large Desktops - 1025px and above */
@media (min-width: 1025px) {
  input,
  textarea,
  select {
    width: 15%; /* Base width */
    padding: 10px;
    margin-top: 5px;
  }
}

button {
  background: #007aff;
  color: white;
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  margin: 0 auto;
}

button:hover {
  background-color: #0056b3;
  box-shadow: 0px 4px 15px rgba(0, 255, 0, 0.5);
  transform: scale(1.05);
}

.result {
  background-color: #e0f7fa;
  padding: 15px;
  margin-top: 20px;
  border-radius: 8px;
  font-weight: bold;
  color: #00796b;
  display: none;
}

@media (max-width: 768px) {
  .booking {
    font-size: 3.4em;
  }
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  
}

.portfolio-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


/* Hover Effect */
.portfolio-item:hover img {
  transform: scale(1.05);
}

/* Mobile Optimization */
@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 1.8em;
  }
}

/* Icon styling */

/* Sun and moon default colors */
.sun-icon {
  color: #007aff; /* Sun color for default 'day' */
}

.moon-icon {
  color: #ccc; /* Dimmed moon by default */
}

/* Change the moon icon color when checked */
.toggle-input:checked ~ .moon-icon {
  color: #00ff00; /* Moon color for 'night' */
}

/* Change the sun icon color to black when checked */
.dark-mode .sun-icon {
  color: #ccc; /* Black color for dimmed sun */
}

/* Toggle switch wrapper */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

/* Toggle slider */
.toggle-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Circle inside the slider */
.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.3s;
}

/* Toggle ON state */
.toggle-input:checked + .toggle-switch .toggle-slider {
  background-color: #8002b6;
}

/* Move the circle to the right when checked */
.toggle-input:checked + .toggle-switch .toggle-slider::before {
  transform: translateX(26px);
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .toggle-switch {
    width: 40px;
    height: 20px;
  }

  .toggle-slider::before {
    width: 16px;
    height: 16px;
  }

  /* Adjust circle movement for smaller size */
  .toggle-input:checked + .toggle-switch .toggle-slider::before {
    transform: translateX(20px);
  }
}

.toggle-container {
  display: flex;
  align-items: center; /* Aligns items vertically centered */
  gap: 8px;
  margin-bottom: 10px;
}

.toggle-icon {
  font-size: 24px;
  transition: color 0.3s;
  line-height: 0; /* Ensuring there's no extra space above/below the icon */
  margin-top: 20px;
}

.toggle-input {
  display: none; /* Hides the checkbox */
}

@media (max-width: 480px) {
  .download-button {
    margin: 0 auto;
    margin-top: 10px;
  }
}

/* Mobile (portrait) - Less than 480px */
@media (max-width: 480px) {
  #download-form {
    margin-right: 0; /* No margin for small screens */
    margin-left: 0; /* Remove any potential left margin */
  }
}

/* Tablets (portrait) and smaller screens - 481px to 768px */
@media (max-width: 768px) {
  #download-form {
    margin-right: 0; /* No margin on the right for tablets */
    margin-left: 20px; /* Add a small margin on the left */
  }
}

/* Medium to Large Tablets (landscape) and smaller desktops - 769px to 1024px */
@media (max-width: 1024px) {
  #download-form {
    margin-right: 100px; /* Reduce margin for medium devices */
    margin-left: 20px; /* Small left margin */
  }
}

/* Large Desktops - 1025px and above */
@media (min-width: 1025px) {
  #download-form {
    margin-right: 400px; /* Use the original large right margin */
  }
}

/* For tablets and small desktops (screen width up to 768px) */
@media (max-width: 768px) {
  .creator-container {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align items */
  }

  .creator-bio {
    flex: 1 1 100%; /* Make each section full width */
    max-width: 100%;
  }

  .creator-image img {
    max-width: 200px; /* Reduce image size for smaller screens */
  }
}

/* For large phones (screen width up to 576px) */
@media (max-width: 576px) {
  #creator-spotlight {
    padding: 15px; /* Reduce padding */
  }

  .creator-container {
    gap: 15px; /* Decrease gap between items */
  }

  .creator-image img {
    max-width: 150px; /* Further reduce image size */
  }
}

/* For very small phones (screen width up to 375px) */
@media (max-width: 375px) {
  #creator-spotlight {
    padding: 10px; /* Minimize padding */
  }

  .creator-container {
    gap: 10px; /* Tighten spacing */
  }

  .creator-image img {
    max-width: 120px; /* Minimize image size */
  }

  .creator-bio ul {
    font-size: 14px; /* Adjust font size */
  }
}

/* Medium screens (Tablets or small laptops) */
@media (max-width: 1024px) {
  .creator-story {
    max-width: 90%; /* Increase width slightly */
  }

  .creator-story p {
    column-count: 1; /* 1 column for better readability */
    font-size: 22px; /* Slightly larger text */
  }
}

/* Small screens (Mobile devices) */
@media (max-width: 768px) {
  .creator-story {
    max-width: 90%; /* Allow more space on smaller screens */
    max-height: none; /* Remove height restriction for mobile */
    padding: 0;
  }

  .creator-story p {
    opacity: 1; /* Fade-in effect for mobile */
    transform: translateY(0); /* Reset translation */
    column-count: 1; /* Keep text in a single column */
    font-size: 22px; /* Adjust font size for better readability */
  }
}

/* Extra small screens (very small mobile devices) */
@media (max-width: 480px) {
  .creator-story p {
    column-count: 1;
    font-size: 22px; /* Even smaller text for tiny screens */
    line-height: 1.5; /* Slightly tighter line height */
  }
  .creator-story {
    max-width: 90%;
  }
}

/* For Creator Bio */
.creator-bio {
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.creator-bio.visible {
  opacity: 1;
}

.photo-grid {
  opacity: 0;
  transition: opacity 6s ease-in-out;
  z-index: 1;
}

/* Floating in from the bottom */
@keyframes floatInBottom {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Floating in from the left */
@keyframes floatInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Floating in from the right */
@keyframes floatInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Add classes to trigger the animations */
.hidden {
  opacity: 0;
}

.float-bottom {
  animation: floatInBottom 0.8s ease-out forwards;
}

.float-left {
  animation: floatInLeft 0.8s ease-out forwards;
}

.float-right {
  animation: floatInRight 0.8s ease-out forwards;
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #ccc;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
  }
}

.dark-mode .logo {
  color: white;
}

/* For Tablets (768px and below) */
@media screen and (max-width: 768px) {
  .engagement-banner {
    max-width: 90%; /* Shrink the banner to fit better */
    margin: 0 auto; /* Center the banner */
    float: none; /* Remove float for better alignment */
  }

  .engagement-banner img {
    max-width: 100%; /* Scale the image to fit */
    height: auto; /* Maintain aspect ratio */
  }
}

/* For Mobile Devices (480px and below) */
@media screen and (max-width: 480px) {
  .engagement-banner {
    max-width: 100%; /* Use the full width of the screen */
    flex-direction: column; /* Stack elements if needed */
  }

  .engagement-banner img {
    max-width: 100%; /* Ensure image fits the screen */
    height: auto; /* Maintain aspect ratio */
  }
}

.dark-mode .engagement-banner img {
  background-image: url(images/engage-your-audience.png);
  border: none;
}

#Collaboration {
  margin-left: 20px;
}

iframe {
  margin-top: -85px;
}

#bookingg-form {
  display: block;
}

#bookingg-form button {
  display: block;
  position: absolute;
  margin-top: 15px;
}

.container h2 {
  margin-top: 50px;
}

footer {
  background: #f1f1f1;
  text-align: center;
  color: black;
  width: 100%;
  z-index: 10000;
  
}

.dark-mode footer {
  background: #1e1e1e;
  color: #fff;

}

.purple {
  color: #8002b6;
}
