/* CSS Variables */
:root {
    --headingLargeColor: hsl(40, 17.65%, 96.67%);
}

/* Reset and Base Styles */


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    color: #f5f5f5;
    z-index: 1000;
    padding: 1.4vw 0;
    transition: background 0.3s ease;
}

.header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #000000;
    min-width: 150px;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: none;
}

.dropdown-content a:hover {
    opacity: 0.7;
}

.header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo a {
    color: #f5f5f5;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn-rsvp {
    padding: 0.6rem 1.5rem;
    border: 1px solid #f5f5f5;
    color: #f5f5f5;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
}

.btn-rsvp:hover {
    background: #f5f5f5;
    color: #000000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 1px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 6vw 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.hero-container {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 2vw;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    margin-bottom: 4rem;
}

.hero-image {
    overflow: hidden;
    position: relative;
}

.hero-image-left,
.hero-image-right {
    width: min(20%, 500px);
    max-width: 500px;
    max-height: 750px;
    aspect-ratio: 269 / 403;
    min-width: 250px;
    flex-shrink: 0;
}

.hero-image-main {
    width: min(60vw, 1200px);
    max-width: 626px;
    max-height: 766px;
    aspect-ratio: 626 / 766;
    min-width: 400px;
    position: relative;
    flex-shrink: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.hero-date {
    font-family: 'Lato', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 5rem);
    font-weight: 700;
    color: #000000;
    text-align: center;
    letter-spacing: 4px;
    line-height: 1.2;
}

.hero-text {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
}

.hero-text h4 {
    font-size: clamp(0.75rem, 1.1vw, 0.95rem);
    font-weight: 400;
    color: #000000;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    animation: bounce 2s infinite;

}

.scroll-indicator svg {
    color: #000000;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover svg {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Schedule Section */
.schedule-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.schedule-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.squarespace-cdn.com/content/v1/67bc3eee49fd994193e92d94/1740390128705-FDZUG5MHI7FGGRL8DPMP/andres-molina-wIfDI58tCuU-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.schedule-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.schedule-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}

