/*
Theme Name: Karl & Diane Wedding
Author: Your Name
Description: Custom wedding one-page theme
Version: 1.0
*/

/* Body styling */
body {
    font-family: 'Montserrat', sans-serif;
    color: #3e4d3f;
}

/* Menu */
#mainNavbar {
  transition: all 0.3s ease;
  background: transparent;
  z-index: 999;
}
body.admin-bar #mainNavbar {
    margin-top: 32px;
}

#mainNavbar #mainMenu ul li a {
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  letter-spacing: 1px;
  /* background: rgba(62, 77, 63, 0.95); */
  padding: 10px;
  text-decoration: none;
  text-transform: uppercase;
}

#mainNavbar.scrolled #mainMenu ul li a {
    background: none;
}

#mainNavbar.scrolled {
  background: rgba(62, 77, 63, 0.95); /* mocha olive */
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#mainNavbar .nav-link:hover {
  color: #FDF5EA;
}

@media (max-width: 991px) {
  #mainNavbar {
    background: rgba(62, 77, 63, 0.98);
  }

  #mainNavbar .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }

  #mainNavbar .nav-link {
    margin: 0.5rem 0;
    font-size: 1.2rem;
  }
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Hero section */
.hero-section {
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 20px;
    flex-direction: column;
}

/* Names */
.names {
    font-family: "Cormorant SC", serif;
    font-size: 10vw;
    color: #FFF;
    opacity: 0;
    transition: all 1s ease-out;
    font-weight: 300;
    text-transform: uppercase;
}

/* Ampersand animation */
.amp {
    font-family: "Great Vibes", cursive;
    font-size: 3vw;
    display: inline-block;
    margin: 0 0.5em;
    animation-delay: 0.5s;
    line-height: 0;
    text-transform: capitalize;
}

/* Announcement */
.announcement {
    font-family: "Outfit", sans-serif;
    font-size: 2vw;
    margin-top: 0.5em;
    opacity: 0;
    transition: opacity 1s ease-in;
    text-transform: uppercase;
    color: #FFF;
}

/* Countdown */
.countdown {
    font-weight: 600;
    gap: 2rem;
    opacity: 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #FFF;
    color: #FFF;
}

.countdown-item:last-child {
    border-right: 0;
    padding-right: 0;
}

.countdown-value {
    font-size: 3rem;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 300;
}

/* Animations */
@keyframes ampBounce {
    0% { transform: rotate(0deg) scale(0.8);}
    50% { transform: rotate(20deg) scale(1.2);}
    100% { transform: rotate(0deg) scale(1);}
}

/* Fade-up animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-text {
        font-size: 5vw;
    }
}


/* Tablet screens */
@media (max-width: 992px) {
    .names { font-size: 20vw; }
    .announcement { font-size: 4vw; }
    .countdown-value { font-size: 1.8rem; }
    .countdown-label { font-size: 0.9rem; }
    .amp {
        font-size: 7vw;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .names { font-size: 20vw; }        /* bigger on mobile */
    .announcement { font-size: 5vw; }  /* bigger on mobile */
    .countdown {
        flex-direction: column;        /* stack items vertically */
        gap: 1rem;
    }
    .countdown-item {
        width: 100%;                  /* full width */
        flex-direction: row;          /* label next to value */
        justify-content: space-between;
        border: none;
    }
    .countdown-value { font-size: 2rem; }
    .countdown-label { font-size: 1rem; }
}

.intro-section {
    width: 100%;
    height: 25vh; /* 1/4 viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FDF5EA; /* solid warm background */
    color: #3e4d3f; /* dark olive text */
    padding: 20px;
}

/* Text styling */
.intro-text {
    font-family: 'Playfair Display', serif;
    font-size: 2vw; /* keep elegant font size */
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

/* Fade-up animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .intro-section {
        height: auto; /* auto height for mobile */
        padding: 60px 20px;
    }
    .intro-text {
        font-size: 5vw; /* keep responsive */
    }
}

.love-story-section {
    width: 100%;
    height: 50vh; /* half of viewport height */
    display: flex;
    flex-wrap: wrap;
}

/* Left column: text */
.love-text {
    background-color: #3e4d3f; /* solid olive green */
    color: #FDF5EA; /* light text for contrast */
}

.love-title {
    font-family: "Forum", serif;
    font-size: 3vw;
    margin-bottom: 1rem;
}

.love-content {
    font-family: "Raleway", sans-serif;
    font-size: 1.2vw;
    line-height: 1.6;
}

/* Right column: image */
.love-image {
    height: 100%;
}
.love-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prenup-section {
    width: 100%;
    background-color: #FDF5EA; /* soft warm background */
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Title & subtitle */
.prenup-title {
    font-family: 'Forum', serif;
    font-size: 3vw;
    color: #3e4d3f;
}

.prenup-subtitle {
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
    color: #3e4d3f;
}

/* Masonry images */
#prenup-gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#prenup-gallery img:hover {
    transform: scale(1.05);
}

