/* CSS Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f3f0;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.hamburger-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: rgba(245, 243, 240, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hamburger-button:hover {
    background: rgba(139, 115, 85, 0.5);
}

.hamburger-button span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

.hamburger-button:hover span {
    background: white;
}

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

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

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

.hamburger-nav {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(245, 243, 240, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid #e0ddd8;
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.hamburger-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hamburger-links {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.hamburger-links li {
    padding: 0;
}

.hamburger-links a {
    display: block;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-family: "PT Mono", monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hamburger-links a:hover {
    background: rgba(139, 115, 85, 0.1);
    color: #8b7355;
}

.pt-mono-regular {
    font-family: "PT Mono", monospace;
    font-weight: 400;
    font-style: normal;
}

.league-script-regular {
    font-family: "Send Flowers", cursive;
    font-weight: 400;
    font-style: normal;
}


/* Sections */
.section {
    min-height: 100vh;
    padding: 2rem 2rem;
}

/* Event Details Section - Split Layout */
#details {
    padding: 0;
}

/* Image and Events/Activities Section - Shared Styles */
.image-and-events-section,
.image-and-activities-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    background-color: #f5f3f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-and-events-section .container,
.image-and-activities-section .container {
    max-width: 1200px;
    width: 100%;
}

.image-and-events-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Image and Events/Activities Layout - Shared */
.image-events-layout,
.image-activities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-left: 3rem;
}

.segesta-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.temple-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.overlay-text {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(245, 243, 240, 0.9);
    padding: 1rem 1.5rem;
    font-family: "Send Flowers", cursive;
    font-size: 2.4rem;
    color: #333;
    transform: rotate(-8deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    white-space: nowrap;
}

.events-stack,
.activities-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
}

/* Day 3 Section */
.day-3-section {
    background-color: #f5f3f0;
    padding: 4rem 2rem;
}

.day-3-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.event-detail {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(5px);
}

/* Events and Activities Stack Content - Shared */
.event-text,
.activity-text {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    font-family: "PT Mono", monospace;
}

.event-text h3,
.activity-text h3 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-text p,
.activity-text p {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    color: #333;
    font-family: "PT Mono", monospace;
}

.event-text .event-date {
    font-size: 0.7rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-text .dress-code {
    font-style: italic;
    color: #8b7355;
    font-size: 0.8rem;
    font-family: "PT Mono", monospace;
}

/* Day 3 styling */
.day-3-section .event-detail {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: none;
    max-width: 800px;
    margin: 0 auto;
}

.event-detail h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-detail p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 0.8rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 0.8rem !important;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Wedding timeline - make more compact */
.timeline {
    margin-top: 0.8rem;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item .time {
    font-weight: bold;
    color: #8b7355;
    min-width: 80px;
}

.timeline-item .event {
    text-align: right;
}

/* Day 3 layout similar to Day 1&2 */
.day-3-section {
    margin-top: -2rem;
    padding-top: 1rem;
}

.day-3-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 70vh;
    padding: 1rem 0;
}

.day-3-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}


.palm-tree-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.palm-tree-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Mobile responsiveness for Event Details */
@media (max-width: 768px) {
    .image-and-events-section {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .image-and-events-section .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .image-events-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 0;
    }
    
    .events-stack {
        gap: 1.5rem;
        padding-left: 0;
    }
    
    .temple-img {
        width: 280px;
        height: 280px;
    }
    
    .overlay-text {
        font-size: 1.8rem;
        padding: 0.8rem 1.2rem;
        top: 15px;
        left: 15px;
    }
    
    .events-stack {
        gap: 1.5rem;
        padding-left: 0;
    }
    
    .event-text h3 {
        font-size: 0.85rem;
    }
    
    .event-text p {
        font-size: 0.75rem;
    }
    
    .day-3-section {
        padding: 3rem 1rem;
    }
    
    .day-3-section .container {
        padding: 0 1rem;
    }
    
    .event-detail {
        padding: 1.2rem;
    }
    
    .event-detail h3 {
        font-size: 1rem;
        white-space: normal;
    }
    
    .event-detail p {
        font-size: 0.85rem;
    }
    
    .event-date {
        font-size: 0.75rem;
    }
    
    .timeline-item {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }
    
    .timeline-item .time {
        min-width: 60px;
        font-size: 0.75rem;
    }
    
    .timeline-item .event {
        font-size: 0.8rem;
    }
    
    /* Day 3 layout responsive */
    .day-3-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .day-3-details {
        padding-right: 0;
        order: 2;
    }
    
    .palm-tree-image {
        height: 300px;
        order: 1;
    }

}

