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

:root {
    --color-bg: #fcf9f5;
    --color-text: #2c2c2c;
    --color-primary: #c49a6c;
    --color-primary-dark: #a87d52;
    --color-accent: #8b6f47;
    --color-card: #ffffff;
    --color-border: #e8ddd0;
    --color-success: #4caf50;
    --color-error: #e74c3c;
    --color-info: #2196f3;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body {
    font-family: "Inter", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background: var(--color-card);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-primary);
}

/* Hamburger toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Container */
.container {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* Flash messages */
.flash {
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.flash.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.flash.error {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

/* Hero slideshow */
.hero-slideshow-wrapper {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 20s infinite;
}

.slide-1 {
    background-image: url('fotos/foto1.jpg');
    animation-delay: 0s;
}

.slide-2 {
    background-image: url('fotos/foto2.jpg');
    animation-delay: 5s;
}

.slide-3 {
    background-image: url('fotos/foto3.jpg');
    animation-delay: 10s;
}

.slide-4 {
    background-image: url('fotos/foto4.jpg');
    animation-delay: 15s;
}

@keyframes heroFade {
    0% { opacity: 0; }
    4% { opacity: 1; }
    20% { opacity: 1; }
    24% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.hero-slideshow-wrapper .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-slideshow-wrapper .hero-title {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 0.7rem;
}

.hero-slideshow-wrapper .hero-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
}

.hero-slideshow-wrapper .hero-location {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.hero-slideshow-wrapper .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.hero-date {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.hero-location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #888;
    max-width: 500px;
    margin: 0 auto;
}

/* Info section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: var(--color-card);
    padding: 1.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--color-border);
}

.info-card h2 {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.95rem;
    color: #666;
}

/* CTA */
.cta-section {
    text-align: center;
    margin: 2rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: #f0f0f0;
    color: var(--color-text);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-save {
    background: var(--color-primary);
    color: #fff;
}

.btn-save:hover {
    background: var(--color-primary-dark);
}

/* Google Button */
.btn-google {
    background: #4285F4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.9rem 2.5rem;
    border-radius: 8px;
}

.btn-google:hover {
    background: #357ae8;
}

/* Form */
.form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-section h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.form-intro {
    text-align: center;
    color: #888;
    margin-bottom: 2rem;
}

.rsvp-form,
.login-card,
.add-form {
    background: var(--color-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

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

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
select,
textarea,
.inline-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fefcf9;
    transition: border-color 0.2s;
}

input:focus,
select:focus,
textarea:focus,
.inline-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

textarea {
    resize: vertical;
}

.radio-group,
.checkbox-group {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.3rem;
}

.checkbox-single {
    padding-top: 0.3rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.radio-label input,
.checkbox-label input {
    width: auto;
    accent-color: var(--color-primary);
}

.rsvp-form .btn,
.add-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* Login */
.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    text-align: center;
    max-width: 450px;
}

.login-card h1 {
    margin-bottom: 0.8rem;
}

.login-card p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.tab-link {
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px; /* Overlap border */
}

.tab-link.active {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Admin */
.admin-section h1 {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-card);
    padding: 1.2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    font-family: "Playfair Display", serif;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
    background: var(--color-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.guest-table,
.questions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.guest-table th,
.questions-table th {
    background: var(--color-bg);
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--color-accent);
    white-space: nowrap;
    border-bottom: 2px solid var(--color-border);
}

.guest-table td,
.questions-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.guest-table tr:last-child td,
.questions-table tr:last-child td {
    border-bottom: none;
}

.guest-table tr:hover td,
.questions-table tr:hover td {
    background: #faf6f0;
}

.empty-table {
    text-align: center;
    color: #aaa;
    padding: 2rem !important;
}

/* Question management */
.questions-table td .inline-input {
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    border-radius: 6px;
    background: #fff;
}

.questions-table td .options-input {
    white-space: pre-wrap;
    word-break: break-all;
    min-width: 150px;
}

.add-question-section {
    margin-top: 2.5rem;
    background: var(--color-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.add-question-section summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-question-section summary::-webkit-details-marker {
    display: none;
}

.add-question-section details[open] summary {
    margin-bottom: 1.5rem;
}

.add-question-section .add-form {
    padding: 0;
    box-shadow: none;
    border: none;
}

.badge {
    display: inline-block;
    padding: 0.3em 0.7em;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.badge-active {
    background-color: #e8f5e9; /* Light green */
    color: #2e7d32; /* Dark green */
    border: 1px solid #c8e6c9;
}

.badge-inactive {
    background-color: #fce4ec; /* Light red */
    color: #c62828; /* Dark red */
    border: 1px solid #f8bbd0;
}

/* Google RSVP bar */
.google-rsvp-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}

.google-rsvp-bar span {
    font-size: 0.95rem;
    color: #666;
}

.btn-sm-google {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 6px;
    gap: 0.4rem;
}

.btn-sm-google svg {
    width: 16px;
    height: 16px;
}

/* Plus one cards */
#plus-ones-section {
    margin: 1.5rem 0;
}

#plus-ones-section h3 {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.3rem;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1rem 0;
}

.plus-one-card {
    background: #faf6f0;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.plus-one-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.plus-one-header h4 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-accent);
}

.plus-one-card .form-group {
    margin-bottom: 0.8rem;
}

.plus-one-card .form-group label {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.plus-one-card input,
.plus-one-card select {
    font-size: 0.9rem;
    padding: 0.55rem 0.8rem;
    background: #fff;
}

.plus-one-checkboxes {
    display: flex;
    gap: 1.5rem;
    padding-top: 0.2rem;
}

.btn-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #c62828;
    cursor: pointer;
    line-height: 1;
    padding: 0 0.2rem;
}

.btn-remove:hover {
    color: #e74c3c;
}

#plus-ones-section .btn-secondary {
    margin-bottom: 1rem;
    width: auto;
}

/* Admin header row */
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    margin-bottom: 0;
}

/* Delete button */
.btn-delete {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #f8bbd0;
    cursor: pointer;
}

.btn-delete:hover {
    background: #f8bbd0;
}

/* Plus one entries in admin table */
.plus-one-entry {
    font-size: 0.85rem;
    padding: 0.15rem 0;
    color: #555;
}

.plus-one-entry:not(:last-child) {
    border-bottom: 1px dashed #eee;
    margin-bottom: 0.15rem;
}

.plus-one-delete {
    color: #c62828;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-left: 0.4rem;
    line-height: 1;
}

.plus-one-delete:hover {
    color: #e74c3c;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    color: #aaa;
    font-size: 0.85rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-card);
}

/* Invitation page */
.invitation-hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
    background: linear-gradient(135deg, #fcf9f5 0%, #f5ede4 100%);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.invitation-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.invitation-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.invitation-couple {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.invitation-date {
    font-size: 1.3rem;
    color: var(--color-accent);
    font-family: "Playfair Display", serif;
    margin-bottom: 0.8rem;
}

.invitation-sub {
    color: #888;
    font-size: 1.05rem;
}

.invitation-section {
    margin-bottom: 2.5rem;
}

/* Invitation card page */
.invitation-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem 3rem;
}

.invitation-card {
    background: var(--color-card);
    max-width: 580px;
    width: 100%;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    text-align: center;
    position: relative;
}

.inv-svg-top,
.inv-svg-bottom {
    width: 100%;
    max-width: 320px;
    height: 30px;
    display: block;
    margin: 0 auto;
}

.inv-svg-top {
    margin-bottom: 1.5rem;
}

.inv-svg-bottom {
    margin-top: 1.5rem;
}

.inv-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
}

.inv-names {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.inv-date {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-family: "Playfair Display", serif;
    margin-bottom: 0.5rem;
}

.inv-sub {
    color: #888;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.inv-divider {
    width: 100px;
    height: 18px;
    display: block;
    margin: 1.2rem auto;
}

.inv-divider-sm {
    width: 60px;
    height: 10px;
    display: block;
    margin: 1rem auto;
}

.inv-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.inv-event {
    margin-bottom: 1.5rem;
}

.inv-event h3 {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    font-family: "Playfair Display", serif;
    margin-bottom: 0.2rem;
}

.inv-event p {
    font-size: 0.95rem;
    color: #555;
}

.inv-place {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: 0.1rem;
}

.inv-dress {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.inv-dress-sub {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.2rem;
    font-style: italic;
}

.inv-footer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
}

.inv-download-btn {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Static SVG invitation */
.invitation-card-static {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.inv-svg-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

/* Event hero pages */
.event-hero {
    text-align: center;
    padding: 3rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.boda-bg { background: linear-gradient(135deg, #f5eef8, #ebdef0); }
.restaurante-bg { background: linear-gradient(135deg, #fef9e7, #fdebd0); }

.event-hero-inner {
    max-width: 500px;
    margin: 0 auto;
}

.event-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.event-hero h1 {
    font-size: 2.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.event-hero-date {
    font-size: 1.1rem;
    color: var(--color-accent);
    font-family: "Playfair Display", serif;
}

.event-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.event-info-card {
    background: var(--color-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.event-info-card h2 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.event-info-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.event-card {
    background: var(--color-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    margin-bottom: 1.2rem;
    text-align: center;
}

.event-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.event-card h2 {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.event-date {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.event-location {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.event-desc {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.map-container {
    background: var(--color-card);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
}

.map-container iframe {
    display: block;
    border-radius: 8px;
}

.map-note {
    text-align: center;
    margin-top: 0.8rem;
    font-size: 0.85rem;
}

.map-note a {
    color: var(--color-primary);
}

.dress-code {
    background: var(--color-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    text-align: center;
}

.dress-code-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.dress-code-desc {
    color: #888;
    font-size: 0.95rem;
}

.gift-info {
    background: var(--color-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    text-align: center;
    color: #666;
    line-height: 1.6;
}

.account-number {
    font-family: "Courier New", monospace;
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-top: 0.8rem;
    letter-spacing: 1px;
}

/* Print styles */
@media print {
    .nav, .footer, .cta-section, .google-rsvp-bar, .admin-tabs, .btn, .inv-download-btn {
        display: none !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .invitation-hero {
        background: none !important;
        padding-top: 0;
    }

    .event-card, .dress-code, .gift-info, .map-container, .event-info-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }

    .invitation-section {
        page-break-inside: avoid;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 0;
        border-top: 1px solid var(--color-border);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .event-detail {
        grid-template-columns: 1fr;
    }

    .hero-slideshow-wrapper .hero-title {
        font-size: 2.8rem;
    }

    .hero-slideshow-wrapper .hero-date {
        font-size: 1.3rem;
    }
}

@media (max-width: 640px) {
    .nav {
        flex-wrap: wrap;
        padding: 0.8rem 1rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slideshow-wrapper {
        min-height: 45vh;
        padding: 3rem 1rem;
    }

    .hero-slideshow-wrapper .hero-title {
        font-size: 2.2rem;
    }

    .hero-slideshow-wrapper .hero-date {
        font-size: 1.1rem;
    }

    .hero-slideshow-wrapper .hero-location {
        font-size: 1rem;
    }

    .invitation-couple {
        font-size: 2rem;
    }

    .invitation-card {
        padding: 2rem 1.5rem;
    }

    .invitation-page {
        padding: 1rem 0.5rem 2rem;
    }

    .inv-svg-img {
        border-radius: 12px;
    }

    .rsvp-form,
    .login-card,
    .add-form {
        padding: 1.5rem;
    }

    .radio-group,
    .checkbox-group,
    .form-row {
        flex-direction: column;
        gap: 0.7rem;
    }

    .form-row .form-group {
        margin-bottom: 0.7rem;
    }

    .google-rsvp-bar {
        flex-direction: column;
        gap: 0.7rem;
        text-align: center;
    }

    .plus-one-checkboxes {
        flex-direction: column;
        gap: 0.5rem;
    }

    .event-hero h1 {
        font-size: 1.8rem;
    }

    .event-hero {
        padding: 2rem 1rem;
    }

    .event-info-card {
        padding: 1.2rem;
    }

    .map-container iframe {
        height: 220px;
    }

    .admin-tabs {
        flex-wrap: wrap;
    }

    .tab-link {
        width: 100%;
        text-align: center;
        border-bottom: none;
        border-top: 1px solid var(--color-border);
    }

    .tab-link.active {
        border-top-color: var(--color-primary);
        border-bottom-color: transparent;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .guest-table {
        font-size: 0.8rem;
    }

    .guest-table th,
    .guest-table td {
        padding: 0.5rem 0.6rem;
    }

    .questions-table td {
        white-space: normal;
    }

    .form-section h1 {
        font-size: 1.6rem;
    }

    .admin-section h1 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.8rem;
    }

    .hero-slideshow-wrapper {
        min-height: 50vh;
        padding: 2rem 0.8rem;
    }

    .hero-slideshow-wrapper .hero-title {
        font-size: 1.8rem;
    }

    .inv-names {
        font-size: 2rem;
    }

    .invitation-card {
        padding: 1.5rem 1rem;
    }

    .inv-event h3 {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .table-wrapper {
        border-radius: 8px;
    }
}
