/* ===============================
   BODY & GLOBAL
=============================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  color: #b7827c; /* Maroon text */
  background: url('../images/pink-ribbon.jpg') center center/cover no-repeat;
}

/* Add any global resets or styles if needed */

/* ===============================
 HEADER / NAVBAR
=============================== */
.header {
  position: static;
  width: 100%;
  margin: 0;
  padding: 0;
  z-index: 9999;
}

.navbar {
  margin: 0;
  padding: 0;
  background: transparent;
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  background: #b0929084; /* pinkish-red color (semi-transparent) */
  border-radius: 0 0 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hamburger {
  display: none; /* Shown in mobile via media query */
  font-size: 2rem;
  cursor: pointer;
  color: #6e4640;
  margin-right: 20px;
}

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

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  background: #b4a4a2; /* maroon */
  color: #FFFFFF;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.nav-links a:hover {
  background: #b8857e;
  color: #b4a4a2;
  transform: scale(1.05);
}

/* Logo on the far right side */

.logo {
  margin-left: auto;
}

.logo img {
  height: 75px;
  width: auto;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .hamburger {
      display: block;
  }
  /* Hide nav-links by default, toggle with .show class from JS */
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px; /* or so, just below .nav-container */
      left: 10px;
      background: #b4a4a2;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      padding: 10px;
      gap: 10px;
      z-index: 999999; /* ensure above everything */
  }
  .nav-links.show {
      display: flex;
  }
  .nav-links a {
      padding: 10px 15px;
      font-size: 1rem;
      text-align: left;
      background: #b8857e; 
      color: #f0f0f0;
      border-radius: 15px;
  }
}

/* ===============================
 MAIN CONTENT
=============================== */
main {
  padding-top: 120px; /* so content isn't hidden behind navbar */
}

/* Section Titles */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5em;
  text-align: center;
  color: #ffffff;
  margin: 40px 0;
}

/* Instagram Section */
.instagram-section {
  padding: 0 5%;
  background: transparent;
  color: #ffffff;
}

/* YouTube Section */
.youtube-section {
  padding: 0 5%;
  background: transparent;
  color: #ffffff;
}

.youtube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.video-item {
  position: relative;
}

.video-thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 10px;
}

.video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.video-thumbnail:hover img {
  transform: scale(1.1);
}

/* Custom play button overlay */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-image: url('images/custom-play-button.png');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none; /* so clicks pass through to .video-thumbnail */
}

/* Responsive YouTube grid */
@media (max-width: 768px) {
  .youtube-grid {
      grid-template-columns: 1fr;
  }
}

/* ===============================
 FOOTER
=============================== */
.footer {
  background: url('../images/pink-ribbon.jpg') center center/cover no-repeat;
  padding: 30px 0;
  color: #FFFFFF;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

/* Social Media Icons */
.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.social-media a img {
    width: 50px;
    height: 50px;
}

/* Hover Glow Effect */
.social-media a:hover {
    transform: scale(1.1);
}

/* Glow Colors */
.facebook:hover {
    box-shadow: 0 0 40px rgba(24, 119, 242, 1);
    background-color: rgba(24, 119, 242, 0.3);
}

.youtube:hover {
    box-shadow: 0 0 40px rgba(255, 0, 0, 1);
    background-color: rgba(255, 0, 0, 0.3);
}

.instagram:hover {
    box-shadow: 0 0 40px rgba(225, 48, 108, 1);
    background-color: rgba(225, 48, 108, 0.3);
}

.tiktok:hover {
    box-shadow: 0 0 40px rgba(255, 0, 80, 1);
    background-color: rgba(255, 0, 80, 0.3);
}

/* Contact Info - Desktop (Left Aligned) */
.contact-info {
  font-size: 1.1em;
  text-align: left;
}

/* Style Email & Phone */
.contact-info a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

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

/* Footer Logo */
.footer-logo img {
  max-height: 85px;
}

/* =========== Mobile View Fix =========== */
@media (max-width: 768px) {
  .footer .container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .social-media {
      flex-wrap: wrap;
      justify-content: center;
  }

  /* Center the email & phone on mobile */
  .contact-info {
      text-align: center;
      width: 100%; /* Ensures full width for centering */
  }

  .contact-info a {
      display: block; /* Makes sure each link is on its own line */
      margin-bottom: 5px;
  }
}

/* ===============================
 MODAL STYLES (for YouTube)
=============================== */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 100000; /* above everything */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7); /* semi-transparent black */
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  max-width: 700px; /* width of modal */
  position: relative;
  border-radius: 10px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #b4a4a2; 
}

/* ===============================
 SCROLL-FADE ANIMATION
=============================== */
.scroll-animation {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.scroll-animation.show {
  opacity: 1;
  transform: translateY(0);
}
