* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Poppins",
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
  line-height: 1.6;
  color: #e9ecef;
  background-color: #0a0a0a;
}

body.intro-active {
  overflow: hidden;
}

/* Hide menu toggle and right sidebar during intro on mobile */
body.intro-active .menu-toggle {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

body.intro-active .sidebar-right {
  display: none !important;
}

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: top 1s ease-in-out;
}

.logo-header {
  display: flex;
  gap: 5px;
}

.intro-logo {
  font-size: 4rem;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 2px white;
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.intro-logo.active {
  opacity: 1;
  transform: translateY(0);
}

.intro-logo.filled {
  color: white;
  -webkit-text-stroke: 0;
}

.intro-logo.fade {
  opacity: 0;
  transform: translateY(-20px);
}

.space {
  display: inline-block;
  width: 20px;
}

@media (max-width: 1024px) {
  /* Tablet */
  .intro-logo {
    font-size: 3.5rem;
  }

  .space {
    width: 15px;
  }

  /* Hide the sidebar on tablets */
  body.intro-active .sidebar-right {
    display: none !important;
  }

  body.intro-active .menu-toggle {
    display: block !important;
  }
}

@media (max-width: 768px) {
  /* Mobile */
  .intro-logo {
    font-size: 3rem;
  }

  .space {
    width: 10px;
  }

  /* Hide the sidebar completely on mobile */
  body.intro-active .sidebar-right {
    display: none !important;
  }

  body.intro-active .menu-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .intro {
    height: 100vh;
    top: 0;
  }

  @media (max-width: 480px) {
    .intro-logo {
      font-size: 2.5rem;
    }

    .space {
      width: 8px;
    }
  }
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  background-color: rgba(45, 45, 45, 0.9);
  border: 2px solid #667eea;
  color: #e9ecef;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .menu-toggle {
    top: 15px;
    left: 15px;
    padding: 8px 12px;
    font-size: 1.3rem;
    border-radius: 4px;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: 1.2rem;
    border-width: 1.5px;
  }
}

