/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Ensures padding and border don't affect layout */
}

body {
  font-family: 'Anton', sans-serif; /* Changed to Anton font */
  background-color: #f0f8ff; /* Soft blue background */
  color: #333;
  margin: 0;
  padding: 0; /* Ensure no extra padding */
}

/* Funky header font and styling */
header h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  margin: 0;
  letter-spacing: 1px;
  margin-left: 15px; /* Space between the image and the title */
  flex-grow: 1; /* Allows the title to take up available space */
  text-align: left; /* Keeps the title aligned to the left */
}

/* Header */
header {
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;  /* Aligns both the image and text vertically */
  justify-content: space-between; /* Moves the nav to the far right */
}

header .profile-photo {
  width: 50px; /* Size of the profile image */
  height: 50px;
  border-radius: 50%; /* Make the image circular */
  overflow: hidden;
  border: 3px solid white; /* White frame around the image */
}

header .profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the circle without distortion */
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url('photos/AmeliaMazza.jpg'); /* Background image */
  background-size: cover;
  background-position: center;
  height: 600px; /* Adjust as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Overlay in Hero Section */
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: flex-end;  /* Align to bottom */
  height: 100%;
  padding-bottom: 10px;
  color: white;
  font-size: 1rem;
}

.hero p {
  z-index: 1; /* Stay above overlay */
}

/* Gallery Section */
.gallery {
  padding: 2rem;
  margin: 0;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.image-grid img {
  width: 100%;
  height: 500px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.image-grid img:hover {
  transform: scale(1.05);
}



/* Portfolio Page Section */
.portfolio {
  padding: 3rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.portfolio h2 {
  font-size: 2rem;
  color: #003366;
}

.portfolio p {
  font-size: 0.75rem;
  margin-bottom: 2rem;
  color: #555;
  letter-spacing: 0.5px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.2rem;
}

.portfolio-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.05);
}


/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive */
@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
    text-align: center;
  }

  .about-photo {
    width: 80%;
  }
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Stack category cards on small screens */
  .category-grid {
    grid-template-columns: 1fr;
  }
}



/* Gallery Categories */
.gallery-categories {
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.category-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 0.75rem 1rem;
  text-align: center;
}

.category-overlay h2 {
  margin: 0;
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
}



/* ======= Packages Section ======= */
.packages {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.packages h2 {
  text-align: center;
  font-family: 'Anton', sans-serif;
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

/* Two packages per row */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Package Box styling */
.package-box {
  background-color: #f0f0f0; /* Light grey background */
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Package Titles */
.package-box h3 {
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  text-align: center;
}
.package-box h4 {
  font-family: 'Anton', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Container for package photos */
.package-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
}

/* Package photos same dimension & style */
.package-photos img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.package-photos img:hover {
  transform: scale(1.05);
}


/* ======= Booking Section ======= */
.booking {
  text-align: center;
  font-family: 'Anton', sans-serif;
  margin: 3rem auto;
  padding: 2rem 1rem;
}
.booking h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.booking p {
  font-size: 1.2rem;
}
.booking a {
  color: inherit;
  text-decoration: underline;
}




/* ======= Header & Footer Styling (assuming existing styles) ======= */
/* You can keep your existing header/footer styles or add below if needed */

/* Profile photo in header */
.profile-photo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}




.contact-main {
  text-align: center;
  padding: 3rem 1rem;
  background: #fdfdfd;
}

.contact-intro {
  margin-bottom: 2rem;
}

.contact-photo {
  width: 250px;
  height: 300px;
  object-fit: cover;
  border-radius: 0; /* square shape */
  border: 6px solid #FA4616;
  margin-bottom: 0.5rem;
}

.contact-intro h2 {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #003366;
}

.contact-intro h3 {
  font-size: 1.2rem;
  font-family: 'Dancing Script', cursive;
  color: #444;
}

.contact-card {
  max-width: 400px;
  margin: 0 auto;
  background-color: #f0f0f0;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: scale(1.02);
}

.contact-info p {
  margin: 1rem 0;
  font-size: 1.1rem;
  color: #003366;
}

.contact-info a {
  color: #003366;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #0055aa;
}




/* Sports Page Specific Styles */

.sports-page {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: 'Rubik', sans-serif;
  color: #222;
}

.hero-section {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-section .hero-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  margin-top: 1rem;
  color: #1e90ff; /* bright accent color */
  letter-spacing: 2px;
}

.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section h2 {
  font-family: 'Anton', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 3px solid #1e90ff;
  display: inline-block;
  padding-bottom: 0.25rem;
}

.photo-gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.photo-gallery img {
  width: 30%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(30, 144, 255, 0.5);
}

/* Sports GALLERY*/

.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sport-card {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.sport-card h2 {
  font-family: 'Anton', sans-serif;
  color: white;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  z-index: 1;
}

.sport-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

.sport-card:hover {
  transform: scale(1.03);
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .photo-gallery img {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .photo-gallery img {
    width: 100%;
  }
}



/* SPORTS PAGES*/
/* Track & Field Title */
.sports-title {
  font-family: 'Anton', sans-serif;
  text-align: center;
  font-size: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Masonary Grid */

.sports-title {
  text-align: center;
  font-size: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: 'Anton', sans-serif;
}

.masonry-gallery {
  column-count: 5;
  column-gap: 0.6rem;
  padding: 0 1rem;
}

.masonry-gallery img {
  width: 100%;
  margin-bottom: 0.6rem;
  display: block;
  break-inside: avoid;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-gallery {
    column-count: 1;
  }
}



/* Concerts Page Background with Tilted Image */
body.concerts-page {
  background-color: #000; /* fallback background color */
  position: relative;
  overflow-x: hidden;
  font-family: 'Anton', sans-serif;
  color: white;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body.concerts-page::before {
  content: "";
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-image: url('photos/concerts1.jpg'); /* update path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-5deg);
  filter: brightness(0.6);
  z-index: -1;
  pointer-events: none;
}

/* Main container to add some padding */
main.concerts-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  background: rgba(0, 0, 0, 0.5); /* semi-transparent overlay for readability */
  border-radius: 10px;
}

/* Page Title */
main.concerts-container h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
  color: whitesmoke
}
main.concerts-container h2 {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  color: whitesmoke
}

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Individual gallery images */
.photo-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.8);
}

/* Responsive tweaks */
@media (max-width: 600px) {
  main.concerts-container {
    margin: 2rem 1rem;
    padding: 1rem;
  }

  .photo-gallery img {
    height: 250px;
  }

  main.concerts-container h1 {
    font-size: 2rem;
  }
}






/* Responsive for smaller screens */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .pricing,
  .availability,
  .signup {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }
}

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






/* FREELANCE PAGE*/

.freelance-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0.5rem;
  text-align: center;
}

.freelance-title {
  font-family: 'Anton', sans-serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.freelance-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto 6rem;
  align-items: center;
  justify-items: center;
}

.freelance-logos img {
  max-width: 150px;
  height: auto;
  object-fit: contain;

}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 3rem;
}

