/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Alice&family=Fraunces:wght@300;400;500;600;700&display=swap');

/* Wedding Theme CSS - Color Palette from Color Hunt */
:root {
    --primary-dark: #B38829;
    --accent-gold: #E9A319;
    --secondary-light: #FAD59A;
    --background-cream: #FCEFCB;
    --white: #ffffff;
    --text-dark: #434343;
    --shadow: rgba(168, 101, 35, 0.1);
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Alice', serif !important;
    background: var(--white);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text-dark);
}

/* Main container */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Access card styling */
.access-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(168, 101, 35, 0.1);
}

/* Form styling */
.access-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-input {
    padding: 1rem;
    border: 2px solid var(--secondary-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-cream);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(233, 163, 25, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Button styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-gold) 100%);
    border: none;
    color: var(--white) !important; /* Ensure text is white and prioritized */
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Force white color on interactive states and with higher specificity to override framework rules */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    color: var(--white) !important;
}

/* Additional higher-specificity selectors to beat library selectors */
.btn.btn-primary,
button.btn-primary {
    color: var(--white) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 101, 35, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-map, .btn-waze {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 101, 35, 0.2);
    width: 250px;
    text-align: center;
    background: linear-gradient(180deg, #f5ce81 0%, #B8956A 50%, #B38829 100%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Alice', serif;
}

/* Alert styling */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--background-cream) 100%);
    color: var(--primary-dark);
    border: 1px solid var(--secondary-light);
}

.alert h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.alert p {
    margin: 0;
}

/* Tooltip styling */
.tooltip {
    position: relative;
    cursor: help;
    color: var(--accent-gold);
    font-weight: 600;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    font-weight: 400;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--primary-dark) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Loading animation */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--secondary-light);
    border-radius: 50%;
    border-top-color: var(--accent-gold);
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header Container - Position flower images at left and right borders */
.header-container {
    position: relative;
    width: 100%;
    height: 120px; /* Fixed height for consistent layout */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 0 0 0;
    box-sizing: border-box;
    background: var(--white);
}

.header-image-left,
.header-image-right {
    width: 390px;
    height: 390px;
    z-index: 1;
}
.header-image-left {
    object-fit: fill;
    object-position: left center;
}

.header-image-right {
    object-fit: fill;
    object-position: right center;
}

/* Responsive header styling to match footer */
@media (max-width: 768px) {
    .header-container {
        height: 100px;
    }
    
    .header-image-left,
    .header-image-right {
        width: 270px;
        height: 270px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 80px;
    }
    
    .header-image-left,
    .header-image-right {
        width: 200px;
        height: 200px;
    }
}

/* Wedding Page Layout */
.wedding-page {
    min-height: 100vh;
    background: var(--white);
}

