/* Wedding Website Main Stylesheet */

/* Custom Font Imports */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonta/montserrat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garamond';
    src: url('../fonts/garamond.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'cursive-title';
    src: url('../fonts/burgues_script_regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Garamond', serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

h1 {
    font-size: 3.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2.75rem;
    font-weight: 500;
}

h3 {
    font-size: 2.25rem;
    font-weight: 500;
}

h4 {
    font-size: 1.75rem;
    font-weight: 500;
}

h5 {
    font-size: 1.5rem;
    font-weight: 500;
}

h6 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

a {
    color: #8b4513;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5d2f09;
    text-decoration: underline;
}

/* Special Title Class - Burgues Script Font */
.special-title {
    font-family: 'cursive-title', 'Garamond', cursive;
    font-size: 3rem;
    font-weight: normal;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section-sm {
    padding: 2rem 0;
}

.section-lg {
    padding: 6rem 0;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

.col {
    flex: 1;
    padding: 1rem;
}

.col-2 {
    flex: 0 0 50%;
    padding: 1rem;
}

.col-3 {
    flex: 0 0 33.333%;
    padding: 1rem;
}

.col-4 {
    flex: 0 0 25%;
    padding: 1rem;
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Color Classes */
.text-primary {
    color: #8b4513;
}

.text-secondary {
    color: #6c757d;
}

.text-muted {
    color: #999;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

/* Spacing Utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pt-4 { padding-top: 4rem; }

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.btn-primary {
    background-color: #8b4513;
    color: white;
}

.btn-primary:hover {
    background-color: #5d2f09;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #8b4513;
    border: 2px solid #8b4513;
}

.btn-outline:hover {
    background-color: #8b4513;
    color: white;
    text-decoration: none;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* Card Components */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

.card-text {
    margin-bottom: 1.5rem;
    color: #666;
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: 'Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

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

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

/* Lists */
.list-styled {
    list-style: none;
    padding-left: 0;
}

.list-styled li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.list-styled li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b4513;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Dividers */
.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b4513, transparent);
    border: none;
    margin: 3rem 0;
}

.divider-light {
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.875rem; }
}


/* Index Page Specific Styles */
body {
    margin: 0;
    font-family: 'Garamond', serif;
    background-color: #fefefe;
}

.main-content {
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.greeting {
    font-size: 3rem;
    color: #2c2c2c;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.special-title {
    font-family: 'cursive-title', 'Brush Script MT', cursive;
    font-size: 5rem;
    color: #8a0009;
    text-align: center;
    line-height: 0.9;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 400;
}

.special-title .name {
    display: block;
    font-size: 2em;
}

.special-title .connector {
    display: block;
    font-size: 0.5em;
    margin: 0.2em 0;
    font-style: italic;
}

/* Title Section with Side Text Boxes */
.title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
    gap: 2rem;
}

.side-text {
    font-family: 'Garamond', serif;
    font-size: 1.2rem;
    color: #8a0009;
    text-align: center;
    flex: 1;
    max-width: 200px;
    line-height: 1.4;
}

.title-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* Our Story Section */
.our-story {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

/* Main section title - used across all pages */
.section-title {
    font-family: 'Garamond', serif;
    font-size: 3rem;
    color: #8a0009;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    line-height: 1.2;
}

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

.story-text {
    font-family: 'Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #2c2c2c;
    text-align: justify;
}

.story-text p {
    margin-bottom: 1.5rem;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    width: 400px;
    height: 500px
}

.slideshow-slide {
    display: none;
    animation: fadeIn 1s ease-in-out;
    width: 100%;
    height: 100%;
    position: relative;
}

.slideshow-slide.active {
    display: block;
    width: 100%;
    height: 100%;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slideshow Metadata */
.slideshow-metadata {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.slideshow-date {
    display: inline;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f4f4f4;
    margin-right: 0.5rem;
}

.slideshow-location {
    display: inline;
    font-size: 0.9rem;
    font-style: italic;
    color: #d4d4d4;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Slideshow Navigation Buttons */
.slideshow-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.nav-btn {
    background-color: rgba(138, 0, 9, 0.8);
    color: white;
    border: none;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    min-width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: rgba(138, 0, 9, 1);
    transform: translateY(-2px);
}

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

/* Lana Del Rey Inspired Decorative Dividers */
.lana-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    padding: 0 2rem;
}

.lana-divider::before,
.lana-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #8a0009, transparent);
    margin: 0 1rem;
}

.lana-ornament {
    font-size: 2rem;
    color: #8a0009;
    font-family: 'cursive-title', serif;
    position: relative;
    text-shadow: 0 0 10px rgba(138, 0, 9, 0.3);
}

.lana-ornament::before {
    content: '❦';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.7;
}

.lana-ornament::after {
    content: '❦';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    font-size: 0.8em;
    opacity: 0.7;
}

/* Alternative vintage flourish divider */
.vintage-divider {
    text-align: center;
    margin: 4rem 0;
    padding: 0 2rem;
}

.vintage-flourish {
    display: inline-block;
    font-size: 3rem;
    color: #8a0009;
    font-family: 'cursive-title', serif;
    text-shadow: 0 2px 8px rgba(138, 0, 9, 0.2);
    position: relative;
    line-height: 1;
}

.vintage-flourish::before {
    content: '✦';
    position: absolute;
    left: -4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    opacity: 0.6;
}

.vintage-flourish::after {
    content: '✦';
    position: absolute;
    right: -4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    opacity: 0.6;
}

/* Dreamy rose divider */
.rose-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4rem 0;
    padding: 0 2rem;
}

.rose-divider::before,
.rose-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(138, 0, 9, 0.3), rgba(138, 0, 9, 0.6), rgba(138, 0, 9, 0.3), transparent);
    margin: 0 2rem;
}

.rose-ornament {
    font-size: 2.5rem;
    color: #8a0009;
    font-family: 'cursive-title', serif;
    text-shadow: 0 0 15px rgba(138, 0, 9, 0.4);
    animation: gentle-glow 3s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
    from { text-shadow: 0 0 15px rgba(138, 0, 9, 0.4); }
    to { text-shadow: 0 0 25px rgba(138, 0, 9, 0.6), 0 0 35px rgba(138, 0, 9, 0.3); }
}

/* The Wedding Section */
.the-wedding {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.wedding-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.wedding-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.wedding-image img {
    width: 100%;
    height: auto;
    min-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.wedding-image:hover img {
    transform: scale(1.02);
}

.wedding-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 1rem 0;
}

.wedding-detail {
    border-bottom: 1px solid rgba(138, 0, 9, 0.2);
    padding-bottom: 2rem;
}

.wedding-detail:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-title {
    font-family: 'Garamond', serif;
    font-size: 2rem;
    color: #8a0009;
    margin-bottom: 1rem;
    text-align: left;
}

.detail-text {
    font-family: 'Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.2;
    color: #2c2c2c;
    text-align: left;
    margin: 0;
}

.detail-text em {
    color: #8a0009;
    font-style: italic;
    font-size: 0.95em;
}

/* Page Header Styles for Template Pages */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'cursive-title', 'Garamond', cursive;
    font-size: 4rem;
    color: #8a0009;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(138, 0, 9, 0.3);
}

.page-subtitle {
    font-family: 'Garamond', serif;
    font-size: 1.5rem;
    color: #2c2c2c;
    margin: 0;
    font-style: italic;
}

/* Template Page Content Sections */
.attractions-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 3rem;
}

/* Active Navigation Link */
.nav-link.active {
    color: #8a0009;
    position: relative;
}

.nav-link.active::after {
    width: 100%;
}

/* Info Sections - Travel and Things to Do */
.info-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

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

.info-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c2c2c;
}

.info-text p {
    margin-bottom: 1.5rem;
}

.info-link-container {
    margin-top: 2rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #8a0009;
    text-decoration: none;
    border: 2px solid #8a0009;
    padding: 1rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-link:hover {
    background-color: #8a0009;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 0, 9, 0.3);
    text-decoration: none;
}

.link-arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.info-link:hover .link-arrow {
    transform: translateX(5px);
}

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

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.info-image:hover img {
    transform: scale(1.05);
}

/* Responsive Styles for Index Page */
/* Moved to consolidated media queries */

/* Moved to consolidated media queries */

/* Table Styles for Attractions Page */
.table-section {
    margin: 4rem 0;
    padding: 0 2rem;
}

.table-container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.table-title-section {
    flex: 0 0 200px;
    text-align: right;
    padding-top: 1rem;
}

/* Table section specific override */
.table-title-section .section-title {
    text-align: right;
    margin: 0;
}

.table-content {
    flex: 1;
}

.attractions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: fixed;
}

.attractions-table th {
    color: #2c2c2c;
    font-family: 'Garamond', serif;
    font-size: 2.0rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-align: left;
    width: 25%;
}

.attractions-table td {
    padding: 0.2rem 1.0rem;
    vertical-align: top;
    background-color: #fefefe;
    text-align: left;
    width: 25%;
}



.attractions-table tr:hover td {
    background-color: #f8f8f8;
}

.attractions-table a {
    display: block;
    color: #8a0009;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0.2rem 0;
    padding: 0.1rem 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
}

.attractions-table a:hover {
    color: #660007;
    border-left-color: #8a0009;
    padding-left: 0.8rem;
    transform: translateX(3px);
}

.attractions-table a:first-child {
    margin-top: 0;
}

.attractions-table a:last-child {
    margin-bottom: 0;
}

/* Rest of New Zealand Section */
.rest-of-nz-section {
    max-width: 1000px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.nz-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.nz-region {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #8a0009;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nz-region:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.region-title {
    font-family: 'Garamond', serif;
    font-size: 1.8rem;
    color: #8a0009;
    margin-bottom: 1rem;
    font-weight: 600;
}

.region-text {
    font-family: 'Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c2c2c;
    margin: 0;
}

/* ========================================
   CONSOLIDATED RESPONSIVE STYLES
   ======================================== */

/* Tablet and Mobile Styles (768px and below) */
@media (max-width: 768px) {
    /* Base Layout */
    .section {
        padding: 3rem 0;
    }
    
    .section-lg {
        padding: 4rem 0;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-2, .col-3, .col-4 {
        flex: 1 1 100%;
    }

    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    /* Buttons */
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Index Page Specific */
    .greeting {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .special-title {
        font-size: 3.5rem;
    }
    
    .title-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .side-text {
        max-width: none;
        font-size: 1.1rem;
    }

    /* Our Story Section */
    .our-story {
        margin: 3rem auto;
        padding: 0 1rem;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-text {
        font-size: 1.1rem;
        order: 2;
    }
    
    .slideshow-container {
        order: 1;
        width: 400px;
        margin: 0 auto;
        aspect-ratio: 2 / 3;
    }
    
    .slideshow-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Slideshow Navigation */
    .nav-btn {
        min-width: 40px;
        height: 35px;
        padding: 0.6rem 0.8rem;
        font-size: 1rem;
    }
    
    .slideshow-nav {
        bottom: 0.5rem;
        gap: 0.8rem;
    }

    /* Slideshow Metadata */
    .slideshow-metadata {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .slideshow-date {
        font-size: 1rem;
    }
    
    .slideshow-location {
        font-size: 0.8rem;
    }

    /* Decorative Elements */
    .lana-divider, .vintage-divider, .rose-divider {
        margin: 3rem 0;
        padding: 0 1rem;
    }
    
    .lana-ornament, .vintage-flourish, .rose-ornament {
        font-size: 1.8rem;
    }
    
    .lana-ornament::before,
    .lana-ornament::after {
        left: -1.5rem;
        right: -1.5rem;
    }
    
    .vintage-flourish::before,
    .vintage-flourish::after {
        left: -3rem;
        right: -3rem;
    }

    /* Wedding Section */
    .the-wedding {
        margin: 3rem auto;
        padding: 0 1rem;
    }
    
    .wedding-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .wedding-image {
        order: -1;
    }
    
    .wedding-image img {
        min-height: 300px;
    }
    
    .wedding-info {
        gap: 2.5rem;
    }
    
    .wedding-detail {
        padding-bottom: 1.5rem;
    }
    
    .detail-title {
        font-size: 1.7rem;
        text-align: center;
    }
    
    .detail-text {
        font-size: 1.1rem;
        text-align: center;
    }

    /* Info Sections */
    .info-section {
        margin: 3rem auto;
        padding: 0 1rem;
    }
    
    .info-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .info-text {
        font-size: 1rem;
        text-align: center;
        order: 2;
    }
    
    .info-image {
        order: 1;
        height: 300px;
        width: 100%;
    }
    
    .info-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }

    /* Page Elements */
    .page-title {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.3rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .attractions-content {
        padding: 0 1rem;
    }

    /* Travel Page */
    .travel-section {
        padding: 0 1rem;
        margin: 3rem 0;
    }
    
    .travel-section .section-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .travel-text {
        font-size: 1rem;
        text-align: center;
    }
    
    .travel-links {
        justify-content: center;
        gap: 0.7rem;
    }
    
    .travel-links a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    /* RSVP Page */
    .rsvp-header {
        padding: 2rem 1rem;
    }
    
    .rsvp-title {
        font-size: 3rem;
    }
    
    .rsvp-subtitle {
        font-size: 1.1rem;
    }
    
    .rsvp-section {
        padding: 0 1rem 3rem;
    }
    
    .rsvp-form {
        padding: 2rem 1.5rem;
    }
    
    .rsvp-contact {
        padding: 1.5rem;
    }
    
    .radio-group {
        gap: 0.6rem;
    }
    
    .radio-label {
        font-size: 0.95rem;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    /* Base Layout */
    .container {
        padding: 0 1rem;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .special-title {
        font-size: 2.5rem;
    }
    
    .side-text {
        font-size: 1rem;
    }
    
    .story-text {
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    /* Cards */
    .card-body {
        padding: 1.5rem;
    }

    /* Slideshow */
    .slideshow-container {
        width: 300px;
        margin: 0 auto;
        aspect-ratio: 2 / 3;
    }
    
    .slideshow-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Slideshow Navigation */
    .nav-btn {
        min-width: 35px;
        height: 30px;
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }
    
    .slideshow-nav {
        bottom: 0.3rem;
        gap: 0.6rem;
    }

    /* Slideshow Metadata */
    .slideshow-metadata {
        top: 0.3rem;
        left: 0.3rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .slideshow-date {
        font-size: 0.9rem;
    }
    
    .slideshow-location {
        font-size: 0.75rem;
    }

    /* Decorative Elements */
    .lana-ornament, .vintage-flourish, .rose-ornament {
        font-size: 1.5rem;
    }
    
    .lana-ornament::before,
    .lana-ornament::after {
        display: none;
    }
    
    .vintage-flourish::before,
    .vintage-flourish::after {
        display: none;
    }

    /* Wedding Details */
    .wedding-detail {
        padding-bottom: 1.25rem;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
    
    .detail-text {
        font-size: 1rem;
    }
    
    .wedding-image img {
        min-height: 250px;
    }
    
    .wedding-info {
        gap: 2rem;
    }

    /* Info Sections */
    .info-section {
        margin: 2rem auto;
    }
    
    .info-content {
        gap: 2rem;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    .info-link {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
        letter-spacing: 0.5px;
    }
    
    .info-image {
        height: 250px;
        width: 100%;
    }

    /* Page Elements */
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }

    /* Attractions Table Mobile Responsive */
    .table-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .table-title-section {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Hide original table structure on mobile */
    .attractions-table,
    .attractions-table thead,
    .attractions-table tbody,
    .attractions-table tr {
        display: block;
        width: 100%;
    }
    
    .attractions-table thead {
        display: none;
    }
    
    .attractions-table td {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 2.5rem;
        position: relative;
        background-color: transparent;
    }
    
    /* Create section headers from data attributes */
    .attractions-table td:nth-child(1):before {
        content: "Wineries";
        display: block;
        font-family: 'Garamond', serif;
        font-size: 1.8rem;
        font-weight: bold;
        color: #8a0009;
        margin-bottom: 1rem;
        text-align: center;
        border-bottom: 2px solid #8a0009;
        padding-bottom: 0.5rem;
    }
    
    .attractions-table td:nth-child(2):before {
        content: "Beaches";
        display: block;
        font-family: 'Garamond', serif;
        font-size: 1.8rem;
        font-weight: bold;
        color: #8a0009;
        margin-bottom: 1rem;
        text-align: center;
        border-bottom: 2px solid #8a0009;
        padding-bottom: 0.5rem;
    }
    
    .attractions-table td:nth-child(3):before {
        content: "Adventure";
        display: block;
        font-family: 'Garamond', serif;
        font-size: 1.8rem;
        font-weight: bold;
        color: #8a0009;
        margin-bottom: 1rem;
        text-align: center;
        border-bottom: 2px solid #8a0009;
        padding-bottom: 0.5rem;
    }
    
    .attractions-table td:nth-child(4):before {
        content: "Culture";
        display: block;
        font-family: 'Garamond', serif;
        font-size: 1.8rem;
        font-weight: bold;
        color: #8a0009;
        margin-bottom: 1rem;
        text-align: center;
        border-bottom: 2px solid #8a0009;
        padding-bottom: 0.5rem;
    }
    
    /* For Food and Drink section - need different headers */
    .table-section:nth-of-type(2) .attractions-table td:nth-child(1):before {
        content: "Fine Dining";
    }
    
    .table-section:nth-of-type(2) .attractions-table td:nth-child(2):before {
        content: "Casual Dining";
    }
    
    .table-section:nth-of-type(2) .attractions-table td:nth-child(3):before {
        content: "Cafés";
    }
    
    .table-section:nth-of-type(2) .attractions-table td:nth-child(4):before {
        content: "Bars & Pubs";
    }
    
    .attractions-table a {
        display: block;
        font-size: 1rem;
        margin: 0.8rem 0;
        padding: 0.5rem 1rem;
        text-align: center;
        background-color: #f8f8f8;
        border-radius: 8px;
        border-left: none;
        transition: all 0.3s ease;
    }
    
    .attractions-table a:hover {
        background-color: #8a0009;
        color: white;
        transform: none;
        padding-left: 1rem;
    }

    /* Rest of New Zealand Section */
    .rest-of-nz-section {
        margin: 3rem auto;
        padding: 0 1rem;
    }

    .nz-content {
        gap: 2rem;
    }

    .nz-region {
        padding: 2rem;
    }

    .region-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .region-text {
        font-size: 1rem;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Travel Page Styles */
.travel-section {
    margin: 4rem 0;
    padding: 0 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Travel section specific override */
.travel-section .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.travel-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c2c2c;
    margin-bottom: 2rem;
    text-align: left;
}

.travel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.travel-links a {
    display: inline-block;
    color: #8a0009;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #8a0009;
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.travel-links a:hover {
    background-color: #8a0009;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(138, 0, 9, 0.2);
}

/* Mobile Responsive */
/* Moved to consolidated media queries */

/* RSVP Page Styles */
.rsvp-header {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.rsvp-title {
    font-family: cursive;
    font-size: 5rem;
    color: #8a0009;
    margin-bottom: 1rem;
}

.rsvp-subtitle {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-family: 'Garamond', serif;
}

.rsvp-date {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.rsvp-section {
    padding: 0 2rem 4rem;
}

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

.rsvp-form {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

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

.form-label {
    display: block;
    font-family: 'Garamond', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fefefe;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #8a0009;
    box-shadow: 0 0 0 3px rgba(138, 0, 9, 0.1);
}

.form-help {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
    font-style: italic;
}

/* Tooltip Styles for Attractions */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    white-space: normal;
    width: 250px;
    text-align: center;
    line-height: 1.4;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    transform: translateX(-50%) translateY(-10px);
}

[data-tooltip]:after {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mobile responsive tooltips */
@media (max-width: 768px) {
    [data-tooltip]:before {
        width: 200px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 480px) {
    [data-tooltip]:before {
        width: 180px;
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
        bottom: 120%;
    }
    
    [data-tooltip]:after {
        bottom: 110%;
    }
}

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

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #2c2c2c;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #8a0009;
    border-radius: 50%;
    margin-right: 0.8rem;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    background-color: #8a0009;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rsvp-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #8a0009;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Garamond', serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.rsvp-submit-btn:hover {
    background-color: #660007;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 0, 9, 0.3);
}

.rsvp-contact {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.rsvp-contact h3 {
    font-family: 'Garamond', serif;
    font-size: 1.5rem;
    color: #8a0009;
    margin-bottom: 1rem;
}

.rsvp-contact p {
    color: #2c2c2c;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: #8a0009;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Hidden form groups that show when attending */
.form-group.hidden {
    display: none;
}

/* Mobile Responsive for RSVP */
/* Moved to consolidated media queries */