.schedule-intro {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.schedule-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

.schedule-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-item {
    text-align: center;
}

.timeline-item h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-item h4 {
    font-size: 1rem;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.schedule-lineup {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: clamp(6rem, 12vw, 15rem);
    margin: 6rem auto 0;
    width: 100%;
    max-width: 1200px;
    padding-top:120px;
}

/* Center the block containing schedule-lineup */
.fe-block-ba1fd91b8660ffd53c1f .sqs-block-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.fe-block-ba1fd91b8660ffd53c1f .sqs-html-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.schedule-slot {
    text-align: center;
    color: var(--headingLargeColor);
    width: 200px;
    padding: 0 1rem;
    flex-shrink: 0;
}

.slot-time {
    margin: 0 0 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    letter-spacing: 2px;
}

.slot-label {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.slot-note {
    margin: 0.75rem 0 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.75);
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-image {
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.location-content {
    text-align: center;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-transform: lowercase;
    letter-spacing: 2px;
    color: #2c2c2c;
}

.location-details {
    margin-bottom: 2rem;
}

.location-details h4 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.location-details a {
    color: #2c2c2c;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.location-details a:hover {
    opacity: 0.7;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #2c2c2c;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: lowercase;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-secondary:hover {
    background: #2c2c2c;
    color: #ffffff;
}

/* Countdown Section */
.countdown-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.countdown-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.squarespace-cdn.com/content/v1/67bc3eee49fd994193e92d94/1740390128715-KEYKCBVQJCN7V590KXTJ/tasha-marie-kCdjXEsCm2I-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.67);
}

.countdown-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4vw;
}

.countdown-content h4 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-size: 4rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.countdown-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Registry Section */
.registry-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.registry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.registry-content {
    text-align: center;
}

.registry-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

.registry-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.registry-image {
    overflow: hidden;
}

.registry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* Dress Code Section */
.dresscode-section {
    padding: 80px 0;
    background: #ffffff;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dresscode-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.dresscode-image {
    overflow: hidden;
}

.dresscode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.dresscode-content {
    text-align: center;
}

.dresscode-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

/* RSVP Section */
.rsvp-section {
    padding: 80px 0;
    background: #ffffff;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-weight: 400;
    letter-spacing: 2px;
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #2c2c2c;
    margin-bottom: 3rem;
    font-weight: 400;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #2c2c2c;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #2c2c2c;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: transparent;
    color: #2c2c2c;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom: 2px solid #2c2c2c;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.radio-label:hover {
    opacity: 0.7;
}

.radio-label input[type="radio"] {
    margin-right: 10px;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: transparent;
    color: #000000;
}

.form-success {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: bold;
}

.form-success h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.form-success p {
    color: #2c2c2c;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
}

.footer a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-image-main {
        width: 60vw;
        max-width: 1200px;
        max-height: 1470px;
        min-width: 400px;
        aspect-ratio: 626 / 766;
    }
    
    .hero-image-left,
    .hero-image-right {
        width: 35vw;
        max-width: 500px;
        max-height: 750px;
        min-width: 250px;
        aspect-ratio: 269 / 403;
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #000000;
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .header-nav.mobile-active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .header-logo {
        position: static;
        transform: none;
    }
    
    .nav-dropdown .dropdown-content {
        position: static;
        display: none;
        background: transparent;
        padding: 0.5rem 0 0 1rem;
    }
    
    .nav-dropdown:hover .dropdown-content,
    .nav-dropdown.active .dropdown-content {
        display: block;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-image-main {
        width: 95%;
        max-width: 1100px;
        max-height: 1170px;
        min-width: 400px;
        aspect-ratio: 626 / 766;
        order: 2;
    }
    
    .hero-image-left {
        width: 85%;
        max-width: 500px;
        max-height: 750px;
        min-width: 250px;
        aspect-ratio: 269 / 403;
        order: 1;
    }
    
    .hero-image-right {
        width: 85%;
        max-width: 500px;
        max-height: 750px;
        min-width: 250px;
        aspect-ratio: 269 / 403;
        order: 3;
    }
    
    .hero-content {
        top: 8%;
    }
    
    .hero-text {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .hero-date {
        font-size: 2.5rem;
    }
    
    .schedule-title {
        font-size: 2rem;
    }
    
    .schedule-timeline {
        grid-template-columns: 1fr;
    }
    
    .location-grid,
    .registry-grid,
    .dresscode-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .registry-images,
    .dresscode-images {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        gap: 1.5rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-date {
        font-size: 2rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .rsvp-form {
        padding: 2rem 1rem;
    }
}

/* Reduce countdown section height */
section[data-section-id="67bc3ef049fd994193e92dff"] {
    height: 65vh !important;
}

section[data-section-id="67bc3ef049fd994193e92dff"] .content-wrapper {
    padding-top: 3vw !important;
    padding-bottom: 3vw !important;
    height: 65vw !important;
}

/* Countdown Hero Section */
.countdown-hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.countdown-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/countdown.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.countdown-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.countdown-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 4vw;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-hero-text {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    color: hsl(40, 17.65%, 96.67%);
}

/* Custom Countdown Timer Styles */
.custom-countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: hsl(40, 17.65%, 96.67%);
}

.custom-countdown-timer .countdown-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-countdown-timer .countdown-number {
    display: block;
    font-size: 10rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    color: hsl(40, 17.65%, 96.67%);
    line-height: 1;
}

.custom-countdown-timer .countdown-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: hsl(40, 17.65%, 96.67%);
}

@media (max-width: 768px) {
    .custom-countdown-timer {
        gap: 1.5rem;
    }
    
    .custom-countdown-timer .countdown-number {
        font-size: 4rem;
    }
    
    .custom-countdown-timer .countdown-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .custom-countdown-timer .countdown-number {
        font-size: 3rem;
    }
    
    .custom-countdown-timer .countdown-label {
        font-size: 0.9rem;
    }
}

