/* ============================================================
   Bali Wedding Destinations — Shared Stylesheet
   ============================================================ */

/* Google Fonts are loaded per-page via <link> */

:root {
    --bg-color: #fdfbfb;
    --text-primary: #222222;
    --text-secondary: #717171;
    --accent-color: #cc7b6a;
    --aesthetic-pink: #f5eae8;
    --aesthetic-terracotta: #cc7b6a;
    --aesthetic-sage: #9caea4;
    --border-color: #e8e0db;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-primary);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Utilities ─────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--aesthetic-terracotta);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    font-weight: 300;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--white);
}
.btn-primary:hover { background-color: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-terracotta {
    background-color: var(--aesthetic-terracotta);
    color: var(--white);
}
.btn-terracotta:hover { background-color: #b56a59; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--text-primary);
    color: var(--text-primary);
}
.btn-outline:hover { background-color: var(--text-primary); color: var(--white); }

.btn-outline-small {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    transition: var(--transition);
}
.btn-outline-small:hover { border-color: var(--text-primary); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(253, 251, 251, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    height: 72px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-bali {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--aesthetic-terracotta);
    line-height: 1;
}

.logo-divider {
    width: 1px;
    height: 32px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-top {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1;
}

.logo-bottom {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 20px;
    transition: var(--transition);
    color: var(--text-primary);
}
.nav-item:hover { background-color: var(--aesthetic-pink); }
.nav-item.active { color: var(--aesthetic-terracotta); }

/* ── Hero (Homepage) ─────────────────────────────────────── */
.hero {
    margin-top: 72px;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 72px);
}

.hero-image {
    width: 100%;
    height: 78vh;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    background-color: var(--aesthetic-pink);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-content { padding-left: 10px; }

.subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--aesthetic-terracotta);
    font-weight: 600;
    display: block;
    margin-bottom: 1.25rem;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 380px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ── Live Widget ─────────────────────────────────────────── */
.live-widget-container {
    display: flex;
    justify-content: center;
    padding: 32px 40px 0;
}

.live-widget {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 36px;
    display: flex;
    align-items: center;
    gap: 36px;
    box-shadow: var(--shadow-md);
}

.widget-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.widget-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.widget-label svg { color: var(--aesthetic-terracotta); flex-shrink: 0; }

.widget-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--aesthetic-terracotta);
    font-weight: 600;
    line-height: 1;
}

.widget-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

/* ── Section: Region Cards (Homepage) ───────────────────── */
.venues-section { padding-top: 60px; }

.section-header {
    margin-bottom: 2.5rem;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.section-header p { color: var(--text-secondary); font-size: 1rem; }

.venue-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.venue-card { cursor: pointer; }

.venue-image-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 12px;
    background-color: var(--aesthetic-pink);
}

.venue-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.venue-card:hover .venue-img { transform: scale(1.05); }

.venue-info h3 { font-size: 1.2rem; margin-bottom: 4px; }
.venue-info .description { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 6px; }
.venue-info .price { font-size: 0.875rem; font-weight: 600; color: var(--aesthetic-terracotta); }

/* ── Section: Guide Hub (Homepage) ──────────────────────── */
.guide-section { background-color: var(--aesthetic-pink); border-radius: var(--radius-lg); margin: 0 40px 80px; max-width: unset; }

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.guide-content h2 { font-size: 3rem; margin-bottom: 1rem; }
.guide-content > p { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }

.guide-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 2.5rem; }
.guide-list li { display: flex; align-items: flex-start; gap: 16px; }

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--aesthetic-terracotta);
    font-weight: 600;
    line-height: 1;
    min-width: 36px;
}

.guide-list h4 { font-size: 1.1rem; margin-bottom: 2px; }
.guide-list h4 a:hover { color: var(--aesthetic-terracotta); }
.guide-list p { font-size: 0.875rem; color: var(--text-secondary); }

.guide-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ── Section: B2B Partnership ────────────────────────────── */
.b2b-section {
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 40px;
    max-width: 100%;
    margin: 0;
    background-color: var(--white);
}

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

.b2b-container h2 { font-size: 3rem; margin-bottom: 1rem; }
.b2b-container p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.7; }

/* ── Footer ─────────────────────────────────────────────── */
.minimal-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 40px;
    background-color: var(--white);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links { display: flex; gap: 20px; margin-top: 4px; }
.footer-links a:hover { color: var(--text-primary); }

