/* Navigation Menu - Elegant & Matches Theme - Highly Visible */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1a3a2a;
    border-bottom: 2px solid rgba(201, 169, 97, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    min-height: 60px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
}

.mobile-menu-toggle {
    display: none;  
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    z-index: 1001;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #c9a961;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle:hover span {
    background: #f5f5f5;
}

.main-navigation.menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px) !important;
}

.main-navigation.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0 !important;
}

.main-navigation.menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px) !important;
}

@media (max-width: 768px) {
    .main-navigation.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) !important;
    }

    .main-navigation.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0 !important;
    }

    .main-navigation.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px) !important;
    }
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 100%;
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.nav-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #f5f5f5;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.15rem;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    opacity: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #c9a961;
    opacity: 1;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

body {
    padding-top: 60px;
}

/* Homepage Styles */
.homepage {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a2a 0%, #2d5a3d 50%, #1a3a2a 100%);
    margin-top: -70px; /* Offset for fixed nav */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-playsinline: true;
    playsinline: true;
}

.youtube-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.youtube-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 58, 42, 0.7) 0%, rgba(26, 58, 42, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f5f5f5;
    margin-bottom: 3rem;
    font-style: italic;
    letter-spacing: 0.2rem;
    font-family: 'Cormorant Garamond', serif;
}

.save-the-date {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    color: #f5f5f5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    position: relative;
}

.hero-songs-logo {
    display: table-column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    text-align: center;
}

.hero-songs-logo img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-songs-logo::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
    margin: 1.5rem auto 0;
}


.rsvp-button {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    background: transparent;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 0;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

.rsvp-button:hover {
    background: #c9a961;
    color: #1a3a2a;
}

/* Hero Songs Card - Below Save the Date */
.hero-songs-card {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-songs-link {
    max-width: 400px;
    width: 100%;
    background: rgba(26, 58, 42, 0.6);
    border: 1px solid rgba(201, 169, 97, 0.4);
    backdrop-filter: blur(5px);
    padding: 2.5rem 2rem;
    text-decoration: none;
    display: block;
}

.hero-songs-link:hover {
    background: rgba(45, 90, 61, 0.7);
    border-color: rgba(201, 169, 97, 0.6);
}

.hero-songs-link .card-icon {
    height: 100px;
    margin-bottom: 1rem;
}

.hero-songs-link .card-icon img {
    max-width: 100px;
    max-height: 100px;
}

.hero-songs-link h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.hero-songs-link p {
    font-size: 1rem;
}

/* Venue Section */
.venue-section {
    padding: 6rem 2rem;
    background: #1a3a2a;
    position: relative;
}

.venue-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.venue-section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.5rem;
    color: #f5f5f5;
    margin-bottom: 4rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2rem;
}

.venue-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 2rem;
    align-items: start;
}

.detail-card-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
}

