@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --bg-primary: #0F172A;
    --bg-secondary: #1E293B;
    --bg-card: #FFFFFF;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --accent-start: #E94E3D;
    --accent-end: #F97316;
    --accent-gradient: linear-gradient(135deg, #E94E3D 0%, #F97316 100%);
    --gold: #D4A574;
    --border-light: #E2E8F0;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}


.main-container {
    min-height: 100vh;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/static/uploads/flyer.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 0.2;
    filter: saturate(0.4) brightness(0.5);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(233, 78, 61, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-start);
}

.event-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.event-title span {
    display: block;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.meta-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.meta-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--accent-gradient);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(233, 78, 61, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(233, 78, 61, 0.45);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.host-card {
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    width: 420px;
    max-width: 420px;
}

.host-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-gradient);
    z-index: 10;
}

.host-photo-wrapper {
    background: linear-gradient(180deg, #2D3A4F 0%, #1E293B 100%);
    padding: 16px 8px 0 8px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
}

.host-photo {
    width: 540px;
    max-width: none;
    height: auto;
    display: block;
    transform: scale(1);
}

.host-info {
    background: var(--accent-gradient);
    padding: 28px 36px 32px;
}

.host-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.host-title {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.content-section {
    background: #F8FAFC;
    padding: 100px 40px;
    position: relative;
    z-index: 2;
}

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-start);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-dark);
}

.altar-info {
    background: #F8FAFC;
    padding: 80px 40px;
    position: relative;
    z-index: 2;
}

.altar-info__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 48px;
}

.altar-info__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.altar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.altar-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.altar-card__avatar-frame {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
    position: relative;
}

.altar-card__avatar-img {
    width: 180%;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
}

.altar-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.altar-card__label {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-left: 8px;
}

.altar-card__greeting {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--gold);
    margin-bottom: 16px;
}

.altar-card__body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.altar-card__body:last-of-type {
    margin-bottom: 0;
}

.altar-card__signature {
    margin-top: 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold);
}

.altar-card__venue-slideshow {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f0f0f0;
}

.altar-card__venue-slideshow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
}

.altar-card__venue-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.altar-card__venue-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.altar-card__slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.altar-card__slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.altar-card__slideshow-dot.active {
    background: white;
    transform: scale(1.2);
}

.altar-card__venue-details {
    margin-bottom: 20px;
    flex: 1;
}

.altar-card__venue-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.altar-card__venue-address {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.altar-card__venue-address-line {
    display: block;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.altar-card__venue-address-line:last-child {
    margin-bottom: 0;
}

.altar-card__book-now {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn-book-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 78, 61, 0.3);
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 78, 61, 0.4);
}

.btn-book-now svg {
    transition: transform 0.3s ease;
}

.btn-book-now:hover svg {
    transform: translate(2px, -2px);
}

.altar-card__rate-banner {
    background: var(--accent-gradient);
    padding: 20px 24px;
    border-radius: 12px;
    margin-top: auto;
    text-align: center;
}

.altar-card__rate-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
}

.altar-card__rate-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.altar-card__rate-item {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.02em;
}

.altar-card__rate-text {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.venue-content {
    display: flex;
    gap: 24px;
}

.venue-details {
    flex: 1;
}

.venue-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.venue-address {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.venue-rates {
    background: var(--accent-gradient);
    padding: 20px 24px;
    border-radius: 14px;
    margin-top: 20px;
}

.rates-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}

.rates-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
}

.venue-slideshow {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.venue-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.venue-slide {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slideshow-dot.active {
    background: white;
    transform: scale(1.2);
}

.venue-image {
    width: 160px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
}

.registration-section {
    background: var(--bg-primary);
    padding: 100px 40px;
    position: relative;
    z-index: 2;
}

.registration-inner {
    max-width: 720px;
    margin: 0 auto;
}

.registration-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: var(--shadow-medium);
}

.registration-header {
    text-align: center;
    margin-bottom: 36px;
}

.registration-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.registration-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px 18px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-start);
    box-shadow: 0 0 0 3px rgba(233, 78, 61, 0.1);
}

.form-input::placeholder {
    color: #94A3B8;
}

.quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 8px;
}

.qty-btn {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.qty-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 14px;
    margin-bottom: 24px;
}

.total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.total-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.total-breakdown {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.payment-section {
    margin-bottom: 24px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent-gradient);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(233, 78, 61, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 78, 61, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    margin-top: 16px;
    padding: 14px 18px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 10px;
    color: #DC2626;
    font-size: 0.9rem;
    text-align: center;
}

.footer {
    background: var(--bg-secondary);
    padding: 40px;
    text-align: center;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-link {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-start);
}

.success-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--bg-primary);
}

.success-card {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.success-icon {
    margin-bottom: 24px;
}

.success-icon svg {
    width: 64px;
    height: 64px;
    stroke: #22C55E;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.success-message {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.confirmation-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    padding: 28px;
    border-radius: 16px;
    margin-bottom: 28px;
}

.confirmation-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.confirmation-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.success-details {
    text-align: left;
    background: #F8FAFC;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.success-details p {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.success-details strong {
    color: var(--text-dark);
}

.success-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.return-button {
    display: inline-block;
    padding: 16px 36px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(233, 78, 61, 0.3);
}

.return-button:hover {
    transform: translateY(-2px);
}

.admin-container {
    min-height: 100vh;
    background: #F8FAFC;
    padding: 20px;
}

.admin-login-card {
    max-width: 400px;
    margin: 80px auto;
    background: white;
    padding: 48px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.admin-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

.admin-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.admin-button:hover {
    transform: translateY(-2px);
}

.admin-button-secondary {
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.admin-button-secondary:hover {
    background: #F8FAFC;
}

.back-link {
    display: block;
    text-align: center;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-start);
}

.admin-header {
    max-width: 1200px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.admin-nav {
    display: flex;
    gap: 12px;
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
}

.registrations-table th,
.registrations-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.registrations-table th {
    background: #F8FAFC;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.registrations-table tbody tr:hover {
    background: #F8FAFC;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: #DCFCE7;
    color: #16A34A;
}

.status-pending {
    background: #FEF3C7;
    color: #D97706;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    padding: 48px;
    font-size: 1rem;
}

.settings-form {
    max-width: 600px;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.image-preview {
    margin-top: 12px;
    max-width: 250px;
    border-radius: 12px;
}

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #DCFCE7;
    color: #16A34A;
}

.alert-error {
    background: #FEF2F2;
    color: #DC2626;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .meta-row {
        justify-content: center;
    }
    
    .altar-info__cards {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 480px;
    }
    
    .altar-card--host {
        order: 1;
    }
    
    .altar-card--venue {
        order: 2;
    }
    
    .registration-inner {
        max-width: 480px;
    }
    
    .host-card {
        width: 340px;
        max-width: 340px;
    }
    
    .host-photo {
        width: 440px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .content-section,
    .registration-section {
        padding: 60px 20px;
    }
    
    .registration-card {
        padding: 36px 24px;
    }
    
    .info-card {
        padding: 28px;
    }
    
    .venue-content {
        flex-direction: column;
    }
    
    .venue-image {
        width: 100%;
        height: 160px;
    }
    
    .host-photo {
        width: 220px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}