/* ── Page Hero (Inner Pages) ────────────────────────────── */
.page-hero {
    margin-top: 72px;
    background-color: var(--aesthetic-pink);
    padding: 80px 40px;
    text-align: center;
}

.page-hero .section-label { justify-content: center; display: block; }

.page-hero h1 {
    font-size: 4.5rem;
    margin: 0 auto 1rem;
    max-width: 800px;
}

.page-hero .lead {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.7;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--aesthetic-terracotta); }
.breadcrumb span { color: var(--border-color); }

/* ── Article / Content Layout ───────────────────────────── */
.content-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.article-body h2 { font-size: 2.4rem; margin: 2.5rem 0 1rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.6rem; margin: 2rem 0 0.75rem; }
.article-body p { color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.8; }
.article-body ul { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.article-body ul li { color: var(--text-secondary); margin-bottom: 0.5rem; line-height: 1.7; }

.article-image {
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 2rem 0;
}
.article-image img { width: 100%; height: 340px; object-fit: cover; }

/* Cost Table */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.cost-table th {
    background-color: var(--aesthetic-pink);
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}
.cost-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}
.cost-table tr:last-child td { border-bottom: none; font-weight: 600; color: var(--text-primary); }
.cost-table tr:hover td { background-color: var(--bg-color); }

/* Package Cards */
.packages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 1.5rem 0;
}

.package-card {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}
.package-card:hover { border-color: var(--aesthetic-terracotta); box-shadow: var(--shadow-md); }
.package-card.featured { border-color: var(--aesthetic-terracotta); background-color: #fdf7f5; }

.package-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background-color: var(--aesthetic-terracotta);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.package-card h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.package-card .price-range { font-size: 1.1rem; color: var(--aesthetic-terracotta); font-weight: 600; margin-bottom: 1rem; }
.package-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.7; }
.package-card ul { list-style: none; margin: 0 0 1.5rem; }
.package-card ul li { font-size: 0.875rem; color: var(--text-secondary); padding: 5px 0; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; gap: 8px; }
.package-card ul li::before { content: '✓'; color: var(--aesthetic-terracotta); font-weight: 700; }

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar { position: sticky; top: 96px; }

.sidebar-card {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
}

.sidebar-card h4 { font-size: 1.3rem; margin-bottom: 12px; }
.sidebar-card p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }

.sidebar-card.highlight {
    background-color: var(--aesthetic-pink);
    border-color: transparent;
    text-align: center;
}

.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
    font-size: 0.875rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-links a:hover { border-color: var(--aesthetic-terracotta); color: var(--aesthetic-terracotta); }
.sidebar-links a::after { content: '→'; }

/* ── Related Section (bottom of inner pages) ─────────────── */
.related-section {
    background-color: var(--bg-color);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px;
}

.related-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.related-grid h2 { font-size: 2.5rem; margin-bottom: 2rem; }

.related-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    background-color: var(--white);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card img { width: 100%; height: 200px; object-fit: cover; background-color: var(--aesthetic-pink); }
.related-card-body { padding: 20px; }
.related-card-body .tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--aesthetic-terracotta); font-weight: 600; margin-bottom: 6px; }
.related-card-body h3 { font-size: 1.3rem; margin-bottom: 6px; }
.related-card-body p { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 24px; }
    .hero-image { height: 50vh; }
    .hero-content { padding-left: 0; }
    .hero-content h1 { font-size: 3.5rem; }
    .venue-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-container { grid-template-columns: 1fr; gap: 40px; padding: 60px 40px; }
    .guide-section { margin: 0 0 60px; border-radius: 0; }
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .related-cards { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid { columns: 2; }
    .live-widget { gap: 20px; padding: 16px 24px; }
}

@media (max-width: 768px) {
    .nav-links .nav-item:not(.btn-outline-small) { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    .page-hero h1 { font-size: 2.8rem; }
    .section { padding: 40px 20px; }
    .section-title { font-size: 2rem; }
    .venue-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .related-cards { grid-template-columns: 1fr; }
    .masonry-grid { columns: 2; }
    .live-widget { flex-wrap: wrap; gap: 16px; justify-content: center; padding: 16px; }
    .widget-divider { display: none; }
    .live-widget-container { padding: 20px 20px 0; }
    .footer-content { flex-direction: column; text-align: center; }
    .guide-image { display: none; }
    .b2b-container h2 { font-size: 2.2rem; }
    .cost-table { font-size: 0.8rem; }
}