/* Hero Section */
.hero-section {
    padding: 2rem 1rem;
    text-align: center;
    background: var(--white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem auto; /* Added bottom margin for spacing */
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    height: 250px;
    background: var(--secondary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--primary-dark);
    color: var(--primary-dark);
    font-weight: 500;
    text-align: center;
}

.hero-text {
    text-align: center;
}

/* Wedding logo styling */
.wedding-logo {
    margin: 0.5rem 0 1rem;
    display: flex;
    justify-content: center;
}

.logo-image {
    width: 100%;
    max-width: 350px;  /* Increased from 200px for desktop/laptop */
    height: auto;
    display: block;
}

/* Media queries for responsive logo size */
@media (max-width: 768px) {
    .logo-image {
        max-width: 250px;  /* Medium size for tablets */
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-width: 180px;  /* Smaller size for smartphones */
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.section-phrase {
    font-size: calc((1.275rem + .3vw) * 0.7);
    color: var(--text-dark);
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
    opacity: 0.8;
}

.recommendation {
    color: var(--primary-dark);
}

/* Section Styling */
section {
    padding: 3rem 1rem;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Section title part - same as section-title but without vertical padding */
.section-title-part {
    font-family: 'Great Vibes', cursive;
    font-size: 3.63rem; /* Increased from 3rem by 21% */
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 0;
    font-weight: 400;
}

/* Responsive font size for section-title-part on tablets */
@media (max-width: 768px) {
    .section-title-part {
        font-size: 2.904rem; /* Increased from 2.4rem by 21% */
    }
}

/* Responsive font size for section-title-part on mobile */
@media (max-width: 480px) {
    .section-title-part {
        font-size: 2.178rem; /* Increased from 1.8rem by 21% */
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.8rem;
    }
}

/* General h4 styling to match h2 color */
h4 {
    color: var(--primary-dark);
}

/* Wedding Date Section */
.wedding-date-section {
    background: var(--white);
    position: relative;
    padding: 0.5rem 1rem 3rem 1rem; /* Reduced top padding from 3rem to 0.5rem (8px) */
}

.leaves-image {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-30%);
    max-width: 100px; /* Adjust size as needed */
    height: auto;
    width: auto; 
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .leaves-image {
        max-width: 50px;
    }
}

@media (max-width: 400px) {
    .leaves-image {
        max-width: 38px;
    }
}


/* Wedding Image Styles */
.wedding-image {
    margin-top: 2rem;
    text-align: center;
}

.wedding-day-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    max-height: 300px;
    object-fit: cover;
}

.wedding-day-date {
    max-width: 100%; /* Full width by default for medium and small screens */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    max-height: 300px;
    object-fit: cover;
}

/* Apply 80% width only for large screens (768px and above) */
@media (min-width: 768px) {
    .wedding-day-date {
        max-width: 80%; /* 20% smaller than the calendar on large screens */
    }
}

/* Countdown Section */
.countdown-section {
    background: var(--white);
    position: relative;
}

.countdown-placeholder {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.countdown-display {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-number {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 300; /* Explicitly set to light weight */
    color: var(--text-dark);
    font-feature-settings: "tnum" 1, "lnum" 1;
    letter-spacing: 0.02em;
    line-height: 1;
}

.countdown-separator {
    font-size: 2.5rem;
    font-weight: 300; /* Explicitly set to light weight */
    color: var(--text-dark);
    line-height: 1;
    margin: 0 0.5rem;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.countdown-label {
    font-family: 'Alice', serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 400;
    text-align: center;
    line-height: 1;
}

/* Remove old countdown styling */
.countdown-text,
.countdown-labels {
    display: none;
}

/* Numeric styling with Fraunces font */
.numeric {
    font-family: 'Fraunces', serif !important;
    font-size: 2.5rem !important;
    color: var(--text-dark) !important;
    font-weight: 300 !important; /* Explicitly set to light weight */
    font-feature-settings: "tnum" 1, "lnum" 1 !important;
    letter-spacing: 0.02em !important;
}

/* Guest spots styling to match h2 color */
.guest-spots {
    color: var(--primary-dark) !important;
}

/* Location Section */
.location-section {
    background: var(--white);
    position: relative;
}

.location-section .section-content > *:not(.section-title) {
    margin-bottom: 2rem;
}

.location-section .section-content > *:last-child {
    margin-bottom: 0;
}

.location-placeholder {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.venue-main {
    padding: 0.5rem 2.5rem 2.5rem 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.venue-main h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.location-section .venue-name {
    font-size: calc(1.275rem + .3vw); /* Match h4 and section-phrase responsive font size */
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.location-actions {
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 2rem; /* Increased from 1rem to 2rem for more spacing */
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: nowrap; /* Prevent wrapping to keep buttons side by side */
}

/* Responsive adjustments for location buttons */
@media (max-width: 768px) {
    .location-actions {
        gap: 1.5rem; /* Increased from 0.5rem to 1.5rem for tablets */
    }
    
    .btn-map, .btn-waze {
        width: 200px; /* Reduce width from 250px */
        padding: 0.8rem 1.5rem; /* Reduce padding */
        font-size: 1rem; /* Slightly smaller font */
    }
}

@media (max-width: 480px) {
    .location-actions {
        gap: 1rem; /* Increased from 0.25rem to 1rem for mobile */
    }
    
    .btn-map, .btn-waze {
        width: 140px; /* Much smaller width for mobile */
        padding: 0.7rem 0.8rem; /* Reduced padding */
        font-size: 0.9rem; /* Smaller font size */
        letter-spacing: 0.3px; /* Reduce letter spacing */
    }
}

/* Dress Code Section */
.dress-code-section {
    background: var(--white);
    position: relative;
}

.dress-code-subtitle {
    color: var(--primary-dark);
    margin-top: 32px;
    margin-bottom: 10px;
}

.dress-code-genre {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 0;
}

.dress-code-details {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    justify-content: center;
    margin-top: 0;
}

.dress-code-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    min-height: 300px;
    padding: 0;
    margin-top: 0;
    gap: 1rem;
}

.dress-code-column:nth-child(2) {
    justify-content: center;
}

/* Vertical alignment for text columns (1st and 3rd) */
.dress-code-column:nth-child(1),
.dress-code-column:nth-child(3) {
    justify-content: flex-start; /* Changed from space-between to flex-start */
}

/* Create specific structure for dress code rows */
.dress-code-column:nth-child(1) > .section-phrase:first-of-type,
.dress-code-column:nth-child(3) > .section-phrase:first-of-type {
    display: flex;
    align-items: start;
    justify-content: center;
}

.dress-code-column:nth-child(1) > .section-phrase:last-of-type,
.dress-code-column:nth-child(3) > .section-phrase:last-of-type {
    /* Third row: accessories - ensure consistent height and bottom alignment */
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dress-code-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Remove margins and padding from elements with both section-phrase and dress-code-row classes */
.section-phrase.dress-code-row {
    margin: 0;
    padding: 0;
}

/* Add specific styling for reserved colors text */
.dress-code-reserved-colors {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Color circles styling */
.color-circles {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    flex-wrap: wrap; /* Allow wrapping */
    max-width: 100%; /* Ensure it doesn't overflow */
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 0 0 auto; /* Don't grow or shrink, size based on content */
}

/* ELLAS reserved colors */
.color-circle.white {
    background-color: #ffffff;
    border-color: #ccc;
}

.color-circle.cream {
    background-color: #eae6ca;
}

.color-circle.light-yellow {
    background-color: #fdfbd4;
}

.color-circle.gold {
    background-color: #e0cd95;
}

.color-circle.dark-gold {
    background-color: #b38829;
}

/* ELLOS reserved colors */
.color-circle.navy-blue {
    background-color: #2f2c79;
}

.color-circle.royal-blue {
    background-color: #2b23bc;
}

/* Base color-circle and color-name styling */
.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ddd;
    display: inline-block;
}

.color-name {
    font-size: 0.75rem;
    color: var(--text-dark);
    text-align: center;
    font-weight: 400;
    line-height: 1.2;
}

/* Responsive adjustments for dress code columns */
@media (max-width: 768px) {
    .dress-code-details {
        gap: 0.75rem;
        flex-direction: column; /* Stack columns vertically on tablets and mobile */
    }
    
    .dress-code-column {
        padding: 0.75rem;
        min-height: auto; /* Remove fixed height for better stacking */
        gap: 0.75rem;
        flex: none; /* Remove flex behavior for vertical stacking */
        max-width: 100%; /* Full width when stacked */
    }
    
    /* Remove special positioning for vertical stacking */
    .dress-code-column:nth-child(1),
    .dress-code-column:nth-child(3) {
        justify-content: flex-start; /* Reset to normal flow */
    }
    
    .dress-code-column:nth-child(2) {
        justify-content: center; /* Keep image centered */
        order: -1; /* Move image to top when stacked */
    }
    
    .color-circle {
        width: 25px;
        height: 25px;
    }
    
    .color-circles {
        gap: 0.4rem;
        max-width: 150px; /* Limit width to force wrapping */
    }
    
    .color-item {
        flex: 0 0 calc(33.33% - 0.27rem); /* 3 items per row with gap consideration */
        min-width: 40px; /* Minimum width for each item */
    }
    
    .color-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .dress-code-details {
        gap: 0.5rem;
        flex-direction: column; /* Stack columns vertically on mobile */
    }
    
    .dress-code-column {
        padding: 0.5rem;
        min-height: auto; /* Remove fixed height for better stacking */
        gap: 0.5rem;
        flex: none; /* Remove flex behavior for vertical stacking */
        max-width: 100%; /* Full width when stacked */
    }
    
    /* Remove special positioning for vertical stacking */
    .dress-code-column:nth-child(1),
    .dress-code-column:nth-child(3) {
        justify-content: flex-start; /* Reset to normal flow */
    }
    
    .dress-code-column:nth-child(2) {
        justify-content: center; /* Keep image centered */
        order: -1; /* Move image to top when stacked */
    }
    
    .color-circle {
        width: 20px;
        height: 20px;
    }
    
    .color-circles {
        gap: 0.3rem;
        max-width: 120px; /* Even more limited width for mobile */
    }
    
    .color-item {
        flex: 0 0 calc(33.33% - 0.2rem); /* 3 items per row with smaller gap */
        min-width: 35px; /* Smaller minimum width for mobile */
    }
    
    .color-name {
        font-size: 0.6rem;
    }
}

/* Add a media query for medium screens to maintain horizontal layout */
@media (min-width: 769px) {
    .dress-code-details {
        flex-direction: row; /* Keep horizontal layout on larger screens */
    }
    
    .dress-code-column {
        flex: 0 0 30%; /* Keep the 30% width we set earlier */
    }
    
    .dress-code-column:nth-child(2) {
        order: 0; /* Reset order for horizontal layout */
    }
}

/* Lluvia de Sobres Section */
.lluvia-sobres-section {
    background: var(--white);
    position: relative;
}

.lluvia-sobres-placeholder {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.lluvia-sobres-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
}

.envelope-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 8px 0;
}

.icon-recommendation {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 8px 0;
}

/* Special Recommendations Section */
.special-recommendations-section {
    background: var(--white);
    position: relative;
}

@media (min-width: 400px) {
    .special-recommendations-section .leaves-image {
        transform: translateY(45%);
    }
}

@media (max-width: 399px) {
    .special-recommendations-section .leaves-image {
        transform: translateY(65%);
    }
}


.special-recommendations-placeholder {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.special-recommendations-placeholder h4 {
    text-align: justify;
}
/* Wedding Planner Contact Styling */
.wedding-planner-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 600px;
    text-align: center;
    gap: 2rem;
}

.planner-image-column {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planner-info-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.wedding-planner-contact .logo-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    object-fit: cover;
}

.wedding-planner-contact h2 {
    font-family: 'Alice', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
    letter-spacing: 0.05em;
}

.wedding-planner-contact h4 {
    font-family: 'Alice', serif;
    font-size: 1.265rem; /* Increased from 1.1rem by 15% */
    font-weight: 400;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

/* Responsive adjustments for wedding planner contact */
@media (max-width: 768px) {
    .wedding-planner-contact {
        flex-direction: column;
        max-width: 400px;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .planner-image-column {
        flex: none;
    }
    
    .planner-info-column {
        flex: none;
        gap: 1rem;
    }
    
    .wedding-planner-contact .logo-image {
        max-width: 160px;
    }
    
    .wedding-planner-contact h2 {
        font-size: 1.4rem;
        color: var(--text-dark);
    }
    
    .wedding-planner-contact h4 {
        font-size: 1.15rem; /* Increased from 1rem by 15% */
        color: var(--text-dark);
    }
}

@media (max-width: 480px) {
    .wedding-planner-contact {
        flex-direction: row;
        max-width: 320px; /* Increased from 280px to use more available space */
        padding: 0.5rem;
        gap: 0.75rem;
        margin: 1rem auto;
        align-items: center;
    }
    
    .planner-image-column {
        flex: 0 0 auto;
    }
    
    .planner-info-column {
        flex: 1;
        gap: 0.3rem;
        text-align: left;
    }
    
    .wedding-planner-contact .logo-image {
        max-width: 70px;
    }
    
    .wedding-planner-contact h2 {
        font-size: 0.9rem;
        letter-spacing: 0.01em;
        text-align: left;
        margin: 0;
        color: var(--text-dark);
    }
    
    .wedding-planner-contact h4 {
        font-size: 0.8625rem; /* Increased from 0.75rem by 15% */
        text-align: left;
        margin: 0;
        line-height: 1.2;
        color: var(--text-dark);
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden;
        text-overflow: ellipsis; /* Add ellipsis if text is too long */
    }
}

/* RSVP Section */
.rsvp-section {
    background: var(--white);
    position: relative;
    padding-bottom: 0;
}

.rsvp-section .section-subtitle {
    margin-top: 32px;
}

.rsvp-placeholder {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

.rsvp-info {
    margin-top: 2rem;
}

.rsvp-item {
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.rsvp-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
}

.rsvp-item p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

/* Footer Section */
.footer-section {
    background: var(--white);
}

/* Footer Container - Position flower images at left and right borders */
.footer-container {
    position: relative;
    width: 100%;
    height: 120px; /* Fixed height for consistent layout */
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 0 0 0;
    box-sizing: border-box;
    background: var(--white);
}

.footer-image-left,
.footer-image-right {
    width: 380px;
    height: 380px;
    z-index: 1;
}

.footer-image-left {
    object-fit: fill;
    object-position: left bottom;
}

.footer-image-right {
    object-fit: fill;
    object-position: right bottom;
}

/* Responsive footer styling */
@media (max-width: 768px) {
    .footer-container {
        height: 100px;
        padding: 0 0 0 0;
    }
    
    .footer-image-left,
    .footer-image-right {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        height: 80px;
        padding: 0 0 0 0;
    }
    
    .footer-image-left,
    .footer-image-right {
        width: 160px;
        height: 160px;
    }
}

/* Action Section */
.action-section {
    background: var(--white);
    padding: 2rem 1rem;
}

.logout-btn {
    margin: 0 auto;
    display: block;
    min-width: 200px;
}

/* Access Required Screen Styling */
.access-required-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.access-required-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.access-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    text-align: center;
}

.access-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--background-cream);
    border-radius: 50%;
    border: 2px solid var(--secondary-light);
    box-shadow: 0 4px 12px var(--shadow);
}

.access-message {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.access-message p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.access-subtitle {
    font-size: 1rem !important;
    color: var(--primary-dark) !important;
    font-weight: 500;
    opacity: 0.8;
}

.access-actions {
    display: flex;
    justify-content: center;
}

.access-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 200px;
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
}

/* Make all placeholder text and paragraphs in sections use almost black */
.image-placeholder p,
.lluvia-sobres-placeholder p,
.rsvp-placeholder p,
.rsvp-item p,
.venue-name {
    color: var(--text-dark);
}

/* Ensure section titles remain colored */
.section-title {
    /* Keep existing color (primary-dark) */
    color: var(--primary-dark);
}

/* Ensure h4 headings in sections remain colored */
.rsvp-item h4 {
    /* Keep existing color (primary-dark) */
    color: var(--primary-dark);
}

/* 404 Error Page Styling */
.not-found-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
}

.not-found-content {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(168, 101, 35, 0.1);
}

.not-found-icon {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.not-found-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
    font-family: 'Alice', serif;
}

.not-found-message {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 0 0 2rem 0;
    line-height: 1.5;
    font-family: 'Alice', serif;
}

.not-found-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-home {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-gold) 100%);
    border: none;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    min-width: 200px;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 101, 35, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-home:active {
    transform: translateY(0);
}

/* Responsive styling for 404 page */
@media (max-width: 768px) {
    .not-found-content {
        padding: 2rem 1.5rem;
    }
    
    .not-found-icon {
        font-size: 3.6rem; /* Increased from 3rem by 20% */
    }
    
    .not-found-title {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
    }
    
    .not-found-message {
        font-size: 1.32rem; /* Increased from 1.1rem by 20% */
    }
}

@media (max-width: 480px) {
    .not-found-content {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .not-found-icon {
        font-size: 3rem; /* Increased from 2.5rem by 20% */
    }
    
    .not-found-title {
        font-size: 2.1rem; /* Increased from 1.75rem by 20% */
    }
    
    .not-found-message {
        font-size: 1.2rem; /* Increased from 1rem by 20% */
    }
    
    .btn-home {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1.14rem; /* Increased from 0.95rem by 20% */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 15px;
    }
    
    .access-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .form-input, .btn-primary {
        padding: 1.2rem;
        font-size: 1.32rem; /* Increased from 1.1rem by 20% */
    }
    
    .countdown-container {
        gap: 0.8rem;
    }
    
    .countdown-number {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
    }
    
    .countdown-separator {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
        margin: 0 0.3rem;
    }
    
    .countdown-label {
        font-size: 1.08rem; /* Increased from 0.9rem by 20% */
    }
    
    /* Welcome page tablet responsive */
    .welcome-title {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
        margin-bottom: 0.75rem;
    }
    
    .user_name {
        font-size: 1.8rem; /* Increased from 1.5rem by 20% */
    }
    
    .welcome_message {
        font-size: 1.2rem; /* Increased from 1rem by 20% */
    }
    
    .user_greeting {
        padding: 1.25rem 0;
    }
    
    .couple-names {
        font-size: 3rem; /* Increased from 2.5rem by 20% */
    }
    
    .hero-subtitle {
        font-size: 1.44rem; /* Increased from 1.2rem by 20% */
    }
    
    .hero-image-placeholder {
        max-width: 250px;
    }
    
    .image-placeholder {
        height: 200px;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .wedding-date {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
    }
    
    .date-time-container {
        gap: 1.5rem;
    }
    
    .wedding-day-image {
        max-height: 250px;
    }
    
    .countdown-text {
        font-size: 2.64rem; /* Increased from 2.2rem by 20% */
    }
    
    .countdown-labels {
        gap: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.96rem; /* Increased from 0.8rem by 20% */
        min-width: 50px;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    section {
        padding: 1.2rem 1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 10px;
    }
    
    .access-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .form-input, .btn-primary {
        padding: 1rem;
        font-size: 1.2rem; /* Increased from 1rem by 20% */
    }
    
    .tooltip .tooltiptext {
        width: 150px;
        margin-left: -75px;
        font-size: 0.96rem; /* Increased from 0.8rem by 20% */
    }
    
    .countdown-container {
        gap: 0.2rem; /* Reduced from 0.5rem to minimize horizontal spacing */
        flex-wrap: nowrap; /* Prevent wrapping to keep all elements on one line */
    }
    
    .countdown-number {
        font-size: 2.16rem; /* Increased from 1.8rem by 20% */
    }
    
    .countdown-separator {
        font-size: 2.16rem; /* Increased from 1.8rem by 20% */
        margin: 0 0.1rem; /* Reduced from 0.2rem to minimize spacing */
    }
    
    /* Welcome page mobile responsive */
    .welcome-content {
        gap: 1rem;
    }
    
    .welcome-title {
        font-size: 2.1rem; /* Increased from 1.75rem by 20% */
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .user_greeting {
        padding: 1rem 0;
        gap: 0.5rem;
    }
    
    .user_name {
        font-size: 1.56rem; /* Increased from 1.3rem by 20% */
        line-height: 1.3;
    }
    
    .welcome_message {
        font-size: 1.14rem; /* Increased from 0.95rem by 20% */
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 1.14rem; /* Increased from 0.95rem by 20% */
        width: 100%;
    }
    
    .couple-names {
        font-size: 2.4rem; /* Increased from 2rem by 20% */
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.32rem; /* Increased from 1.1rem by 20% */
    }
    
    .hero-image-placeholder {
        max-width: 200px;
    }
    
    .section-title {
        font-size: 3.8rem;
    }
    
    .wedding-date {
        font-size: 1.8rem; /* Increased from 1.5rem by 20% */
    }
    
    .date-time-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Wedding Calendar Styles */
/* Removed .image-calendar CSS rules - no longer needed */

.wedding-day-calendar {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow);
    max-height: 250px; /* Default for desktop and tablet */
    object-fit: cover;
}

/* Mobile responsive adjustment for wedding calendar */
@media (max-width: 480px) {
    .wedding-day-calendar {
        max-height: 150px; /* Smaller height for mobile devices */
    }
}

/* Guest RSVP Switch Styling */
.guest-rsvp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(168, 101, 35, 0.1);
}

/* Custom Switch styling to match wedding theme */
.guest-rsvp-item .switch {
    margin-right: 0.75rem;
}

.guest-rsvp-item .form-check-label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Override Blazorise switch colors for wedding theme */
.rsvp-item .form-switch .form-check-input:checked {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

.rsvp-item .form-switch .form-check-input:focus {
    border-color: var(--primary-dark) !important;
    box-shadow: 0 0 0 0.25rem rgba(233, 163, 25, 0.25) !important;
}

.rsvp-item .form-switch .form-check-input {
    border-color: var(--secondary-light);
    background-color: var(--background-cream);
}

.rsvp-item .form-switch .form-check-input:checked:focus {
    box-shadow: 0 0 0 0.25rem rgba(233, 163, 25, 0.25) !important;
}

.guest-rsvp-details {
    border: 1.5px solid var(--primary-dark);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    margin: 1rem 0 1.5rem 0;
}

@media (max-width: 480px) {
    .envelope-image,
    .icon-recommendation {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 880px) {
    p {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Clean flexbox solution for section title line breaks on small screens */
@media (max-width: 549px) {
    .countdown-section .section-title,
    .special-recommendations-section .section-title {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.1;
    }
    
    .title-word {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Created By Footer Section */
.created-by-footer {
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--secondary-light) 100%);
    border-top: 1px solid rgba(168, 101, 35, 0.2);
    padding: 2rem 1rem 1.5rem 1rem;
    margin-top: 0;
    width: 100%;
}

.created-by-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.created-by-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.created-by-message {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
    opacity: 0.8;
}

.created-by-copyright {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 400;
    opacity: 0.6;
}

/* Responsive adjustments for Created By footer */
@media (max-width: 768px) {
    .created-by-footer {
        padding: 1.5rem 1rem 1.25rem 1rem;
    }
    
    .created-by-message {
        font-size: 0.95rem;
    }
    
    .created-by-copyright {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .created-by-footer {
        padding: 1.25rem 0.75rem 1rem 0.75rem;
    }
    
    .created-by-text {
        gap: 0.6rem;
    }
    
    .created-by-message {
        font-size: 0.9rem;
    }
    
    .created-by-copyright {
        font-size: 0.8rem;
    }
}

