/*
Theme Name: Mirrored Memories
Theme URI: https://mirroredmemoriesco.com
Author: Aaron
Description: Custom theme for Mirrored Memories Photo Mirror.
Version: 1.0
Text Domain: mirrored-memories
*/

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f7f7f7;
  color: #222;
}

header.site-header {
  background: #000;
  color: #fff;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;   /* stack logo + menu */
  align-items: center;      /* center everything */
  text-align: center;
}

.hero {
  padding: 120px 20px;
  text-align: center;
  background: radial-gradient(circle at top, #444, #000);
  color: #fff;
}

.section {
  padding: 60px 20px;
  background: #fff;
}

.section.alt {
  background: #f0f0f0;
}

.section-inner {
  max-width: 1100px;
  margin: auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.cta-banner {
  background: linear-gradient(135deg, #000, #2c3e50);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

footer.site-footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px 40px;
}

/* LOGO STYLING */
.site-logo img {
  height: 70px;
  width: auto;
  display: block;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.hero-logo img {
  height: 140px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

.hero-monogram img {
  height: 90px;
  width: auto;
  margin: 40px auto 0;
  display: block;
  opacity: 0.85;
}

/* GLOBAL LOGO CONTROL */
.site-logo img,
.hero-logo img,
.footer-logo img,
.hero-monogram img {
  max-width: 250px;   /* controls the largest size allowed */
  width: 100%;        /* scales down responsively */
  height: auto;       /* keeps proportions correct */
  display: block;
  margin: 0 auto;
}

/* CENTERED NAVIGATION */
.main-nav {
  display: flex;
  justify-content: center;   /* centers the menu */
  gap: 30px;                 /* spacing between links */
  margin-top: 10px;
}

/* MENU LINKS */
.main-nav {
  display: flex;
  justify-content: center;   /* centers the menu */
  gap: 30px;                 /* spacing between links */
  margin-top: 15px;
}

.main-nav a {
  color: #ffffff;            /* white text */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 0;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* REMOVE BULLETS + RESET LIST */
.main-nav ul {
  list-style: none;       /* removes bullets */
  padding: 0;
  margin: 0;
  display: flex;          /* puts items in one line */
  gap: 30px;              /* spacing between menu items */
  justify-content: center;
  align-items: center;
}

/* MENU LINKS */
.main-nav a {
  color: #ffffff;         /* white text */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 0;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* FULL FOOTER CENTERING */
footer.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;   /* centers everything inside */
  text-align: center;
}

/* CENTER FOOTER TEXT */
footer.site-footer p {
  margin: 10px 0 0;
  text-align: center;
}

/* Hide all WordPress page titles */
.entry-title,
.page-title,
h1.page-title,
.entry-header,
.page-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove default blue and purple link colors */
a,
a:visited,
a:hover,
a:active {
    color: inherit !important;     /* uses the surrounding text color */
    text-decoration: none !important;
}

/* Optional: add your own custom link color */
a {
    color: #ffffff !important;     /* change this to any color you want */
}

a:hover {
    opacity: 0.8;                  /* subtle hover effect */
}

/* Gallery Grid Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

/* Gallery Images */
.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.gallery-grid a img {
  transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.mySwiper {
  width: 100%;
  padding: 40px 0;
}

.mySwiper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #fff;
}

/* Limit carousel image size */
.mySwiper .swiper-slide img {
  width: 100%;
  height: 400px;        /* Adjust this number to make images taller or shorter */
  object-fit: cover;    /* Prevent distortion */
  border-radius: 12px;
  display: block;
}

/* Optional: limit the carousel width so images don't stretch too wide */
.mySwiper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}

.mySwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000; /* optional: looks clean behind photos */
}

.mySwiper .swiper-slide img {
  width: 100%;
  height: auto;          /* allow natural height */
  object-fit: contain;   /* show the whole image */
  border-radius: 12px;
  display: block;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen hero */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes video fill the screen */
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2; /* Keeps text above the video */
  text-align: center;
  padding-top: 30vh; /* Adjust text vertical position */
  color: #fff;
}

.hero-title {
  font-size: 4rem;        /* Bigger main title */
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.6rem;      /* Bigger subtitle */
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
}

.section-title {
  font-size: 3rem;        /* Bigger headline */
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.section-subtitle {
  font-size: 1.5rem;      /* Larger subtitle */
  font-weight: 300;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-text {
  font-size: 1.2rem;
  line-height: 1.5;
}

.cta-banner h2 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.cta-banner p {
  font-size: 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.cta-banner .hero-cta {
  font-size: 1.6rem;
  font-weight: 600;
  padding: 12px 28px;
  display: inline-block;
}

.cta-banner p:last-of-type {
  font-size: 1.6rem !important;
  font-weight: 600;
  opacity: 1 !important;
  text-align: center;
  margin-top: 20px;
}

/* Header navigation font */
header.site-header a {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 20px;
  background: #f7f7f7;
  text-align: center;
}

.pricing-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 50px;
  opacity: 0.8;
}

/* Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards */
.pricing-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border: 3px solid #000;
}

/* Package Name */
.pricing-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Price */
.pricing-price {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #444;
}

/* Description */
.pricing-desc {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Features List */
.pricing-features,
.pricing-addons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li,
.pricing-addons li {
  font-size: 1.2rem;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

/* Add-ons Title */
.pricing-addons-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 25px 0 10px;
}

.calendar-section {
  padding: 40px;
  text-align: center;
}

.calendar-note {
  opacity: 0.7;
  margin-bottom: 20px;
}

.calendar {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.calendar th,
.calendar td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.calendar td.booked {
  background: #ff4d4d;
  color: #fff;
  font-weight: 700;
}

/* Global mobile optimization */
@media (max-width: 768px) {

  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
  }

  /* Reduce padding on sections */
  section {
    padding: 40px 15px !important;
  }

  /* Make grids stack vertically */
  .pricing-grid,
  .contact-grid,
  #multi-calendar {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  /* Make cards full width */
  .pricing-card,
  .calendar-block {
    width: 100% !important;
    margin: 0 auto;
  }

  /* Resize large text */
  .pricing-title,
  .contact-title {
    font-size: 2rem !important;
  }

  .pricing-name,
  .calendar-block h3 {
    font-size: 1.5rem !important;
  }

  /* Resize header contact info */
  .header-top-contact {
    top: 5px !important;
    left: 10px !important;
  }

  .header-top-contact span {
    font-size: 0.9rem !important;
  }

  /* Resize footer contact info */
  .footer-contact {
    font-size: 1rem !important;
  }

  /* Make forms mobile-friendly */
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 1rem !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding-top: 60px !important;
  }

  .header-top-contact {
    position: absolute;
    top: 10px;
    left: 10px;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 20px !important;
    border-radius: 12px !important;
  }

  .pricing-features li,
  .pricing-addons li {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  .calendar-block {
    margin-bottom: 30px !important;
  }

  .calendar th,
  .calendar td {
    padding: 6px !important;
    font-size: 0.9rem !important;
  }
}

/* Hide menu on mobile */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    flex-direction: column;
    background: #000;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  /* Show menu when active */
  .site-nav.active {
    display: flex;
  }

  /* Hamburger button */
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  /* Hide hamburger on desktop */
  @media (min-width: 769px) {
    .mobile-menu-toggle {
      display: none;
    }
  }

  /* Fix header layout on mobile */
  header.site-header {
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    position: relative;
  }

  /* Fix contact info top-left */
  .header-top-contact {
    top: 10px;
    left: 10px;
    font-size: 0.9rem;
  }
}

/* MOBILE MENU FIX */
@media (max-width: 768px) {

  /* Hide menu until hamburger is clicked */
  .main-nav {
    display: none;
    flex-direction: column;
    background: #000;
    width: 100%;
    padding: 20px 0;
    text-align: center;
  }

  /* Show menu when active */
  .main-nav.active {
    display: flex;
  }

  /* Hamburger button */
  .mobile-menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  /* Fix header layout */
  .site-header {
    position: relative;
    padding-top: 70px;
  }
}