.carousel {
  display: flex;
  width: max-content; /* width grows with all images */
  animation: scroll 60s linear infinite;
}

.carousel img {
  width: auto;
  height: 300px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Move left by the total width of all images plus margins */
    transform: translateX(calc(-200px * 17 - 20px * 16));
  }
}




/* NIL */
/* Page Container */
main.NIL-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
  border-radius: 10px;
}

/* Page Title */
main.NIL-container h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  color: #222;
}

/* Photo Gallery Grid */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Individual Gallery Images */
.photo-gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.photo-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 127, 80, 0.8); /* Coral hover effect */
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  main.NIL-container {
    margin: 2rem 1rem;
    padding: 1rem;
  }

  .photo-gallery img {
    height: 250px;
  }

  main.NIL-container h1 {
    font-size: 2rem;
  }
}







/* Shared styles for nav ul and footer KEEP*/
nav ul, footer {
  background-color: #003366;
  color: white;
  font-family: 'Rubik', sans-serif;
  text-align: center;
}

/* Navigation Styles */
nav {
  background-color: #003366;
  padding: 1rem;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #1e90ff;
}

/* Footer Styles */
footer {
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}

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

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




/* ===== Responsive Tweaks ===== */

/* Medium Screens (Tablets) */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
    margin-left: 0;
  }

  .packages h2,
  .freelance-title,
  .sports-title,
  .hero-section h1 {
    font-size: 2rem;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .freelance-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .sport-card h2 {
    font-size: 1.5rem;
  }
}

/* Small Screens (Mobile) */
@media (max-width: 600px) {
  .image-grid img,
  .portfolio-grid img,
  .category-card img,
  .package-photos img,
  .contact-photo,
  .freelance-logos img {
    height: auto;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .packages h2,
  .freelance-title,
  .sports-title,
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .freelance-logos {
    grid-template-columns: 1fr;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header h1 {
    margin-top: 1rem;
  }

  /* Slow carousel for mobile */
  .carousel {
    animation: scroll 90s linear infinite;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  .sport-card h2 {
    font-size: 1.2rem;
  }

  .packages h2,
  .freelance-title,
  .sports-title,
  .hero-section h1 {
    font-size: 1.6rem;
  }

  .package-photos {
    grid-template-columns: 1fr;
  }
}