/* SAJULI VENUE - Stylesheet */
:root {
    --gold: #7D6F50;
    --gold-light: #A89878;
    --gold-dark: #5C5138;
    --cream: #FCF5EB;
    --cream-light: #FEFCF9;
    --dark: #1A1A1A;
    --dark-soft: #2A2921;
    --text: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --border: #E8E2D8;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .heading {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 600px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-cream { background: var(--cream); }
.section-cream-light { background: var(--cream-light); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header .label { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.section-header h2 { margin-bottom: 20px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

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

.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: transparent; color: var(--dark); transform: translateY(-2px); }

.btn-sm { padding: 10px 24px; font-size: 0.75rem; }
.btn-lg { padding: 20px 48px; font-size: 0.9rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    transition: all var(--transition);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

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

.nav-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    transition: color var(--transition);
}
.nav-menu a:hover { color: var(--gold-light); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    list-style: none;
    min-width: 180px;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    padding: 8px 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.8rem; }
.nav-dropdown-menu a:hover { background: rgba(125,111,80,0.2); color: var(--gold-light); }

.nav-cta a {
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 4px;
    padding: 10px 24px !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem !important;
}
.nav-cta a:hover { background: var(--gold-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,26,26,0.6) 0%, rgba(26,26,26,0.4) 50%, rgba(26,26,26,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 100px 24px 60px;
    max-width: 800px;
}

.hero-logo { max-width: 300px; margin: 0 auto 32px; }

.hero h1 {
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.hero .subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    opacity: 0.6;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Page Hero (smaller) */
.page-hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}
.page-hero .hero-bg::after {
    background: linear-gradient(180deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.5) 100%);
}
.page-hero h1 { color: var(--white); position: relative; z-index: 2; }
.page-hero p { color: rgba(255,255,255,0.8); position: relative; z-index: 2; font-size: 1.1rem; margin-top: 12px; }

/* Cards Grid */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Category Cards */
.cat-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    group: true;
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26,26,26,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}
.cat-card-overlay .icon { width: 40px; height: 40px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.cat-card-overlay h3 { color: var(--white); margin-bottom: 8px; }
.cat-card-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 16px; }
.cat-card-overlay .btn { align-self: flex-start; }

/* Hall Cards */
.hall-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}
.hall-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hall-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.hall-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hall-card:hover .hall-card-img img { transform: scale(1.05); }
.hall-card-body { padding: 28px; }
.hall-card-body h3 { margin-bottom: 8px; color: var(--gold-dark); }
.hall-card-body .capacity { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.hall-card-body p { font-size: 0.95rem; margin-bottom: 16px; }
.hall-card-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.hall-card-features span {
    padding: 4px 12px;
    background: var(--cream);
    color: var(--gold-dark);
    font-size: 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Extra Cards */
.extra-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}
.extra-card:hover, .extra-card.selected { border-color: var(--gold); transform: translateY(-2px); }
.extra-card.selected { background: var(--cream); }
.extra-card-icon { font-size: 2rem; margin-bottom: 12px; }
.extra-card h4 { font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.extra-card p { font-size: 0.8rem; color: var(--text-light); }

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 8px;
}
.photo-grid .photo-item { overflow: hidden; border-radius: 4px; }
.photo-grid .photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-grid .photo-item:hover img { transform: scale(1.1); }
.photo-grid .photo-item:first-child { grid-column: span 2; grid-row: span 2; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.feature-item { text-align: center; padding: 20px; }
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
}
.feature-icon img { width: 32px; height: 32px; }
.feature-item h4 { font-family: var(--font-sans); font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.feature-item p { font-size: 0.9rem; color: var(--text-light); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; padding: 60px 0; }
.stat-number { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); font-weight: 300; }
.stat-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.two-col-img { border-radius: var(--radius); overflow: hidden; }
.two-col-img img { width: 100%; height: 100%; object-fit: cover; }

/* Forms */
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}
.form-group label .required { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    transition: border-color var(--transition);
    color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--gold); }
.form-control::placeholder { color: #aaa; }

select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

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

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

.form-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; }
.form-success { color: var(--success); font-size: 0.8rem; margin-top: 4px; }

/* Progress Steps */
.progress-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
    padding: 0 24px;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}
.progress-step .step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all var(--transition);
    flex-shrink: 0;
}
.progress-step.active .step-num { background: var(--gold); border-color: var(--gold); color: var(--white); }
.progress-step.completed .step-num { background: var(--success); border-color: var(--success); color: var(--white); }
.progress-step.active { color: var(--dark); }
.progress-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin: 0 12px;
    flex-shrink: 0;
}
.progress-line.completed { background: var(--success); }

/* Step Content */
.step-content { display: none; animation: fadeIn 0.4s ease; }
.step-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Summary */
.summary-card {
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}
.summary-card h4 { font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: var(--gold-dark); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--text-light); }
.summary-row .value { font-weight: 500; }

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #C8E6C9; }
.alert-warning { background: #FFF8E1; color: #F57F17; border: 1px solid #FFE082; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }
.alert-info { background: var(--cream); color: var(--gold-dark); border: 1px solid var(--border); }

/* CTA Section */
.cta-section {
    background: var(--dark);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/images/elegant-golden-floral-background-with-hand-drawn-flowers-and-leaves-border-vector.jpg') center/cover;
    opacity: 0.08;
}
.cta-section h2, .cta-section p { position: relative; z-index: 2; color: var(--white); }
.cta-section .btn { position: relative; z-index: 2; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 32px; font-size: 1.05rem; }

/* Signature Pad */
.signature-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    background: var(--white);
    min-height: 200px;
    position: relative;
    cursor: crosshair;
}
.signature-area canvas { display: block; width: 100%; height: 200px; border-radius: var(--radius); }

/* Contract View */
.contract-view {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: var(--shadow);
    font-size: 0.95rem;
    line-height: 1.8;
}
.contract-view h1 { font-size: 1.8rem; text-align: center; margin-bottom: 32px; }
.contract-view h2 { font-size: 1.2rem; color: var(--gold-dark); margin: 24px 0 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.contract-view table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.contract-view table td { padding: 8px 12px; border-bottom: 1px solid var(--border); }
.contract-view table td:first-child { font-weight: 500; width: 40%; color: var(--text-light); }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer-logo { max-width: 180px; margin-bottom: 16px; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold-light); font-size: 1rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-social a:hover { color: var(--gold-light); }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold-light); }
.footer p { font-size: 0.9rem; margin-bottom: 6px; }
.footer p a { color: rgba(255,255,255,0.6); }
.footer p a:hover { color: var(--gold-light); }
.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}
.footer-bottom a { color: var(--gold-light); }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Loading Spinner */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,0.3); border-top-color: var(--white); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        transition: right var(--transition);
        align-items: flex-start;
        gap: 4px;
    }
    .nav-menu.open { right: 0; }
    .nav-menu a { padding: 12px 0; font-size: 1rem; }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        padding-left: 16px;
    }
    .nav-cta { margin-top: 16px; }
    .nav-cta a { display: block; text-align: center; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 32px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .photo-grid .photo-item:first-child { grid-column: span 2; }
    .progress-bar { flex-wrap: wrap; gap: 8px; }
    .progress-line { width: 24px; }
    .progress-step span:not(.step-num) { display: none; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .contract-view { padding: 24px; }
    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .photo-grid { grid-template-columns: 1fr; }
    .photo-grid .photo-item:first-child { grid-column: span 1; }
    .hero h1 { font-size: 2.5rem; }
}