.menu-toggle.show {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hide menu toggle on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .menu-toggle.show {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

.menu-toggle:hover {
  background-color: rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9997;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .menu-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .container {
    position: relative;
  }

  /* .menu-overlay {
  } */

  .sidebar-left.menu-open {
    z-index: 9998;
  }

  .sidebar-right {
    z-index: 9999;
    position: relative;
  }
}

@media (max-width: 480px) {
  .menu-overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Header */
.header {
  background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header h1 {
  font-size: 2rem;
  font-weight: 600;
}

/* Content Wrapper - This is the key flexbox container */
.content-wrapper {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Sidebars */
.sidebar {
  flex: 0 0 220px;
  padding: 2rem;
  background-color: #121212;
  border-right: 1px solid #1a1a1a;
  overflow-y: auto;
  font-family: "Poppins", "Montserrat", sans-serif;
}

.sidebar-left {
  border-right: 1px solid #1a1a1a;
}

.sidebar-right {
  border-left: 1px solid #1a1a1a;
  border-right: none;
  flex: 0 0 220px;
  background-color: #121212;
}

/* Make right sidebar narrower on mobile */
@media (max-width: 800px) {
  .sidebar-right {
    flex: 0 0 100px;
    padding: 1rem 0.5rem;
  }
  .sidebar h2 {
    font-size: 0.8rem;
    padding: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .sidebar-right {
    flex: 0 0 70px;
    padding: 0.5rem;
  }
}

.sidenav {
  flex: 0 0 220px;
  padding: 2rem;
  background-color: #121212;
  border-right: 1px solid #1a1a1a;
  overflow-y: auto;
  font-family: "Poppins", "Montserrat", sans-serif;
}

.sidebar h2 {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #e9ecef;
  border-bottom: none;
  padding-bottom: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
  text-align: center;
}

.sidebar h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sidebar h2 a:hover {
  color: #764ba2;
}

.sidebar nav ul {
  list-style: none;
}

.sidebar nav ul li {
  margin-bottom: 1rem;
}

.sidebar nav ul li a {
  display: block;
  padding: 0.8rem 1rem;
  color: #b8bcc8;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
}

.sidebar nav ul li a:hover {
  background-color: rgba(118, 75, 162, 0.15);
  color: #e9ecef;
  transform: translateX(5px);
}

/* Sidenav Links */
.sidenav-links ul {
  list-style: none;
}

.sidenav-links ul li {
  margin-bottom: 1rem;
}

.sidenav-links ul li a {
  display: block;
  text-decoration: none;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 20px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.sidenav-links ul li a:hover {
  background-color: rgba(118, 75, 162, 0.15);
  color: #e9ecef;
  transform: translateX(5px);
}

/* Stories Container - Instagram Style */
.stories-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.story-item:hover {
  transform: scale(1.05);
}

.story-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.story-item:hover .story-circle {
  background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #4facfe 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transform: scale(1.1);
}

.story-circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2d2d2d;
}

.story-name {
  font-size: 0.75rem;
  color: #b8bcc8;
  text-align: center;
  margin: 0;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-item:hover .story-name {
  color: #e9ecef;
}

.widget {
  background-color: #1a1a1a;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  border: 1px solid #404040;
}

.widget h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #667eea;
}

.widget p {
  color: #b8bcc8;
  font-size: 0.9rem;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 2rem;
  background-color: #1a1a1a;
  overflow-y: auto;
  min-width: 0;
}

.main-content h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #e9ecef;
  border-bottom: 3px solid #764ba2;
  padding-bottom: 0.5rem;
}

.main-content p {
  margin-bottom: 1rem;
  color: #b8bcc8;
  line-height: 1.8;
}

/* Footer Styling */
.footer {
  background-color: #0d0d0d;
  color: #b8bcc8;
  padding: 1.5rem;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid #404040;
  font-family: "Poppins", sans-serif;
}

/* Paragraph inside Footer */
.footer p {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #b8bcc8;
  transition: color 0.3s ease;
}

/* Hover effect on Footer text */
.footer p:hover {
  color: #667eea;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .footer {
    padding: 1rem;
  }

  .footer p {
    font-size: 0.8rem;
  }
}

/* Responsive Design */

@media (max-width: 480px) {
  /* Show menu toggle on mobile */
  .menu-toggle {
    display: block;
  }

  /* Sidebar positioning for mobile */
  .sidebar-left {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .sidebar-left.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  /* Show menu toggle on tablet */
  .menu-toggle {
    display: block;
  }

  /* Sidebar positioning for tablet */
  .sidebar-left {
    position: fixed;
    left: -220px;
    top: 0;
    height: 100vh;
    z-index: 9998;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    flex: 0 0 220px;
  }

  .sidebar-left.menu-open {
    left: 0;
  }

  .menu-overlay.active {
    display: block !important;
    opacity: 1;
  }
}

/* Desktop - Sidebars visible */
@media (min-width: 769px) {
  .sidebar-left {
    position: relative !important;
    left: 0 !important;
    z-index: auto !important;
    box-shadow: none !important;
    transition: none !important;
  }

  .sidebar-left.menu-open {
    left: 0 !important;
  }

  .menu-toggle {
    display: none !important;
  }

  .menu-overlay {
    display: none !important;
  }
}
/* Gallery Container */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
}

@media (max-width: 768px) {
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
  }
}

.gallery-item {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

@media (max-width: 768px) {
  .image-wrapper {
    height: 280px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .image-wrapper {
    height: 200px;
    width: 100%;
  }
}

.gallery-item:hover .image-wrapper {
  border-color: #764ba2;
  box-shadow: 0 10px 30px rgba(118, 75, 162, 0.4);
}

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

.gallery-item:hover .image-wrapper img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.85);
  opacity: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.details {
  text-align: center;
}

.details h3 {
  font-size: 2rem;
  color: #e9ecef;
  font-weight: 600;
  letter-spacing: 2px;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin: 4rem 0 2rem;
  color: #e9ecef;
  letter-spacing: 1px;
  border-bottom: 2px solid #764ba2;
  padding-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  margin: 4rem 0;
  padding: 3rem 1rem;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background: linear-gradient(
    135deg,
    rgba(118, 75, 162, 0.2) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  border: 1px solid rgba(118, 75, 162, 0.4);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: #764ba2;
  box-shadow: 0 10px 30px rgba(118, 75, 162, 0.3);
}

.about-description {
  font-size: 1rem;
  color: #b8bcc8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-info {
  margin-top: 1.5rem;
}

.about-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #b8bcc8;
}

.about-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #764ba2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.skill-tag {
  background-color: rgba(118, 75, 162, 0.4);
  color: #e9ecef;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  border: 1px solid #764ba2;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background-color: rgb(118, 75, 162);
  color: #e9ecef;
}

.about-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.expertise-tag {
  background-color: transparent;
  color: #b8bcc8;
  padding: 0.4rem 0.9rem;
  border: 1px solid #764ba2;
  border-radius: 20px;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.expertise-tag:hover {
  background-color: rgba(118, 75, 162, 0.3);
  color: #e9ecef;
}

/* Contact Section */
.contact-section {
  margin: 4rem 0;
  padding: 3rem 1rem;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: linear-gradient(
    135deg,
    rgba(118, 75, 162, 0.2) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  border: 1px solid rgba(118, 75, 162, 0.4);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: #764ba2;
  box-shadow: 0 10px 30px rgba(118, 75, 162, 0.3);
}

.contact-card h3 {
  font-size: 1.3rem;
  color: #e9ecef;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.contact-card p {
  color: #b8bcc8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-description {
  font-size: 1rem;
  color: #b8bcc8;
  line-height: 1.8;
}

.contact-info {
  color: #b8bcc8;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  max-width: 100%;
}

.contact-link {
  color: #e9ecef;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  border: 1px solid #764ba2;
  border-radius: 6px;
  background-color: rgba(118, 75, 162, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

.contact-link:hover {
  color: #e9ecef;
  background-color: #764ba2;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(118, 75, 162, 0.4);
}

.copyright {
  color: #666;
  font-size: 0.8rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(118, 75, 162, 0.3);
  margin-top: 2rem;
}

.index-section {
  width: 100%;
  margin: 4rem auto;
  margin-top: 0px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);

  transition: none !important;
}

.index-section:hover {
  border-color: rgba(255, 255, 255, 0.07) !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

.index-section h2 {
  color: #eee;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.index-section p {
  color: #bfc3c9;
  line-height: 1.7;
}

/* Mobile - Constrain index-section content */
@media (max-width: 768px) {
  .index-section {
    width: 100%;
    margin: 2rem auto;
    padding: 1.5rem;
    overflow: visible;
  }

  .index-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }

  .gallery-container {
    max-width: 100%;
    overflow-x: auto;
  }
}
/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(118, 75, 162, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 99999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 30px rgba(118, 75, 162, 0.7);
}

/* ===== PAGE SPECIFIC STYLES - Bachelorette/Modeling ===== */
/* Bachelorette Party Page Styles */

/* Sidebar Navigation */
.bachelorette-content {
  width: 100%;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* Hero Section */
.bachelorette-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  margin-bottom: 3rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #e9ecef;
  margin: 0;
  font-weight: 300;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Event Sections */
.event-sections {
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.event-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.event-section:last-child {
  border-bottom: none;
}

/* Section Layout */
.section-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-layout.left {
  order: 1;
}

.section-layout.right {
  order: 2;
}

.event-section:nth-child(even) .section-layout.left {
  order: 2;
}

.event-section:nth-child(even) .section-layout.right {
  order: 1;
}

.event-section:nth-child(even) .section-image {
  order: 1;
}

.event-section:nth-child(odd) .section-image {
  order: 2;
}

/* Section Number */
.section-number {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.big-number {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: #667eea;
  font-weight: 600;
  text-transform: uppercase;
}

/* Section Details */
.section-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e9ecef;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  line-height: 1.2;
}

.section-details p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b8bcc8;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Section Image */
.section-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 350px;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    brightness 0.4s ease;
}

.event-section:hover .image {
  transform: scale(1.05);
}

/* Footer */
.bachelorette-footer {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bachelorette-footer p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #667eea;
  text-transform: uppercase;
  margin: 0.5rem 0;
  font-weight: 300;
}

/* Responsive - Bachelorette/Modeling */
@media (max-width: 1024px) {
  .event-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-layout,
  .section-image {
    order: auto !important;
  }

  .hero-title {
    font-size: 3rem;
  }

  .big-number {
    font-size: 3rem;
  }

  .section-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .bachelorette-hero {
    height: 45vh;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: 0.1em;
  }

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

  .event-sections {
    padding: 0 1rem;
  }

  .event-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
  }

  .section-layout,
  .section-image {
    order: auto !important;
  }

  .big-number {
    font-size: 2.5rem;
  }

  .section-label {
    font-size: 0.75rem;
  }

  .section-details h3 {
    font-size: 1.1rem;
  }

  .section-details p {
    font-size: 0.9rem;
  }

  .section-image {
    height: 250px;
  }

  .bachelorette-footer p {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .bachelorette-hero {
    height: 40vh;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }

  .big-number {
    font-size: 2rem;
  }

  .section-label {
    font-size: 0.65rem;
  }

  .section-details h3 {
    font-size: 1rem;
  }

  .section-details p {
    font-size: 0.85rem;
  }

  .event-section {
    margin-bottom: 2rem;
    padding: 1rem 0;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }

  .section-layout,
  .section-image {
    order: auto !important;
  }

  .section-image {
    height: 200px;
  }

  .event-sections {
    padding: 0 0.75rem;
  }
}

/* =====================================================================
   MOBILE / PHONE  — keep this block at the END of the file
   Main breakpoint: 768px (same one the off-canvas menu already uses)
   ===================================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
}

/* Touch screens: no "stuck" hover animations after a tap */
@media (hover: none) {
  .gallery-item:hover,
  .gallery-item:hover .image-wrapper img,
  .about-card:hover,
  .contact-card:hover,
  .contact-link:hover,
  .story-item:hover,
  .story-item:hover .story-circle {
    transform: none;
  }
}

@media (max-width: 768px) {
  /* ---- Intro: use the *visible* viewport height on mobile browsers ---- */
  .intro {
    height: 100vh;
    height: 100dvh;
  }

  /* ---- Layout: one column (menu | content | trusted-by) ---- */
  .content-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.75rem;
  }

  /* Sections become direct flex items of .content-wrapper so they can be
     re-ordered together with "Trusted by" (see order rules below) */
  .main-content {
    display: contents;
  }

  .index-section {
    order: 1;
  }

  .sidebar-right {
    order: 2; /* after Categories + About ... */
  }

  #contact {
    order: 3; /* ... and before Contact */
  }

  .index-section {
    width: 100%;
    margin: 0;
    padding: 1.25rem 1rem;
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: none; /* expensive on phones, invisible on this bg */
  }

  .index-section .section-title {
    font-size: clamp(1.25rem, 5.5vw, 1.6rem);
    margin: 0 auto 1.5rem;
    padding-bottom: 0.75rem;
  }

  /* ---- Off-canvas menu ---- */
  .menu-toggle {
    top: 12px;
    left: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.4rem;
    line-height: 40px;
    text-align: center;
    touch-action: manipulation;
  }

  .sidebar-left {
    --drawer-w: min(80vw, 300px);
    position: fixed;
    top: 0;
    left: calc(var(--drawer-w) * -1 - 24px);
    flex: none;
    width: var(--drawer-w);
    height: 100vh;
    height: 100dvh;
    padding: 4.5rem 1.25rem 2rem; /* top space clears the ☰ button */
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 9998;
  }

  .sidebar-left.menu-open {
    left: 0;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
  }

  .sidenav-links ul li a {
    font-size: 1.1rem;
    padding: 14px 18px;
  }

  /* ---- "Trusted by": below the content, as a wrapping logo grid ---- */
  .sidebar-right {
    position: static;
    z-index: auto;
    flex: none;
    width: 100%;
    padding: 1.25rem 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
  }

  .sidebar-right h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .stories-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 1rem 0.5rem;
    justify-items: center;
    padding-top: 0;
  }

  .story-circle {
    width: 56px;
    height: 56px;
    margin-bottom: 0;
  }

  /* ---- Categories gallery: 2 columns, fluid card height ---- */
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 100%;
    overflow: visible;
  }

  .image-wrapper {
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
  }

  .image-wrapper img {
    position: absolute;
    inset: 0;
  }

  .overlay {
    padding: 0.5rem;
  }

  .details h3 {
    font-size: clamp(0.8rem, 3.6vw, 1rem);
    letter-spacing: 1px;
    line-height: 1.3;
  }

  /* ---- About ---- */
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-card,
  .contact-card {
    max-width: 100%;
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .about-item {
    margin-bottom: 1rem;
  }

  .about-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
  }

  .about-card h3 {
    font-size: 1.05rem;
  }

  .about-skills,
  .about-expertise {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0;
    width: 100%;
  }

  .skill-tag,
  .expertise-tag {
    width: auto;
    max-width: 100%;
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    white-space: normal; /* long tags wrap instead of being cut off */
    overflow: visible;
    text-overflow: clip;
  }

  /* ---- Contact: full-width, thumb-sized buttons ---- */
  .contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }

  .contact-card p,
  .contact-description {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .contact-card .contact-link {
    display: block;
    min-height: 44px;
    padding: 0.8rem 1rem;
    text-align: center;
  }

  /* ---- Misc ---- */
  .back-to-top {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
    font-size: 1.4rem;
    touch-action: manipulation;
  }
}

/* Small phones (iPhone SE, older Androids) */
@media (max-width: 360px) {
  .intro-logo {
    font-size: 2.1rem;
  }

  .logo-header {
    gap: 3px;
  }

  .content-wrapper {
    padding: 0.75rem 0.5rem;
  }

  .index-section {
    padding: 1rem 0.75rem;
  }

  .gallery-container {
    gap: 0.5rem;
  }
}

/* ---- "Trusted by" shortcut (menu link) ---- */
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .sidebar-right {
    scroll-margin-top: 1rem;
  }
}

/* Highlight pulse when the "Trusted by" shortcut is used */
@keyframes trustedFlash {
  0% {
    box-shadow: inset 0 0 0 0 rgba(118, 75, 162, 0);
  }
  30% {
    box-shadow:
      inset 0 0 0 2px #764ba2,
      inset 0 0 40px rgba(118, 75, 162, 0.5);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(118, 75, 162, 0);
  }
}

.sidebar-right.flash {
  animation: trustedFlash 1.4s ease-out;
}

/* "Trusted by" menu button: phones/tablets only (desktop already shows the sidebar) */
@media (min-width: 769px) {
  .nav-trusted {
    display: none;
  }
}