/* Extra small screens */
@media (max-width: 480px) {
    .image-and-events-section {
        padding: 2.5rem 0.5rem;
    }
    
    .image-and-events-section .container {
        padding: 0 1rem;
    }
    
    .image-and-events-section .section-title {
        font-size: 1.8rem;
    }
    
    .temple-img {
        width: 240px;
        height: 240px;
    }
    
    .overlay-text {
        font-size: 1.6rem;
        padding: 0.6rem 1rem;
        top: 10px;
        left: 10px;
    }
    
    .event-text h3 {
        font-size: 0.8rem;
    }
    
    .event-text p {
        font-size: 0.7rem;
    }
    
    .day-3-section {
        padding: 2.5rem 0.5rem;
    }
    
    .event-detail {
        padding: 1rem;
    }
    
    .timeline-item .time {
        min-width: 55px;
    }
    
    /* Day 3 layout small screens */
    .day-3-layout {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .palm-tree-image {
        height: 250px;
    }
    
    /* Registry small screens */
    .mirror-image {
        width: 200px;
        height: 220px;
    }
    
    .mirror-img {
        height: 180px;
    }
    
    .registry-overlay-text {
        font-size: 1.6rem;
        padding: 0.6rem 2rem;
        padding-left: 1rem;
        top: -10px;
        left: -50px;
        right: 40px;
        text-align: left;
    }

}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Home Section */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.main-title {
    font-family: "Send Flowers", cursive;
    font-size: 4.5rem;
    margin-bottom: 3rem;
    color: #333;
    line-height: 1.2;
    transform: rotate(-2deg);
}

.photo-placeholder {
    margin: 2rem 0;
    transform: rotate(3deg);
}

#home .polaroid {
    background: white;
    padding: 1rem 1rem 3rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: rotate(-1deg);
    width: 380px;
    height: 320px;
}

#home .photo-frame {
    width: 100%;
    height: 250px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PT Mono", monospace;
    color: #888;
    font-size: 1.1rem;
    overflow: hidden !important;
    position: relative;
}

#home .couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.date-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 600px;
    margin: 2rem 0 1rem;
    font-family: "PT Mono", monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 2rem;
}