.detail-card {
    background: rgba(45, 90, 61, 0.4);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.detail-card-with-map {
    display: flex;
    flex-direction: column;
}

.map-container {
    margin: 1.5rem 0;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 200px;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    color: #c9a961;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.map-link:hover {
    color: #f5f5f5;
    border-bottom-color: #c9a961;
}

.detail-card-full:hover {
    border-color: #c9a961;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.2);
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #c9a961;
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #f5f5f5;
    font-style: italic;
}

.venue-address {
    font-size: 1.1rem;
    color: #d4d4d4;
    line-height: 1.8;
}

.venue-address:empty {
    display: none;
}

.timetable {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: rgba(26, 58, 42, 0.5);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0;
}

.time-item:hover {
    border-color: #c9a961;
}

.time {
    font-weight: 600;
    color: #c9a961;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
}

.event {
    color: #f5f5f5;
    font-size: 1.2rem;
    font-style: italic;
}

/* Join Us Section */
.join-us-section {
    padding: 6rem 2rem;
    background: #2d5a3d;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.join-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.join-us-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 4rem;
    color: #f5f5f5;
    margin-bottom: 5rem;
    font-weight: 400;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.join-us-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.join-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.join-card {
    background: rgba(26, 58, 42, 0.4);
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.join-card:hover {
    border-color: #c9a961;
    background: rgba(45, 90, 61, 0.5);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.9) sepia(0.3) hue-rotate(5deg) saturate(0.8);
    transition: all 0.3s ease;
    opacity: 0.85;
}

.card-icon-bets img {
    max-width: 140px;
    max-height: 120px;
}

.card-icon-songs img {
    max-width: 140px;
    max-height: 120px;
}

.card-icon-photos img {
    max-width: 140px;
    max-height: 120px;
}

.join-card:hover .card-icon img {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(1) sepia(0.2) hue-rotate(5deg) saturate(1);
}

.join-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #c9a961;
    margin-bottom: 1.5rem;
    font-weight: 600;
    white-space: normal;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.join-card p {
    font-size: 1.2rem;
    color: #d4d4d4;
    line-height: 1.8;
    font-style: italic;
}

/* RSVP Page Styles */
.rsvp-page {
    min-height: 100vh;
    background: #1a3a2a;
    padding: 4rem 1rem;
    position: relative;
}

.rsvp-container {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(45, 90, 61, 0.4);
    padding: 4rem 3rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.rsvp-container h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 4rem;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

.rsvp-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.rsvp-main-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto 2rem;
    width: 100%;
}

.rsvp-main-logo img {
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
}

.subtitle {
    text-align: center;
    color: #d4d4d4;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.guest-name-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(26, 58, 42, 0.2);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0;
}

.form-group label {
    font-weight: 600;
    color: #c9a961;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-family: 'Playfair Display', serif;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    background: rgba(26, 58, 42, 0.3);
    color: #f5f5f5;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a961;
    background: rgba(26, 58, 42, 0.5);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1.2rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    background: rgba(26, 58, 42, 0.2);
    transition: all 0.3s ease;
}

.radio-label:hover {
    border-color: #c9a961;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #c9a961;
}

.radio-label span {
    font-size: 1.2rem;
    color: #f5f5f5;
    font-style: italic;
}

.submit-button {
    padding: 1.2rem 3rem;
    background: transparent;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    cursor: pointer;
    margin-top: 2rem;
}

.submit-button:hover {
    background: #c9a961;
    color: #1a3a2a;
}

.back-button {
    display: block;
    margin: 2rem auto 0;
    padding: 0.8rem 2rem;
    background: transparent;
    color: #c9a961;
    border: 1px solid rgba(201, 169, 97, 0.5);
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.back-button:hover {
    border-color: #c9a961;
    color: #f5f5f5;
    background: rgba(201, 169, 97, 0.1);
}

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c9a961;
    margin-bottom: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.success-message p {
    font-size: 1.3rem;
    color: #d4d4d4;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

/* Bets Page Styles */
.bets-page {
    min-height: 100vh;
    background: #1a3a2a;
    padding: 4rem 1rem;
}

.bets-container {
    max-width: 800px;
    margin: 0 auto;
}

.bets-container h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 4rem;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
}

.bets-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.bets-container .subtitle {
    text-align: center;
    color: #d4d4d4;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-style: italic;
}

.questions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.question-card {
    background: rgba(45, 90, 61, 0.4);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.question-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #c9a961;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.6;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.option-button {
    padding: 1.2rem;
    background: rgba(26, 58, 42, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    color: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-button:hover:not(.disabled) {
    border-color: #c9a961;
    background: rgba(45, 90, 61, 0.4);
}

.option-button.selected {
    background: #c9a961;
    color: #1a3a2a;
    border-color: #c9a961;
    font-weight: 600;
}

.option-button.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.checkmark {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.voted-message {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    color: #c9a961;
    text-align: center;
    font-style: italic;
}

.selected-message {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 0;
    color: #4a90e2;
    text-align: center;
    font-style: italic;
}

.results {
    margin-top: 1rem;
}

.results-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #c9a961;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.result-item {
    margin-bottom: 1rem;
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #d4d4d4;
}

.result-bar {
    height: 30px;
    background: rgba(26, 58, 42, 0.5);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(201, 169, 97, 0.2);
}

.result-fill {
    height: 100%;
    background: #c9a961;
    border-radius: 0;
}

/* Songs Page Styles */
.songs-page {
    min-height: 100vh;
    background: #1a3a2a;
    padding: 4rem 1rem;
}

.songs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.songs-container h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 4rem;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
}

.songs-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.songs-container .subtitle {
    text-align: center;
    color: #d4d4d4;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-style: italic;
}

.songs-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.songs-section {
    background: rgba(45, 90, 61, 0.4);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.songs-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c9a961;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.section-subtitle {
    color: #d4d4d4;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    font-style: italic;
}

.songs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: rgba(26, 58, 42, 0.3);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 0;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.song-item:hover {
    background: rgba(45, 90, 61, 0.4);
    border-color: #c9a961;
}

.song-number {
    font-weight: 600;
    color: #c9a961;
    font-size: 1.3rem;
    min-width: 35px;
    font-family: 'Playfair Display', serif;
}

.song-name {
    color: #f5f5f5;
    font-size: 1.2rem;
    font-style: italic;
}

.request-section {
    background: rgba(45, 90, 61, 0.4);
    padding: 4rem 3rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-bottom: 2rem;
}

.request-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c9a961;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.request-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.request-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    background: rgba(26, 58, 42, 0.3);
    color: #f5f5f5;
    transition: all 0.3s ease;
}

.request-input::placeholder {
    color: #999;
    font-style: italic;
}

.request-input:focus {
    outline: none;
    border-color: #c9a961;
    background: rgba(26, 58, 42, 0.5);
}

.request-button {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    cursor: pointer;
    white-space: nowrap;
}

.request-button:hover {
    background: #c9a961;
    color: #1a3a2a;
}

/* Photos Page Styles */
.share-photos-page {
    min-height: 100vh;
    background: #1a3a2a;
    padding: 4rem 1rem;
}

.photos-container {
    max-width: 1000px;
    margin: 0 auto;
}

.photos-container h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 4rem;
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.5rem;
}

.photos-container h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
}

.photos-container .subtitle {
    text-align: center;
    color: #d4d4d4;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-style: italic;
}

.upload-section {
    background: rgba(45, 90, 61, 0.4);
    padding: 4rem 3rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.upload-area {
    border: 2px dashed rgba(201, 169, 97, 0.5);
    border-radius: 0;
    padding: 5rem 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    background: rgba(26, 58, 42, 0.2);
    position: relative;
    z-index: 1;
}

.upload-area *:not(#photo-upload) {
    pointer-events: none;
    position: relative;
    z-index: 1;
}

#photo-upload {
    pointer-events: auto !important;
}

.upload-area:hover {
    border-color: #c9a961;
    background: rgba(45, 90, 61, 0.3);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #c9a961;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    opacity: 0.7;
}

.upload-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #c9a961;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.upload-hint {
    font-size: 1.1rem;
    color: #d4d4d4;
    font-style: italic;
}

.selected-files {
    margin-top: 2rem;
}

.selected-files h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.file-preview {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.preview-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-button:hover {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.file-name {
    padding: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    word-break: break-word;
    background: #f9f9f9;
}

.upload-button {
    display: block;
    margin: 0 auto;
    padding: 1.2rem 3.5rem;
    background: transparent;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    cursor: pointer;
}

.upload-button:hover:not(:disabled) {
    background: #c9a961;
    color: #1a3a2a;
}

.upload-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.info-section {
    background: rgba(45, 90, 61, 0.4);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.info-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #c9a961;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.info-section ul {
    list-style: none;
    padding: 0;
}

.info-section li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: #d4d4d4;
    font-size: 1.2rem;
    line-height: 1.8;
}

.info-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c9a961;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}


/* Responsive - Mobile First Approach */
@media (max-width: 480px) {
    /* Extra Small Mobile */
    .main-navigation {
        background: #1a3a2a;
        border-bottom: 2px solid rgba(201, 169, 97, 0.5);
    }

    .nav-container {
        padding: 1rem 1rem;
        justify-content: flex-end;
        position: relative;
    }

    .mobile-menu-toggle {
        display: flex;
        width: 35px;
        height: 35px;
        left: 0.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a3a2a;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        z-index: 999;
        width: 100%;
    }

    .nav-menu.menu-open {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-link {
        font-size: 1rem;
        letter-spacing: 0.1rem;
        padding: 1rem 1.5rem;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(201, 169, 97, 0.2);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover {
        background: rgba(45, 90, 61, 0.5);
    }

    body {
        padding-top: 60px;
    }

    .hero-section {
        margin-top: -85px;
    }

    .save-the-date {
        font-size: 2rem;
        letter-spacing: 0.3rem;
        margin-bottom: 0.5rem;
    }

    .hero-songs-logo {
        margin: 0.5rem 0 2rem;
    }

    .hero-songs-logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .rsvp-button {
        padding: 0.9rem 2.5rem;
        font-size: 0.95rem;
    }

    .rsvp-main-logo {
        margin: 1.5rem auto 1.5rem;
    }

    .rsvp-main-logo img {
        max-width: 200px;
        max-height: 200px;
    }

    .hero-songs-card {
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .hero-songs-link {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .hero-songs-link .card-icon {
        height: 80px;
        margin-bottom: 0.8rem;
    }

    .hero-songs-link .card-icon img {
        max-width: 80px;
        max-height: 80px;
    }

    .hero-songs-link h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-songs-link p {
        font-size: 0.9rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .venue-section h2,
    .join-us-title {
        font-size: 1.8rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-card-full {
        grid-column: 1;
    }
    
    .detail-card {
        padding: 1.5rem;
    }

    .join-us-section {
        padding: 3rem 1rem;
    }

    .join-cards {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    
    .join-card {
        padding: 2rem 1.5rem !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    .join-card h3 {
        font-size: 1.5rem !important;
        letter-spacing: 0.1rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
        display: block !important;
    }

    .join-card p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .card-icon {
        margin: 0 auto 1rem !important;
        height: 80px !important;
        width: 80px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-icon img {
        max-width: 80px !important;
        max-height: 80px !important;
        width: auto !important;
        height: auto !important;
    }

    .join-us-title {
        font-size: 1.8rem !important;
        letter-spacing: 0.15rem !important;
        margin-bottom: 2rem !important;
        padding-bottom: 1rem !important;
        text-align: center !important;
    }

    .join-us-title::after {
        width: 100px !important;
    }

    .songs-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Tablets and Small Mobile */
    .main-navigation {
        background: #1a3a2a;
        border-bottom: 2px solid rgba(201, 169, 97, 0.5);
        min-height: 60px;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 60px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        transform: none !important;
        margin: 0;
    }

    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background: #1a3a2a !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease, padding 0.3s ease !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
        z-index: 999 !important;
        width: 100% !important;
        display: flex !important;
    }

    .nav-menu.menu-open {
        max-height: 500px !important;
        padding: 1rem 0 !important;
    }

    .nav-link {
        font-size: 1.1rem;
        letter-spacing: 0.12rem;
        padding: 1rem 1.5rem;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(201, 169, 97, 0.2);
        text-decoration: none;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover,
    .nav-link:active {
        background: rgba(45, 90, 61, 0.5);
        color: #c9a961;
    }

    body {
        padding-top: 60px;
    }

    .hero-section {
        margin-top: -80px;
    }

    .save-the-date {
        font-size: 2.5rem;
        letter-spacing: 0.4rem;
        margin-bottom: 0.75rem;
    }

    .hero-songs-logo {
        margin: 0.75rem 0 2.5rem;
    }

    .hero-songs-logo img {
        max-width: 100px;
        max-height: 100px;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        padding: 0 1.5rem;
    }

    .rsvp-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .rsvp-main-logo {
        margin: 1.75rem auto 1.75rem;
    }

    .rsvp-main-logo img {
        max-width: 250px;
        max-height: 250px;
    }

    .hero-songs-card {
        margin-top: 2.5rem;
        padding: 0 1.5rem;
    }

    .hero-songs-link {
        max-width: 450px;
        padding: 2.5rem 2rem;
    }

    .hero-songs-link .card-icon {
        height: 90px;
        margin-bottom: 1rem;
    }

    .hero-songs-link .card-icon img {
        max-width: 90px;
        max-height: 90px;
    }

    .hero-songs-link h3 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .hero-songs-link p {
        font-size: 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .venue-section {
        padding: 4rem 1.5rem;
    }

    .venue-section h2,
    .join-us-title {
        font-size: 2rem;
    }

    .detail-card {
        padding: 2rem;
    }

    .join-cards {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .join-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .join-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .join-card h3 {
        font-size: 1.7rem;
        letter-spacing: 0.12rem;
        line-height: 1.4;
        word-wrap: break-word;
        white-space: normal;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .join-card p {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .join-us-title {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
        margin-bottom: 3.5rem;
        padding-bottom: 1.5rem;
    }

    .join-us-title::after {
        width: 150px;
    }

    .card-icon {
        height: 100px;
        margin-bottom: 1.2rem;
    }

    .card-icon img {
        max-width: 100px;
        max-height: 100px;
    }

    .songs-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .request-form {
        flex-direction: column;
        gap: 1rem;
    }

    .request-button {
        width: 100%;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Page-specific mobile optimizations */
    .bets-container h1,
    .songs-container h1,
    .photos-container h1 {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }

    .question-card {
        padding: 2rem 1.5rem;
    }

    .question-card h3 {
        font-size: 1.6rem;
    }

    .songs-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .song-item {
        padding: 1rem;
        font-size: 1rem;
    }

    .rsvp-container {
        padding: 3rem 1.5rem;
    }

    .rsvp-container h1 {
        font-size: 2.5rem !important;
        letter-spacing: 0.2rem !important;
        padding: 0 1rem 1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .rsvp-container h1::after {
        width: 120px !important;
    }

    .upload-area {
        padding: 4rem 2rem;
    }

    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* Buttons */
    button,
    .button,
    .upload-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    /* Photo grid */
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    /* Small Tablets */
    .join-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 100%;
    }
    
    .join-card {
        padding: 3rem 2rem;
    }
    
    .join-card h3 {
        font-size: 2rem;
        letter-spacing: 0.15rem;
        white-space: normal;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
        gap: 2.5rem;
    }

    .container {
        padding: 3rem 2rem;
    }
}

/* ============================================
   WEDDING DECORATIVE ELEMENTS
   ============================================ */
.detail-card {
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '❦';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(201, 169, 97, 0.2);
    font-size: 2.5rem;
    transform: rotate(-15deg);
}

.detail-card::after {
    content: '❦';
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: rgba(201, 169, 97, 0.2);
    font-size: 2.5rem;
    transform: rotate(15deg);
}


.join-card {
    position: relative;
}

.join-card::before {
    content: '❦';
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 169, 97, 0.2);
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.join-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.2);
}

.join-card:hover::before {
    opacity: 1;
}

.rsvp-container {
    position: relative;
}

.rsvp-container::before {
    content: '❦';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 169, 97, 0.4);
    font-size: 2rem;
    background: #1a3a2a;
    padding: 0 1rem;
}

.question-card {
    position: relative;
}

.question-card::before {
    content: '❦';
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(201, 169, 97, 0.2);
    font-size: 1.5rem;
}

.songs-section {
    position: relative;
}

.songs-section::before {
    content: '❦';
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: rgba(201, 169, 97, 0.2);
    font-size: 2rem;
}

.songs-section::after {
    content: '❦';
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: rgba(201, 169, 97, 0.2);
    font-size: 2rem;
}

.upload-section {
    position: relative;
}

.upload-section::before {
    content: '❦ ❦';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 169, 97, 0.3);
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    background: #1a3a2a;
    padding: 0 1rem;
}

.venue-section::after {
    content: '❦ ❦ ❦';
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 169, 97, 0.3);
    font-size: 1.2rem;
    letter-spacing: 1rem;
}



/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */

/* Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
    .nav-container {
        padding: 0.75rem 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
        position: relative !important;
        left: 0 !important;
        top: auto !important;
        transform: none !important;
        display: flex !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        background: #1a3a2a !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease, padding 0.3s ease !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
        z-index: 999 !important;
        width: 100% !important;
        display: flex !important;
    }

    .nav-menu.menu-open {
        max-height: 500px !important;
        padding: 1rem 0 !important;
    }

    .nav-link {
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
        letter-spacing: 0.08rem !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(201, 169, 97, 0.2) !important;
    }

    .nav-link:last-child {
        border-bottom: none !important;
    }

    .join-us-title {
        font-size: 1.6rem !important;
        letter-spacing: 0.15rem !important;
        margin-bottom: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .join-us-title::after {
        width: 100px !important;
    }

    .join-cards {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 1.25rem !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .join-card {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .join-card h3 {
        font-size: 1.4rem !important;
        letter-spacing: 0.08rem !important;
        margin-bottom: 0.75rem !important;
        white-space: normal !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        text-align: center !important;
    }

    .join-card p {
        font-size: 0.95rem !important;
        text-align: center !important;
    }

    .card-icon {
        height: 70px !important;
        width: 70px !important;
        margin: 0 auto 0.75rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .card-icon img {
        max-width: 70px !important;
        max-height: 70px !important;
        width: auto !important;
        height: auto !important;
    }

    body {
        padding-top: 60px;
    }

    .hero-section {
        margin-top: -70px;
    }

    .save-the-date {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
        margin-bottom: 0.5rem;
        padding: 0 0.5rem;
    }

    .hero-songs-logo {
        margin: 0.5rem 0 1.5rem;
    }

    .hero-songs-logo img {
        max-width: 60px;
        max-height: 60px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    .rsvp-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        letter-spacing: 0.1rem;
    }

    .rsvp-main-logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .container {
        padding: 1.5rem 0.75rem;
    }

    .venue-section h2,
    .join-us-title {
        font-size: 1.5rem;
    }

    .detail-card {
        padding: 1rem;
    }

    .join-card {
        padding: 1.5rem 1rem;
    }

    .join-card h3 {
        font-size: 1.5rem;
        letter-spacing: 0.1rem;
        white-space: normal;
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }

    .join-card p {
        font-size: 1rem;
    }

    .rsvp-container {
        padding: 2rem 1rem;
    }

    .rsvp-container h1 {
        font-size: 2rem !important;
        letter-spacing: 0.15rem !important;
        padding: 0 1rem 1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .rsvp-container h1::after {
        width: 100px !important;
    }

    .upload-area {
        padding: 3rem 1.5rem;
    }

    .upload-text {
        font-size: 1.4rem;
    }

    .upload-hint {
        font-size: 0.9rem;
    }

    /* Bets Page Mobile */
    .bets-container h1 {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .question-card {
        padding: 1.5rem 1rem;
    }

    .question-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .option-button {
        padding: 1rem;
        font-size: 1rem;
    }

    /* Songs Page Mobile */
    .songs-container h1 {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .songs-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .songs-section h2 {
        font-size: 1.5rem;
    }

    .song-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .request-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .request-form input {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }

    .request-button {
        width: 100%;
        padding: 1rem;
    }

    /* RSVP Page Mobile */
    .rsvp-container {
        padding: 2rem 1rem;
    }

    .rsvp-container h1 {
        font-size: 1.8rem !important;
        letter-spacing: 0.1rem !important;
        padding: 0 0.5rem 1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .rsvp-container h1::after {
        width: 80px !important;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .radio-label {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .submit-button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    /* Photos Page Mobile */
    .photos-container h1 {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .upload-area {
        padding: 3rem 1.5rem;
    }

    .upload-icon {
        font-size: 3rem;
    }

    .files-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .file-preview {
        padding: 0.75rem;
    }

    .file-name {
        font-size: 0.85rem;
    }
}

/* Small Devices (375px - 479px) - Enhanced from existing 480px breakpoint */
@media (min-width: 375px) and (max-width: 479px) {
    .nav-container {
        padding: 0.9rem 0.75rem;
        gap: 0.7rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.45rem 0.7rem;
    }

    .save-the-date {
        font-size: 1.75rem;
        letter-spacing: 0.25rem;
    }

    .hero-songs-logo img {
        max-width: 150px;
        max-height: 150px;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .rsvp-button {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }
}

/* Medium Devices (480px - 767px) - Enhanced existing breakpoint */
@media (min-width: 480px) and (max-width: 767px) {
    .nav-container {
        gap: 1rem;
    }

    .save-the-date {
        font-size: 2.25rem;
    }

    .hero-songs-logo img {
        max-width: 90px;
        max-height: 90px;
    }

    .join-cards {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* Desktop Navigation - Ensure menu is visible */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }

    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-link {
        display: inline-block !important;
        width: auto !important;
        text-align: left !important;
        border-bottom: none !important;
        padding: 0.5rem 1rem !important;
    }

    .nav-link:hover {
        background: transparent !important;
    }
}

/* Large Mobile / Small Tablet (768px - 1023px) - Enhanced existing breakpoint */
@media (min-width: 768px) and (max-width: 1023px) {
    .join-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .nav-container {
        gap: 2rem;
    }
}

/* Landscape Orientation Fixes */
@media (max-width: 1024px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }

    .save-the-date {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-songs-logo {
        margin: 0.5rem 0 1.5rem;
    }

    .hero-subtitle {
        margin-bottom: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .rsvp-button,
    .join-card,
    .upload-area,
    button,
    .button,
    .option-button,
    .submit-button,
    .request-button,
    .upload-button {
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: rgba(201, 169, 97, 0.3);
    }

    .nav-link {
        padding: 0.75rem 1rem;
    }

    .join-card {
        padding: 2.5rem 2rem;
    }

    /* Prevent text selection on buttons during tap */
    button,
    .button,
    .option-button {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-songs-logo img,
    .rsvp-main-logo img,
    .card-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles - Hide unnecessary elements */
@media print {
    .main-navigation,
    .back-button,
    .upload-area,
    button,
    .button {
        display: none;
    }
}