/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    width: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background: url("content/Bayberry Media Website Background.png") center/cover no-repeat;
    color: #fff;
  }
  
  /* Header */
  .main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(36, 37, 42, 0.9);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    z-index: 1000;
  }
  
  .header-logo img {
    height: 2rem;
  }
  
  main {
    margin-top: 4rem;
  }
  
  /* Hero Video Section */
  .video-container {
    position: relative;
    width: 100%;
  }
  
  .video-container video {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Video Logo */
  .video-logo {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
  }
  
  .video-logo img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Buttons */
  .buttons-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4rem;
  }
  
  .video-container .buttons-container {
    gap: 4rem;
  }
  
  .buttons-container button {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 1rem;
    transition: border 0.2s;
  }
  
  .buttons-container button:hover {
    border-width: 0.4rem;
  }
  
  /* Larger Buttons Under Video */
  .video-container .buttons-container button {
    font-size: 2rem;
    padding: 0.75rem 2rem;
  }
  
  /* Media Sections */
  .main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 6rem 0;
  }
  
  /* Media Block */
  .media-block {
    flex: 1;
    display: flex;
    justify-content: center;
  }
  
  /* Article-specific Rectangles */
  .media-rectangle,
  .photo-rectangle,
  .video-rectangle {
    background-color: #2c2f33;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }
  
  /* Slideshow Wrapper */
  .slideshow-wrapper {
    width: 100%;
    position: relative;
  }
  
  .photo-slideshow-container,
  .video-slideshow-container {
    width: 100%;
    overflow: hidden;
  }
  
  .slide {
    display: none;
    width: 100%;
    justify-content: center;
  }
  
  .active-slide {
    display: flex;
  }
  
  .slide img,
  .slide video {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
  }
  
  /* Prev/Next Controls */
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 0.3rem;
    z-index: 10;
  }
  
  .prev-photo { left: 1%; }
  .next-photo { right: 1%; }
  .prev-video { left: 1%; }
  .next-video { right: 1%; }
  
  /* View More Button */
  .view-more-button {
    align-self: center;
    text-decoration: none;
    background: #4a4d52;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    font-weight: bold;
  }
  
  /* Desktop Adjustments */
  @media (min-width: 1200px) {
    .main-container {
      align-items: center;
    }
    .media-block:first-child {
      flex: 3;
      max-width: 900px;
    }
    .media-block:nth-child(2) {
      flex: 2;
      max-width: 500px;
    }
  }
  
  /* About Section */
  .about-me-section {
    padding: 6rem 0;
  }
  
  .about-me-background {
    background: #2c2f33;
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 1425px;
    padding: 4rem;
  }
  
  .about-me-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .about-me-text {
    flex: 1;
    min-width: 250px;
  }
  
  .about-me-text h2 {
    margin-bottom: 1rem;
  }
  
  .about-me-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .about-me-images {
    flex: 1;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .about-me-images img {
    width: calc(50% - 0.5rem);
    border-radius: 0.5rem;
    object-fit: cover;
  }
  
  /* Booking Section */
  .booking-section {
    padding: 6rem 0;
  }
  
  .booking-background {
    background: #2c2f33;
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 1425px;
    padding: 4rem;
  }
  
  .booking-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .booking-text,
  .booking-form {
    flex: 1;
    min-width: 250px;
  }
  
  .booking-text h2 {
    margin-bottom: 1rem;
  }
  
  .booking-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .booking-form label {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .booking-form input,
  .booking-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 0.3rem;
  }
  
  .booking-form button {
    background: transparent;
    color: #fff;
    border: 3px solid #fff;
    border-radius: 0.3rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
  }
  
  /* Footer */
  .footer {
    background: #24252A;
    text-align: center;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .social-icon {
    color: #fff;
    font-size: 1.5rem;
  }
  
  /* Hidden / Scroll Reveal */
  .hidden {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 1.2s ease;
  }
  
  .show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    .media-block {
      flex: 1 1 90%;
      max-width: 90%;
    }
  }
  
  @media (max-width: 768px) {
    .buttons-container {
      flex-direction: column;
      gap: 1rem;
    }
    .about-me-background,
    .booking-background {
      width: 95%;
      padding: 2rem;
    }
    .about-me-content,
    .booking-content {
      flex-direction: column;
      align-items: center;
    }
    .about-me-images img {
      width: 100%;
    }
  }
  
  .photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .gallery-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
  }
  
  /* Videos Gallery (same responsive grid) */
  .video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .gallery-video {
    overflow: hidden;
    border-radius: 0.5rem;
    background-color: #2c2f33;
  }
  
  .gallery-video video {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Optional finer breakpoints */
  @media (max-width: 600px) {
    .photo-gallery,
    .video-gallery {
      grid-template-columns: 1fr;
      padding: 1rem;
    }
  }