/* Mobile-responsive styles with hamburger menu */

/* Base styles (already in style.css) */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Header styles */
header {
    background-color: #e6f2ff;
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid #d1e0f0;
}

header h1 {
    font-size: 3rem;
    margin: 0;
    color: #4d94ff;
}

header .date {
    font-size: 1.2rem;
    color: #666;
}

/* Navigation styles - updated for mobile responsiveness */
nav {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #4d94ff;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a:hover, nav li.active a {
    background-color: #e6f2ff;
    color: #0066cc;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: none;
    position: absolute;
    right: 10px;
    top: 5px;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #4d94ff;
    transition: all 0.3s ease;
}

/* Section styles */
section {
    padding: 40px 0;
}

section h2 {
    text-align: center;
    color: #4d94ff;
    margin-bottom: 30px;
}

/* Footer styles */
footer {
    background-color: #f8f9fa;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    margin-top: 40px;
}

/* Button styles */
.button {
    display: inline-block;
    background-color: #4d94ff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.button:hover {
    background-color: #0066cc;
}

.button-secondary {
    background-color: #f8f9fa;
    color: #4d94ff;
    border: 1px solid #4d94ff;
}

.button-secondary:hover {
    background-color: #e6f2ff;
    color: #0066cc;
}

/* Form styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    nav a {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    /* Hamburger menu for tablets */
    .hamburger-menu {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #f8f9fa;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        padding: 15px;
        border-bottom: 1px solid #e9ecef;
    }
    
    /* Adjust other elements for tablet */
    .story-section, .venue-card, .hotel-card {
        flex-direction: column;
    }
    
    .story-image, .venue-image, .hotel-image {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }
    
    .story-content, .venue-details, .hotel-details {
        width: 100%;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header .date {
        font-size: 1rem;
    }
    
    /* Further adjustments for mobile phones */
    .container {
        width: 95%;
        padding: 10px 0;
    }
    
    section {
        padding: 20px 0;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-time {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .gallery-filter {
        flex-wrap: wrap;
    }
    
    .filter-button {
        margin-bottom: 10px;
    }
    
    .gallery-item {
        width: 100%;
    }
    
    .quick-links .links-container {
        flex-direction: column;
    }
    
    .quick-link {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Adjust form elements for mobile */
    .radio-group, .checkbox-group {
        flex-direction: column;
    }
    
    .radio-group label, .checkbox-group label {
        margin-bottom: 10px;
    }
}

/* Additional styles for specific components */
.welcome-section, .countdown-section, .event-overview, .quick-links,
.timeline-container, .story-section, .venue-container, .travel-info,
.rsvp-intro, .rsvp-form, .registry-container, .accommodation-section,
.gallery-intro, .gallery-filter, .gallery-container, .guestbook-intro,
.guestbook-form, .guestbook-entries, .login-container, .access-denied-container,
.thank-you-container {
    margin-bottom: 40px;
}

/* Countdown styles */
.countdown {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.countdown-item {
    text-align: center;
    margin: 0 15px;
}

.countdown-item span {
    display: block;
}

#days, #hours, #minutes, #seconds {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4d94ff;
}

.countdown-label {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 576px) {
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        margin: 10px;
    }
    
    #days, #hours, #minutes, #seconds {
        font-size: 2rem;
    }
}

/* Event cards */
.event-overview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.event-card {
    width: 48%;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .event-card {
        width: 100%;
    }
}

/* Quick links */
.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 20px 20px;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.quick-link:hover {
    transform: translateY(-5px);
}

.travel-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .quick-link {
        margin: 0 10px 20px;
    }
}

/* Timeline styles */
.timeline-container {
    position: relative;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
}

.timeline-time {
    width: 30%;
    text-align: right;
    padding-right: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #4d94ff;
}

.timeline-content {
    width: 70%;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 20px;
    height: 20px;
    background-color: #4d94ff;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-time {
        width: 100%;
        text-align: left;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-content:before {
        display: none;
    }
}

/* Story section styles */
.story-section {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
}

.story-section:nth-child(even) {
    flex-direction: row-reverse;
}