.prenup-modal {
    background: rgba(62, 77, 63, 0.95);
    border: none;
}

#prenupModalImage {
    max-height: 80vh;
    object-fit: contain;
}

/* Navigation arrows */
.prenup-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3rem;
    color: #FFF;
    cursor: pointer;
    padding: 0 20px;
}

.prenup-nav.prev { left: 0; }
.prenup-nav.next { right: 0; }

/* .prenup-nav:hover {
    color: #FFF;
}
 */

.venue-section {
    width: 100%;
    background-color: #FFF; /* soft background */
}

.venue-section .venue-title {
    font-family: 'Forum', serif;
    font-size: 3vw;
    color: #3e4d3f;
}

.venue-section .venue-subtitle {
    font-family: "Raleway", sans-serif;
    font-size: 1.25rem;
    color: #3e4d3f;
}

/* Venue card styling */
.venue-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Image */
.venue-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Info text */
.venue-info-title {
    font-family: 'Forum', serif;
    font-size: 2.5rem;
    color: #3e4d3f;
    margin-bottom: 1rem;
}

.venue-info-list li {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: #3e4d3f;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center; /* center horizontally */
}

.venue-info-list li i {
    margin-right: 10px;
    color: #3e4d3f; /* icon color */
    font-size: 1.2rem;
}

.venue-info-list li a {
    color: #3e4d3f;
}

.entourage-section {
    background: linear-gradient(-35deg,#2f3c32 0%,#3e4d3f 40%,#7f8f7a 100%);
}

.entourage-title {
    font-family: 'Forum', serif;
    font-size: 3rem;
    color: #FFF;
    margin-bottom: 2rem;
}

.entourage-subtitle {
    font-family: 'Forum', serif;
    font-size: 2rem;
    color: #FFF;
    margin-bottom: 1rem;
}

.entourage-section-title {
    font-family: 'Forum', serif;
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 1rem;
    font-weight: bold;
}

.entourage-group p,
.entourage-pair p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
    color: #FFF;
}

.entourage-pair {
    margin-top: 2.5rem;
}

.color-motif-section {
    background-color: #FDF5EA;
}

/* Left card */
.motif-card {
    border-right: 1px solid #3e4d3f;
    padding-right: 2.5rem;
    text-align: right;
}

.motif-title {
    font-family: 'Forum', serif;
    font-size: 3rem;
    color: #3e4d3f;
    margin-bottom: 0.5rem;
}

.motif-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3e4d3f;
    margin-bottom: 1.5rem;
}

/* Main motif image */
.motif-image-wrapper img {
    width: 100%;
    height: 40px;            /* requested height */
    object-fit: cover;
    border-radius: 10px;
    margin-top: 1rem;
    object-position: 44px center;
}

/* Right gallery */
.motif-gallery {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.motif-gallery img {
    width: 100%;
    max-height: 200px;       /* requested max height */
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(62, 77, 63, 0.15);
    object-position: center -15px;
}

.motif-gallery img:nth-child(2) {
    object-position: center -44px;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    color: #FFF;
    z-index: 1;
}

.closing-section {
    height: 30vh; /* full screen ending */
    background: linear-gradient(
        rgba(62, 77, 63, 0.85),
        rgba(62, 77, 63, 0.85)
    ),
    url('/wp-content/uploads/your-background-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.closing-text {
    font-family: 'Forum', serif;
    font-size: 4.5rem;
    color: #FDF5EA;
    letter-spacing: 0.05em;
}

/* Mobile */
@media (max-width: 768px) {
    .motif-title {
        font-size: 2.5rem;
    }

    .motif-gallery {
        grid-template-rows: auto;
    }

    .motif-gallery img {
        height: 200px;
    }

    .love-story-section {
        flex-direction: column;
        height: auto; /* expand naturally on mobile */
    }
    .love-text {
        width: 100%;
        text-align: center;
        padding: 40px 20px;
    }
    .love-title { font-size: 8vw; }
    .love-content { font-size: 4vw; }
    .love-image {
        width: 100%;
        height: 300px; /* fixed height for mobile image */
    }
    .prenup-title { font-size: 8vw; }
    .venue-img { height: 200px; }
    .venue-section .venue-title { font-size: 8vw; }
    .venue-info-title { font-size: 6vw; }
    .venue-info-list li { font-size: 4vw; justify-content: flex-start; }
    .entourage-title {
        font-size: 2.5rem;
    }
    .entourage-subtitle {
        font-size: 1.8rem;
    }
    .closing-text {
        font-size: 12vw;
        padding: 0 20px;
    }
}

.wed-btn {
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    letter-spacing: 1px;
    margin-left: 1rem;
    background: rgba(62, 77, 63, 0.95);
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
}