.american-date {
    font-family: "PT Mono", monospace;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-container {
    margin: 2rem 0;
}

.countdown {
    font-family: "PT Mono", monospace;
    font-size: 1.2rem;
    color: #8b7355;
    font-weight: bold;
}

.rsvp-button {
    background: #8b7355;
    color: white;
    padding: 1rem 3rem;
    text-decoration: none;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0;
    transition: all 0.3s ease;
    margin-top: 2rem;
    border: 2px solid #8b7355;
}

.rsvp-button:hover {
    background: transparent;
    color: #8b7355;
}

/* Section Titles */
.section-title {
    font-family: "Send Flowers", cursive;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

/* Keep rotation for specific titles that should stay diagonal */
#home .section-title {
    transform: rotate(-1deg);
}

/* RSVP Deadline */
.rsvp-deadline {
    font-family: "PT Mono", monospace;
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

/* RSVP Form */
#rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    font-family: "PT Mono", monospace;
}

.form-step {
    background: white;
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-step label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-step input,
.form-step select,
.form-step textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-family: "PT Mono", monospace;
    font-size: 1rem;
}

/* Attendance Questions */
.attendance-question {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 4px;
}

/* Reduce spacing between consecutive attendance questions for same topic */
.attendance-question + .attendance-question {
    margin-top: -1rem;
}

/* Add larger spacing between different question sections */
.event-rsvp,
.form-group {
    margin-bottom: 2.5rem;
}

.attendance-question p {
    margin: 0 0 0.8rem 0;
    font-weight: bold;
    color: #333;
    font-size: 0.85rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 0.9rem;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Menu options need vertical layout due to longer text */
.radio-group.menu-options {
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
}

/* Footer Navigation */
.footer-nav {
    background: rgba(245, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e0ddd8;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 2rem;
    font-family: "PT Mono", monospace;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #8b7355;
}

.form-step button {
    background: #8b7355;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.form-step button:hover {
    background: #705c47;
}

.hidden {
    display: none !important;
}

.event-rsvp {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f8f6;
}

.event-rsvp h3 {
    font-family: "PT Mono", monospace;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
    hyphens: auto;
}

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

.note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.checkbox-group {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}

/* Details Section */
.event-detail {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-family: "PT Mono", monospace;
}

.event-detail h3 {
    font-family: "PT Mono", monospace;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dress-code {
    font-weight: bold;
    color: #8b7355;
    margin-top: 1rem;
}

.timeline {
    margin-top: 1rem;
}

.timeline-item {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.time {
    font-weight: bold;
    min-width: 100px;
    color: #8b7355;
}

/* Registry Section */
.registry-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 60vh;
    padding: 2rem 0;
}

.mirror-image {
    position: relative;
    width: 300px;
    height: 480px;
    overflow: visible;
    margin: 0 auto;
}

.mirror-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.registry-overlay-text {
    position: absolute;
    top: -15px;
    left: -130px;
    right: -5px;
    background: rgba(245, 243, 240, 0.95);
    padding: 1rem 16rem;
    font-family: "Send Flowers", cursive;
    font-size: 2.4rem;
    color: #333;
    transform: rotate(-8deg);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10;
    white-space: nowrap;
    text-align: left;
    padding-left: 1rem;
    border-top: 2px solid rgba(245, 243, 240, 0.8);
    border-bottom: 2px solid rgba(245, 243, 240, 0.8);
    backdrop-filter: blur(2px);
}

.registry-content {
    text-align: left;
    max-width: none;
    margin: 0;
    font-family: "PT Mono", monospace;
    padding-left: 2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.registry-content p {
    font-size: 0.9rem;
}

.registry-content h3 {
    font-family: "PT Mono", monospace;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registry-link {
    display: inline-block;
    background: #8b7355;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: "PT Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 2rem 0;
    transition: background 0.3s ease;
}

.registry-link:hover {
    background: #705c47;
}

/* Travel Section - Cork Board Style */
.scrapbook-container.cork-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    background-image: url('images/cathedral.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 2rem;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ticket {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px dashed #8b7355;
    border-radius: 12px;
    padding: 1.5rem;
    font-family: "PT Mono", monospace;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: visible;
    margin-top: 15px;
}

.flight-ticket {
    transform: rotate(-2deg);
    background: linear-gradient(135deg, #f5f3f0 0%, #ffffff 100%);
    border-color: #8b7355;
    position: relative;
    grid-column: 1;
    grid-row: 1;
}

.transport-ticket {
    transform: rotate(1.5deg);
    background: linear-gradient(135deg, #f7f5f2 0%, #ffffff 100%);
    border-color: #9d8568;
    position: relative;
    grid-column: 2;
    grid-row: 1;
    margin-top: 1rem;
}

.hotel-ticket {
    transform: rotate(-0.5deg);
    background: linear-gradient(135deg, #f9f7f4 0%, #ffffff 100%);
    border-color: #a68b70;
    position: relative;
    grid-column: 1 / span 2;
    grid-row: 2;
    margin-top: 1rem;
}

.paperclip {
    position: absolute;
    width: 25px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    opacity: 0.8;
}

.paperclip-1 {
    top: -12px;
    right: 35%;
    transform: rotate(15deg);
}

.paperclip-2 {
    top: -12px;
    left: 35%;
    transform: rotate(-20deg);
}

.paperclip-3 {
    top: -12px;
    right: 40%;
    transform: rotate(25deg);
}


.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #666;
}

.ticket-type {
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticket-code {
    font-weight: bold;
    font-size: 0.9rem;
    color: #666;
    background: rgba(0,0,0,0.05);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.ticket-content h4 {
    font-family: "PT Mono", monospace;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticket-content p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ticket-content em {
    color: #8b7355;
    font-size: 0.8rem;
}

.ticket-link {
    display: inline-block;
    background: #8b7355;
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 0.5rem;
    border: 2px solid #8b7355;
    transition: all 0.3s ease;
}

.ticket-link:hover {
    background: transparent;
    color: #8b7355;
}


.flight-info,
.hotel-recommendation,
.other-options,
.transport-options,
.venue-transport {
    margin-bottom: 1rem;
}

.other-options {
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
}

.hotel-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 0.5rem;
}

.hotel-recommendation {
    padding-right: 1rem;
    border-right: 1px dashed #a68b70;
}

.other-options {
    padding-left: 1rem;
    padding-top: 0;
    border-top: none;
}

.hotel-option-link {
    color: #8b7355;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hotel-option-link:hover {
    color: #705c47;
    text-decoration: none;
}

/* Black and white emojis in travel section */
.ticket-type,
.transport-options p strong {
    filter: grayscale(100%);
}

/* Dress Code Section - Polaroid Album Style */
#dress-code {
    padding-top: 4rem;
}

.polaroid-album {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.polaroid {
    background: white;
    padding: 1rem 1rem 2.5rem 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    font-family: "PT Mono", monospace;
    max-width: 280px;
    position: relative;
}

.polaroid-1 {
    transform: rotate(-3deg);
    z-index: 3;
}

.polaroid-2 {
    transform: rotate(2deg);
    z-index: 2;
    margin-top: -2rem;
}

.polaroid-3 {
    transform: rotate(-1deg);
    z-index: 1;
    margin-top: 1rem;
}

.polaroid-photo {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 1rem;
    position: relative;
}

.polaroid-1 .polaroid-photo {
    background-image: url('images/shorts.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.polaroid-2 .polaroid-photo {
    background-image: url('images/sea.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.polaroid-3 .polaroid-photo {
    background-image: url('images/flowers.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#dress-code .dress-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
}

.polaroid-caption {
    text-align: center;
    position: relative;
}

.polaroid-caption h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.polaroid-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.polaroid-dress-code {
    font-size: 0.9rem;
    color: #8b7355;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.polaroid-note {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
    margin-top: 0.3rem;
}

/* Activities Section */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    font-family: "PT Mono", monospace;
}

.activity-category {
    background: transparent;
    padding: 1.5rem;
}

.activity-category h3 {
    font-family: "PT Mono", monospace;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activity-category ul {
    list-style: none;
    padding-left: 0;
}

.activity-category li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.activity-category p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-category a {
    color: #8b7355;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.activity-category a:hover {
    color: #705c47;
    text-decoration: underline;
}

/* Image containers - shared styles */
.segesta-image,
.resto-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.temple-img,
.resto-img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Activity text specific overrides */
.activity-text {
    background: transparent;
    padding: 1.5rem;
    border-radius: 0;
}

.activity-text h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.activity-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-text ul {
    list-style: none;
    padding-left: 0;
}

.activity-text li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.activity-text a {
    color: #8b7355;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.activity-text a:hover {
    color: #705c47;
    text-decoration: underline;
}

/* Food and Area Section Layout */
.food-and-area-section {
    padding: 4rem 2rem;
    background-color: #f5f3f0;
}

.food-and-area-section .container {
    max-width: 1200px;
    width: 100%;
}

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

.content-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: "PT Mono", monospace;
}

.gelateria-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gelateria-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Final Section */
.final-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .final-section {
    font-family: "PT Mono", monospace;
    font-size: 0.9rem;
    text-align: center;
    padding-top: 5rem;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    #home .polaroid {
        width: 300px;
        height: 320px;
    }
    
    #home .photo-frame {
        width: 100%;
        height: 250px;
    }
    
    .date-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Dress code responsive */
    .polaroid-album {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .polaroid-1,
    .polaroid-2,
    .polaroid-3 {
        transform: rotate(0deg);
        margin-top: 0;
        max-width: 280px;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Activities image layout responsive */
    .image-and-activities-section {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .image-activities-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 0;
    }
    
    .activities-stack {
        gap: 1.5rem;
        padding-left: 0;
    }
    
    .resto-img {
        width: 280px;
        height: 280px;
    }
    
    /* Food and area layout responsive */
    .food-area-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gelateria-img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }
    
    /* Travel section responsive */
    .scrapbook-container.cork-board {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .flight-ticket,
    .hotel-ticket,
    .transport-ticket {
        transform: rotate(0deg);
        grid-column: 1;
        margin-top: 0 !important;
    }
    
    .flight-ticket {
        grid-row: 1;
    }
    
    .transport-ticket {
        grid-row: 2;
    }
    
    .hotel-ticket {
        grid-row: 3;
    }
    
    .hotel-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hotel-recommendation {
        border-right: none;
        border-bottom: 1px dashed #a68b70;
        padding-right: 0;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    
    .other-options {
        padding-left: 0;
    }
    
    .paperclip {
        display: none;
    }
    
    .ticket {
        padding: 1.2rem;
    }
    
    .ticket-content h4 {
        font-size: 1rem;
    }
    
    .ticket-content p {
        font-size: 0.85rem;
    }
    
    /* Registry responsive */
    .registry-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
        padding: 1.5rem 0;
    }
    
    .mirror-image {
        width: 250px;
        height: 400px;
        order: 1;
    }
    
    .mirror-img {
        height: 400px;
    }
    
    .registry-content {
        padding-left: 0;
        order: 2;
        text-align: center;
    }
    
    .registry-overlay-text {
        font-size: 1.8rem;
        padding: 0.8rem 2.5rem;
        padding-left: 1rem;
        top: -5px;
        left: -60px;
        right: -5px;
        text-align: left;
    }

}

/* Extra small screens */
@media (max-width: 480px) {
    .image-and-events-section {
        padding: 2.5rem 0.5rem;
    }
    
    .image-and-events-section .container {
        padding: 0 1rem;
    }
    
    .image-and-events-section .section-title {
        font-size: 1.8rem;
    }
    
    .temple-img {
        width: 240px;
        height: 240px;
    }
    
    .overlay-text {
        font-size: 1.6rem;
        padding: 0.6rem 1rem;
        top: 10px;
        left: 10px;
    }
    
    .event-text h3 {
        font-size: 0.8rem;
    }
    
    .event-text p {
        font-size: 0.7rem;
    }
    
    .day-3-section {
        padding: 2.5rem 0.5rem;
    }
    
    .event-detail {
        padding: 1rem;
    }
    
    .timeline-item .time {
        min-width: 55px;
    }
    
    /* Day 3 layout small screens */
    .day-3-layout {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .palm-tree-image {
        height: 250px;
    }
    
    /* Travel section small screens */
    .scrapbook-container.cork-board {
        margin-top: 1.5rem;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .ticket {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ticket-type,
    .ticket-code {
        font-size: 0.8rem;
    }
    
    .ticket-content h4 {
        font-size: 0.9rem;
    }
    
    .ticket-content p {
        font-size: 0.8rem;
    }
    
    .ticket-link {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    /* Registry small screens */
    .registry-layout {
        padding: 0rem 0;
        top: -80px;
    }

   
    
    .mirror-image {
        width: 200px;
        height: 320px;
    }
    
    .mirror-img {
        height: 320px;
    }
    
    .registry-overlay-text {
        font-size: 1.6rem;
        padding: 0.6rem 2rem;
        padding-left: 1rem;
        top: -10px;
        left: -50px;
        right: -50px;
        text-align: left;
    }
    

    /* Activities image layout mobile */
    .image-and-activities-section {
        padding: 2.5rem 0rem;
    }
    
    .resto-img {
        width: 240px;
        height: 240px;
    }
    
    .activity-text {
        padding: 1rem;
    }
    
    /* Food and area layout mobile */
    .food-and-area-section {
        padding: 0rem 0rem;
    }
    
    .content-stack .activity-category {
        padding: 1rem;
        margin: 0;
    }
    
    .gelateria-img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }
    
    /* Dress code mobile */
    .polaroid {
        max-width: 350px;
    }
    
    .polaroid-photo {
        height: 300px;
    }
}

/* Image Break Styles */
.image-break {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    margin: 2rem 0;
}

.break-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Three Squares Styles */
.three-squares {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.square-image {
    flex: 0 0 auto;
}

.square-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .three-squares {
        gap: 1rem;
    }
    
    .square-img {
        width: 150px;
        height: 150px;
    }

}

/* Two Larger Squares Styles */
.two-squares {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 2rem 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.large-square-image {
    flex: 0 0 auto;
}

.large-square-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .two-squares {
        gap: 1.5rem;
    }
    
    .large-square-img {
        width: 200px;
        height: 200px;
    }

}


/* Dress Code Links */
.dress-link {
    color: #8b7355;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.dress-link:hover {
    color: #6b5a43;
    text-decoration: none;
}

/* Mobile form fixes */
@media (max-width: 768px) {
    /* Reduce padding inside form boxes for more text space */
    .attendance-question {
        padding: 0.15rem;
        margin-bottom: 1rem;
    }
    
    .event-rsvp {
        padding: 0.2rem;
        margin-bottom: 1.5rem;
    }

    
    /* Keep ALL radio groups inline on mobile like desktop */
    .radio-group {
        display: flex;
        gap: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .radio-group label {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        padding: 0.3rem;
        margin: 0;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(139, 115, 85, 0.2);
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    /* Keep menu option text on one line on mobile */
    .radio-group label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.8rem;
    }
    
    .radio-group label:hover,
    .radio-group label:active {
        background-color: rgba(139, 115, 85, 0.1);
    }
    
    /* Reduce radio button size on mobile */
    .radio-group input[type="radio"] {
        transform: scale(1.2);
        margin-right: 0.8rem;
    }
    
    /* Make submit button more touchable on mobile */
    button[type="submit"] {
        min-height: 50px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
        -webkit-tap-highlight-color: rgba(139, 115, 85, 0.3);
    }
    
    /* Ensure textareas are properly sized on mobile */
    textarea {
        width: 100% !important;
        box-sizing: border-box;
        border-radius: 4px;
    }
    
    /* Fix long event titles on mobile */
    .event-rsvp h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        word-break: break-word;
    }
    
    .event-rsvp p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    /* Ensure form inputs are full width on mobile */
    .form-step input,
    .form-step select,
    .form-step textarea {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* Safari-specific fixes for mobile - more aggressive */
    input[type="radio"] {
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        appearance: none !important;
        width: 16px !important;
        height: 16px !important;
        border: 2px solid #8b7355 !important;
        border-radius: 50% !important;
        background: white !important;
        background-color: white !important;
        position: relative !important;
        cursor: pointer !important;
        outline: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        vertical-align: middle !important;
    }
    
    input[type="radio"]:checked {
        background: #8b7355 !important;
        background-color: #8b7355 !important;
        border: 2px solid #8b7355 !important;
    }
    
    input[type="radio"]:checked::after {
        content: '' !important;
        position: absolute !important;
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: white !important;
        background-color: white !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: block !important;
    }
    
    /* Force Safari to respect our radio button scaling */
    .radio-group input[type="radio"] {
        transform: scale(1.2) !important;
        -webkit-transform: scale(1.2) !important;
    }
    
    /* Safari font rendering fixes */
    .radio-group label {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Safari flexbox fixes */
    .radio-group {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-align-items: center;
        align-items: center;
    }
    
    .radio-group label {
        -webkit-align-items: center;
        align-items: center;
        -webkit-box-align: center;
    }
}

/* Wallet address styling */
.wallet {
    font-size: 0.5rem;
    word-break: break-all;
    overflow-wrap: break-word;
    line-height: 1.2;
    margin: 0.5rem 0;
    font-family: "PT Mono", monospace;
    color: #666;
    max-width: 100%;
    display: inline-block;
}

@media (max-width: 768px) {
    .wallet {
        font-size: 0.4rem;
        max-width: 100%;
        word-break: break-all;
        hyphens: none;
    }
}

@media (max-width: 480px) {
    .wallet {
        font-size: 0.35rem;
    }
}