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

:root {
    --primary-dark: #1a1a1a;
    --primary-gold: #b8a67d;
    --secondary-dark: #2d2d2d;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --accent-gold: #d4c5a0;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --danger: #dc3545;
    --success: #28a745;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

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

.btn-link {
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 5px 10px;
}

.btn-link:hover {
    color: var(--accent-gold);
}

.btn-cancel {
    background-color: var(--text-gray);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.btn-delete {
    background-color: var(--danger);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
}

.btn-edit {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 10px;
}

.btn-secondary {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
}

.btn-add-item {
    background-color: transparent;
    color: var(--primary-gold);
    border: 2px dashed var(--primary-gold);
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
}

.error-text {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay.hidden {
    display: none;
}

.overlay-content {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
}

.overlay-logo {
    height: 80px;
    margin: 0 auto 30px;
}

.overlay-content h2 {
    margin-bottom: 20px;
}

.overlay-content input {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 50px auto;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.modal-content.modal-large {
    max-width: 900px;
}

.modal-content.modal-small {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
}

.modal-close:hover {
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

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

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.form-group input[type="file"] {
    padding: 10px;
    background-color: var(--bg-light);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-section {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .btn-link {
    color: var(--text-light);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

/* Events List View */
.events-list-view {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background-color: var(--bg-light);
}

.events-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    gap: 20px;
}

.events-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-card-image {
    height: 200px;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

.event-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
}

.event-card-badge.draft {
    background-color: var(--text-gray);
    color: var(--text-light);
}

.event-card-content {
    padding: 25px;
}

.event-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    cursor: pointer;
}

.event-card-date {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.event-card-location {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.event-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Single Event View */
.event-view {
    padding-top: 70px;
}

/* Back Button */
.back-button {
    position: fixed;
    top: 80px;
    left: 20px;
    z-index: 100;
    background-color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: var(--bg-light);
}

/* Edit Event Button */
.edit-event-button {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 100;
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.edit-event-button:hover {
    background-color: #a08850;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    width: 100%;
    min-height: 70vh;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(184, 166, 125, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(184, 166, 125, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(45, 45, 45, 1) 0%, rgba(26, 26, 26, 1) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-partner {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-partner span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.hero-partner img {
    max-height: 80px;
    max-width: 250px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-details {
    font-size: 1.2rem;
    opacity: 0.9;
}


/* Section Styles */
.section {
    padding: 80px 20px;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 20px;
    color: var(--text-dark);
}

.section-header {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.section-header .btn-edit {
    background-color: var(--text-dark);
    color: var(--text-light);
}

.section-edit-btn {
    position: absolute;
    top: 20px;
    right: 20px;
}

/* Event Description */
.event-description {
    background-color: var(--bg-light);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

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

.content-text ul li {
    margin-bottom: 25px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-text ul li::before {
    content: "\2022";
    color: var(--primary-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.content-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Schedule */
.schedule {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.schedule h2,
.schedule h3 {
    color: var(--text-light);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.schedule-image img {
    border-radius: 10px;
}

.welcome-text {
    font-size: 1.15rem;
    margin-bottom: 40px;
    color: var(--accent-gold);
}

.timeline {
    margin: 30px 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: start;
}

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

.time {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.description {
    line-height: 1.8;
}

.signature {
    margin-top: 40px;
    font-style: italic;
    color: var(--accent-gold);
}

/* Profile Cards (Host, Speakers) */
.host,
.speakers {
    background-color: var(--bg-white);
}

.profile-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: 10px;
    position: relative;
}

.profile-card .btn-edit {
    position: absolute;
    top: 20px;
    right: 20px;
}

.profile-image img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.profile-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.profile-title {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.profile-bio {
    font-size: 1.05rem;
    line-height: 1.8;
}

.speakers-grid,
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.speakers-grid .profile-card,
.hosts-grid .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
}

.speakers-grid .profile-image,
.hosts-grid .profile-image {
    max-width: 200px;
    margin: 0 auto 20px;
}

/* Guests */
.guests {
    background-color: var(--bg-light);
}

/* Guests scroll container wrapper */
.guests-scroll-container {
    position: relative;
}

.guests-scroll-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: calc(100% - 8px);
    background: linear-gradient(to right, transparent, var(--bg-light));
    pointer-events: none;
    z-index: 1;
}

.guests-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.guests-scroll-hint span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.scroll-arrows {
    display: flex;
    gap: 10px;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: var(--primary-gold);
    color: var(--text-light);
}

.scroll-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.guests-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) var(--bg-light);
    scroll-behavior: smooth;
}

.guests-grid::-webkit-scrollbar {
    height: 8px;
}

.guests-grid::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.guests-grid::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.guests-grid::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

.guest-card {
    flex: 0 0 280px;
    min-width: 280px;
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    scroll-snap-align: start;
}

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

.guest-card .btn-edit {
    position: absolute;
    top: 10px;
    right: 10px;
}

.guest-card .profile-image {
    max-width: 150px;
    margin: 0 auto 20px;
}

.guest-card h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.guest-card .profile-title {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.guest-card .profile-bio {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.guest-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 5px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Event Connect */
.event-connect {
    background-color: var(--bg-white);
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.connect-intro {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
}

.connect-instructions {
    font-size: 1.1rem;
    line-height: 1.8;
}

.connect-link {
    font-weight: 600;
    text-decoration: underline;
}

.connect-image img {
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Event Partner */
.event-partner {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.event-partner h2 {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 50px;
}

.partner-logo {
    text-align: center;
    margin-bottom: 50px;
}

.partner-logo img {
    height: 80px;
    margin: 0 auto;
}

.partner-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.partner-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.partner-link {
    text-align: center;
}

.partner-link a {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonial {
    margin-top: 80px;
    position: relative;
}

.testimonial blockquote {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-left: 5px solid var(--primary-gold);
    margin-bottom: 40px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial footer {
    margin-top: 20px;
    font-style: normal;
    color: var(--accent-gold);
}

.testimonial-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 30px;
}

.partner-hero-image {
    margin-top: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.partner-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Contact */
.contact {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
}

.contact-logo {
    height: 60px;
    margin: 0 auto 40px;
}

.contact h2 {
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-details {
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background-color: var(--secondary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

/* Admin Editable Items */
.editable-item {
    background-color: var(--bg-light);
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}

.editable-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editable-item-actions {
    display: flex;
    gap: 10px;
}

.editable-item-actions button {
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    border: none;
    border-radius: 3px;
}

.btn-edit-item {
    background-color: var(--primary-gold);
    color: var(--text-dark);
}

.btn-remove-item {
    background-color: var(--danger);
    color: var(--text-light);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-gray);
}

.loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid var(--bg-light);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px;
    color: var(--text-gray);
}

.empty-state p {
    margin-bottom: 20px;
}

/* Image Preview */
.image-preview {
    max-width: 200px;
    margin-top: 10px;
    border-radius: 5px;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-gray);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

.tab-content {
    display: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
        font-size: 0.85rem;
    }

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

    .content-grid,
    .schedule-grid,
    .connect-grid {
        grid-template-columns: 1fr;
    }

    .speakers-grid,
    .hosts-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-dark);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 20px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 20px;
    }

    .section h2 {
        font-size: 2rem;
    }

    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .profile-image {
        max-width: 180px;
        margin: 0 auto 20px;
    }

    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .schedule-image {
        order: -1;
    }

    .hero-partner img {
        max-height: 50px;
        max-width: 180px;
        padding: 10px 15px;
    }

    .guests-grid {
        gap: 15px;
    }

    .guest-card {
        flex: 0 0 250px;
        min-width: 250px;
        padding: 20px;
    }

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

    .events-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .modal-content {
        padding: 20px;
        margin: 20px;
    }

    .back-button {
        top: auto;
        bottom: 20px;
        left: 20px;
        transform: none;
    }

    .edit-event-button {
        top: auto;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .section h2 {
        font-size: 1.75rem;
    }

    .section-header {
        font-size: 1rem;
        padding: 12px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}

/* No Access Message */
.no-access-message {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
    grid-column: 1 / -1;
    width: 100%;
}

.no-access-message h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 2rem;
}

.no-access-message p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.no-access-message a {
    color: var(--primary-gold);
    text-decoration: underline;
    cursor: pointer;
}

/* Form checkbox styling */
.form-checkbox {
    margin-top: 8px;
}

.form-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group input:disabled {
    background-color: var(--bg-light);
    color: var(--text-gray);
    cursor: not-allowed;
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Quill Editor Styling */
.quill-editor {
    background: var(--bg-white);
    border-radius: 5px;
}

.quill-editor .ql-editor {
    min-height: 150px;
    font-size: 1rem;
    line-height: 1.6;
}

.ql-toolbar.ql-snow {
    border-radius: 5px 5px 0 0;
    border-color: #ddd;
    background: var(--bg-white);
}

.ql-container.ql-snow {
    border-radius: 0 0 5px 5px;
    border-color: #ddd;
    background: var(--bg-white);
}

/* Ensure Quill dropdowns are visible in modals */
.modal .ql-toolbar {
    position: relative;
    z-index: 1;
}

.modal .ql-picker-options {
    z-index: 1000;
}

/* Image Upload Styling */
.image-upload-input {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    background: var(--bg-light);
}

.image-upload-input:hover {
    border-color: var(--primary-gold);
}

.image-preview {
    margin-top: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 80px;
}

.image-preview img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.image-preview .image-path {
    font-size: 0.85rem;
    color: var(--text-gray);
    word-break: break-all;
}

.image-preview .no-image {
    color: var(--text-gray);
    font-style: italic;
}

.fallback-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}
