/*
Theme Name: Sediba
Theme URI: https://sedibaevents.co.za
Author: Marketing247
Description: Black and gold theme for Sediba Events. Pairs with the Sediba Bookings plugin for order requests, quotes and online payment.
Version: 1.2.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sediba
*/

:root {
	--bg: #0D0C0A;
	--surface: #14120E;
	--surface-2: #1A1813;
	--line: #2A251B;
	--line-2: #3A3222;
	--line-gold: #5A4C2E;
	--gold: #C9A24A;
	--gold-light: #E3C77A;
	--text: #F3EEE3;
	--muted: #B8B0A0;
	--ivory: #F6F1E7;
	--ink: #1A1712;
	--serif: 'Cormorant Garamond', Georgia, serif;
	--sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: var(--gold-light); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--gold); border: 1px solid var(--gold); color: var(--bg) !important; text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn--ghost { background: transparent; border-color: var(--line-gold); color: var(--text) !important; font-weight: 400; }
.btn--ghost:hover { background: var(--surface); }
.btn--outline { white-space: nowrap; min-height: 44px; padding: 0 18px; background: transparent; color: var(--gold) !important; font-weight: 400; letter-spacing: 0; font-size: 14px; }
.btn--outline:hover { background: #1E1A10; }
.btn--outline svg { width: 18px; height: 18px; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; letter-spacing: 0; white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; }
.wordmark__name { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: .18em; color: var(--gold); }
.wordmark__sub { font-size: 10px; letter-spacing: .55em; padding-left: .55em; color: var(--gold-light); margin-top: 4px; }
.custom-logo { max-height: 64px; width: auto; }
.site-nav .menu, .mobile-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-nav a, .mobile-nav a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font-size: 14px; letter-spacing: .04em; }
.site-nav a:hover, .site-nav .current-menu-item > a, .mobile-nav .current-menu-item > a { color: var(--gold); }
.site-nav .current-menu-item > a { box-shadow: inset 0 -1px 0 var(--gold); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; position: static; }
.menu-toggle summary { list-style: none; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; border: 1px solid var(--line-gold); border-radius: 999px; }
.menu-toggle summary::-webkit-details-marker { display: none; }
.menu-toggle summary span { display: block; width: 18px; height: 1.5px; background: var(--text); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
.mobile-nav .menu { flex-direction: column; }
.mobile-nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
@media (max-width: 420px) {
	.btn--outline, .btn--small { padding: 0 12px; }
	.btn--outline svg { display: none; }
	.wordmark__name { font-size: 26px; }
}
@media (max-width: 1080px) {
	.site-nav { display: none; }
	.menu-toggle { display: block; }
}

/* Type */
.eyebrow { margin: 0 0 14px; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 18px; line-height: 1.65; color: #C9C1B1; max-width: 560px; margin: 0 0 32px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap:not(.section) { padding-top: 88px; padding-bottom: 88px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; color: var(--text); }
.section-title--center { text-align: center; margin-bottom: 40px; }
.section-note { margin: 0; color: var(--muted); max-width: 440px; font-size: 15px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero__text { flex: 1 1 460px; min-width: 0; }
.hero__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 7vw, 68px); line-height: 1.02; }
.ornament { display: block; color: var(--gold); margin: 28px 0 24px; }
.hero__media { flex: 1 1 440px; min-width: 0; border: 1px solid var(--line-gold); border-radius: 4px; padding: 14px; height: 520px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }
.photo-placeholder { height: 100%; background: var(--surface-2); display: flex; align-items: flex-end; padding: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #A79E8C; border-radius: 2px; }
@media (max-width: 700px) { .hero__media { height: 320px; } .hero { padding-top: 40px; gap: 32px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--bg); color: inherit; text-decoration: none; transition: border-color .15s; }
.card:hover { border-color: var(--gold); color: inherit; }
.card--quote { background: transparent; }
.card__icon { color: var(--gold); }
.card__title { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--text); }
.card__text { margin: 0; color: var(--muted); font-size: 15px; flex-grow: 1; }
.card__cta { color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .04em; padding-top: 14px; border-top: 1px solid var(--line); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; text-align: center; }
.steps li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.steps__n { font-family: var(--serif); font-size: 44px; color: var(--gold); line-height: 1; }
.steps h3 { margin: 0; font-size: 18px; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; max-width: 300px; }

/* CTA */
.cta { border: 1px solid var(--line-gold); border-radius: 4px; padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta__title { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 36px; }
.cta p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .cta { padding: 28px; } }

/* Plain pages (and WooCommerce pay page) */
.page-plain { padding-top: 56px; padding-bottom: 88px; }
.page-title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6vw, 52px); margin: 0 0 24px; }
.page-card { background: var(--ivory); color: var(--ink); border-radius: 4px; padding: clamp(22px, 4vw, 40px); margin-bottom: 24px; }
.page-card a { color: #7A5D17; }
.page-card h1, .page-card h2, .page-card h3 { font-family: var(--serif); color: var(--ink); }
.home-content { color: #C9C1B1; }

/* WooCommerce bits inside the ivory card */
.page-card .woocommerce table.shop_table { border-color: #DDD3BF; }
.page-card .woocommerce button.button, .page-card .woocommerce a.button, .page-card .woocommerce #place_order { background: var(--ink) !important; color: var(--text) !important; border-radius: 999px; padding: 14px 28px; font-weight: 600; }
.page-card .woocommerce #payment { background: #EFE8DA; border-radius: 4px; }
.page-card input, .page-card select, .page-card textarea { font: inherit; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-top: 0; }
.site-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand p { margin: 16px 0 0; max-width: 280px; }
.site-footer__brand .wordmark { align-items: flex-start; }
.site-footer__title { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.site-footer li a:hover { color: var(--gold); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); }
.site-footer__base .menu { display: flex; gap: 16px; }

/* Legal details block */
.sdb-legal { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 6px 16px; margin: 0 0 16px; }
.sdb-legal dt { font-weight: 600; }
.sdb-legal dd { margin: 0; }

/* Gallery */
.gallery__content { color: #C9C1B1; margin-bottom: 40px; }
.gallery__content .wp-block-gallery img, .gallery__content img { border-radius: 2px; }
.gallery__content iframe, .gallery__content blockquote.tiktok-embed { max-width: 100%; }
.gallery__tip { background: var(--ivory); color: var(--ink); padding: 24px; border-radius: 4px; margin-bottom: 40px; }
.gallery__tip ul { margin: 10px 0 16px; padding-left: 20px; }
.gallery__tip li { margin-bottom: 6px; }
.follow { border-top: 1px solid var(--line); padding-top: 40px; }
.follow .section-note { margin: 8px 0 24px; }
.follow__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.follow__card { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--text); text-decoration: none; }
.follow__card:hover { border-color: var(--gold); color: var(--text); }
.follow__icon { color: var(--gold); display: inline-flex; }
.follow__handle { color: var(--muted); font-size: 14px; }

/* Testimonials */
.reviews { margin-top: 32px; }
.review { margin: 0; padding: 28px; border: 1px solid var(--line-2); border-radius: 4px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--text); }
.review blockquote p { margin: 0; }
.review blockquote p::before { content: "“"; color: var(--gold); }
.review blockquote p::after { content: "”"; color: var(--gold); }
.review figcaption { color: var(--muted); font-size: 14px; }
.review figcaption strong { color: var(--gold-light); font-weight: 500; }
.reviews__more { margin: 24px 0 0; }

/* Footer extras */
.site-footer__title--follow { margin-top: 24px; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0 16px; }
.site-footer__legal a { color: var(--muted); }