.story-image {
    width: 40%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
}

.story-content {
    width: 60%;
    padding: 0 30px;
}

@media (max-width: 768px) {
    .story-section, .story-section:nth-child(even) {
        flex-direction: column;
    }
    
    .story-image {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }
    
    .story-content {
        width: 100%;
        padding: 0;
    }
}

/* Venue styles */
.venue-card {
    display: flex;
    margin-bottom: 40px;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.venue-image {
    width: 40%;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.venue-details {
    width: 60%;
    padding: 30px;
}

.venue-address {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .venue-card {
        flex-direction: column;
    }
    
    .venue-image {
        width: 100%;
        height: 200px;
    }
    
    .venue-details {
        width: 100%;
        padding: 20px;
    }
}

/* Hotel styles */
.hotel-card {
    display: flex;
    margin-bottom: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hotel-image {
    width: 30%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hotel-details {
    width: 70%;
    padding: 20px;
}

.hotel-address {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .hotel-card {
        flex-direction: column;
    }
    
    .hotel-image {
        width: 100%;
        height: 150px;
    }
    
    .hotel-details {
        width: 100%;
        padding: 15px;
    }
}

/* Gallery styles */
.gallery-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.filter-button {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #4d94ff;
    padding: 8px 15px;
    margin: 0 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button.active, .filter-button:hover {
    background-color: #4d94ff;
    color: white;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallery-item {
    width: 31%;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-caption {
    color: white;
    padding: 15px;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .gallery-item {
        width: 48%;
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%;
    }
    
    .gallery-filter {
        flex-wrap: wrap;
    }
    
    .filter-button {
        margin-bottom: 10px;
    }
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* RSVP form styles */
.events-group {
    display: none;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
}

.radio-group label, .checkbox-group label {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.radio-group input, .checkbox-group input {
    margin-right: 5px;
}

.additional-guests {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.guest-field {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.remove-guest {
    position: absolute;
    top: 10px;
    right: 10px;
}

@media (max-width: 768px) {
    .radio-group, .checkbox-group {
        flex-direction: column;
    }
    
    .radio-group label, .checkbox-group label {
        margin-bottom: 10px;
    }
}

/* Guestbook styles */
.guestbook-entry {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.entry-message {
    font-style: italic;
    margin-bottom: 10px;
}

.entry-author {
    font-weight: 500;
    margin-bottom: 5px;
}

.entry-date {
    color: #666;
    font-size: 0.9rem;
}

.no-entries {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Registry styles */
.iban-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    text-align: center;
}

.iban-box {
    display: inline-block;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background-color: white;
}

.iban-label {
    font-weight: 500;
    margin-bottom: 10px;
}

.iban-number {
    font-size: 1.2rem;
    font-family: monospace;
    margin-bottom: 15px;
}

.copy-message {
    color: #4d94ff;
    margin-top: 10px;
    height: 20px;
}

/* Login styles */
.login-container, .access-denied-container, .thank-you-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.login-intro, .access-denied-message, .thank-you-message {
    text-align: center;
    margin-bottom: 30px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.access-denied-icon, .thank-you-icon {
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;
}

/* Special notes */
.special-note {
    background-color: #e6f2ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 5px solid #4d94ff;
}

/* Dinner details styles */
.dinner-menu {
    margin-top: 30px;
}

.menu-section {
    margin-bottom: 20px;
}

.menu-section h4 {
    color: #4d94ff;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Shuttle service styles */
.shuttle-service {
    background-color: #e6f2ff;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.service-details {
    margin-top: 15px;
}

/* Travel info styles */
.travel-section {
    margin-bottom: 30px;
}

.travel-option {
    margin-bottom: 20px;
}

.travel-option h5 {
    color: #4d94ff;
    margin-bottom: 10px;
}

/* Placeholder styles */
.placeholder-diagram {
    background-color: #f8f9fa;
    padding: 50px;
    text-align: center;
    border: 1px dashed #ddd;
    border-radius: 5px;
    margin: 20px 0;
}

/* Animation for hamburger menu */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
