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

/* ===============================
 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%;
  box-sizing: border-box;
  padding: 10px 20px;
  background: #b0929084; /* pinkish semi-transparent */
  border-radius: 0 0 30px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Hamburger hidden on desktop */
.hamburger {
  display: none;
  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: #ffc0cb;
  color: #800000;
  transform: scale(1.05);
}

/* Logo far right */
.logo {
  margin-left: auto;
}

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

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger {
      display: block;
  }
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 70px; /* below nav container */
      left: 10px;
      background: #b8857e;
      border-radius: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      padding: 10px;
      gap: 10px;
      z-index: 999999;
  }
  .nav-links.show {
      display: flex;
  }
  .nav-links a {
      padding: 10px 15px;
      font-size: 1rem;
      text-align: left;
      background: #ffc0cb; 
      color: #b4a4a2;
      border-radius: 15px;
  }
}

/* ===============================
 ABOUT MAIN CONTENT
=============================== */
.about-main {
  padding-top: 120px; 
  padding-bottom: 60px; 
}

/* Title styling */
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  text-align: center;
  margin: 80px 0 40px;
}

/* ROWS */
.row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 60px;
  padding: 0 5%;
  box-sizing: border-box;
}

/* Image Column */
.image-col {
  flex: 0 0 auto;
  margin: 0 20px;
}
.image-col img {
  max-width: 400px; 
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Text Column */
.text-col {
  flex: 1;
  margin: 0 20px;
}
.text-col p {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: left;
  margin: 0;
}

/* ===============================
 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;
  }
}

/* ===============================
 MOBILE: IMAGES AFTER TEXT
=============================== */
@media (max-width: 768px) {
  .row {
      flex-direction: column; 
      margin-bottom: 40px;
      padding: 0 10%;
      text-align: center;
  }
  .image-col, .text-col {
      margin: 20px 0;
  }
  /* Make sure images appear AFTER text on mobile. 
     So we set: 
       text-col { order: 1; } 
       image-col { order: 2; }
     This effectively puts the image after the text in each row. */
  .text-col {
      order: 1;
  }
  .image-col {
      order: 2;
  }
  .image-col img {
      max-width: 80%; 
      margin: 0 auto;
  }
  .about-title {
      font-size: 2em;
      margin: 60px 0 20px;
  }
}

/* ===============================
 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);
}
