/*
Theme Name: Anga Zanzibar Event
Theme URI: https://example.com/
Author: Izabela / Grafela
Description: Jednostronicowy motyw landing page dla wydarzeń inwestycyjnych ANGA Zanzibar.
Version: 1.0
Text Domain: anga-zanzibar-event
*/

:root {
    /* delikatniej, bardziej kremowo */
    --bg-main: #f4eee5;
    --bg-light: #fffaf1;
    --green-dark: #123326;
    --text-main: #1d2628;
    --text-muted: #6f7170;
    --border-soft: #e4dfd5;
    --radius: 18px;
    --shadow-soft: 0 18px 40px rgba(0,0,0,.10);
}

* {box-sizing:border-box;margin:0;padding:0;}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}
img {max-width:100%;display:block;}
a {text-decoration:none;color:inherit;}

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

.tagline {
    font-size:12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom:10px;
}

h1,h2,h3,h4 {
    font-weight:400;
    letter-spacing:.03em;
}
h1 {font-size:36px;line-height:1.15;margin-bottom:18px;}
h2 {font-size:26px;margin-bottom:16px;}
h3 {font-size:20px;margin-bottom:10px;}

.lead {
    font-size:16px;
    color:var(--text-muted);
    margin-bottom:18px;
}

.section {
    margin-top:60px;
}

.section-header {
    text-align:center;
    margin-bottom:30px;
}
.section-header .line {
    height:1.5px;
    background:var(--green-dark);
    margin:0 auto 12px;
}
.section-header p {
    color:var(--text-muted);
    font-size:14px;
}

/* HERO */
.hero {
    display:grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
    gap:36px;
    align-items:center;
}
.hero-text {padding-right:10px;}
.hero-bullets {
    margin:18px 0;
    padding-left:18px;
    color:var(--text-muted);
    font-size:14px;
}
.hero-bullets li {margin-bottom:6px;}
.hero-ctas {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:10px;
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 22px;
    border-radius:10px;
    font-size:14px;
    border:1px solid transparent;
    cursor:pointer;
    transition:.3s ease;
    white-space:nowrap;
}
.btn-primary {
    background:var(--green-dark);
    border-color:var(--green-dark);
    color:white;
    box-shadow:0 14px 32px rgba(0,0,0,.18);
}
.btn-primary:hover {
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(0,0,0,.24);
    background-color: transparent;
    color:#123326;
}
.btn-ghost {
    background:transparent;
    border-color:var(--green-dark);
    color:var(--green-dark);
}
.btn-ghost:hover {
    background:var(--green-dark);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 18px 40px rgba(0,0,0,.24);
}

.hero-media {
    position:relative;
    border-radius:40px 0px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
}
.hero-media img {
    height:100%;
    width:100%;
    object-fit:cover;
}
.hero-overlay-card {
    position:absolute;
    right:0px;
    bottom:0px;
    padding:16px 18px;
    background-color:#DDE8D6;
    color:#123326;
    border-radius:40px 0px;
    max-width:360px;
    backdrop-filter: blur(10px);
}
.hero-overlay-card .value {
    font-size:26px;
    font-weight:600;
    margin-bottom:4px;
}
.hero-overlay-card small {
    font-size:11px;
    opacity:.75;
}

/* cards & grids */
.grid-2 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
.grid-3 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.card {
    background:var(--bg-light);
    border-radius:40px 0px;
    padding:20px 20px 18px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    border:1px solid #f0ebe1;
}
.card p {font-size:14px;color:var(--text-muted);}

/* Wydarzenia */
.event-card {
    position:relative;
    overflow:hidden;
    border-radius:40px 0px;
    cursor:pointer;
    color:#fff;
}
.event-card img {
    width:100%;height:260px;object-fit:cover;
    filter:brightness(0.7);
    transition:.35s ease;
}
.event-card:hover img {transform:scale(1.05);filter:brightness(0.85);}
.event-content {
    position:absolute;
    inset:0;
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    background:linear-gradient(to top,rgba(0,0,0,.55),transparent 55%);
}
.event-date {
    font-size:22px;
    font-weight:600;
    margin-bottom:4px;
}
.event-location {
    font-size:14px;
    margin-bottom:6px;
}
.event-time {
    font-size:13px;
    opacity:.9;
}
.event-tag {
    font-size:11px;
    letter-spacing:.16em;
    text-transform:uppercase;
    margin-bottom:auto;
    opacity:.9;
}

/* Speakers */
.speaker {
    display:flex;
    gap:18px;
    align-items:flex-start;
}
.speaker-avatar {
    width:72px;height:72px;
    border-radius:50%;
    background:#d8c9a6;
    flex-shrink:0;
}
.speaker-role {
    font-size:13px;
    color:var(--text-muted);
    margin-bottom:6px;
}

/* numbers section */
.numbers {
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:14px;
}
.numbers-item {
    flex:1 1 160px;
    background:rgba(18,51,38,.06);
    border-radius:14px;
    padding:14px 16px;
}
.numbers-item .big {
    font-size:24px;
    font-weight:600;
    color:var(--green-dark);
    margin-bottom:2px;
}
.numbers-item span {
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:var(--text-muted);
}

/* important box */
.important {
    border-left:4px solid var(--green-dark);
    background:#fff7ea;
    padding:18px 20px;
    border-radius:14px;
    font-size:14px;
    color:var(--text-main);
}

/* image separator */
.separator {
    margin-top:60px;
    height:40px;
    width:80px;
    display: flex;
    align-items: center;   
}

/* Section headers with icons */
.section-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.section-header-row--events {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}
.section-header-row,
.section-header-row--events {
    border-top: 1.5px solid var(--green-dark);
    border-bottom: 1.5px solid var(--green-dark);
    border-left: 0;
    border-right: 0;
    padding: 18px 0;
}
.section-header-row--events .section-header-separator img {
    display: block;
    height: 32px;
    width: auto;
}
.section-header-row--events h2 {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* CF7 EVENT FORM ===================================================== */

.anga-form {
    padding: 24px 0 0;
}

.anga-form p {
    margin: 0 0 0;
}

.anga-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
    margin-bottom: 16px;
}

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

.anga-form-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anga-field {
    width: 100%;
}

/* Inputs / select / textarea */
.anga-form input[type="text"],
.anga-form input[type="email"],
.anga-form input[type="tel"],
.anga-form textarea,
.anga-form select {
    width: 100%;
    height: 48px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    background: transparent;
    font: inherit;
    color: var(--text-main);
    box-sizing: border-box;
}

.anga-form textarea {
    min-height: 140px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.4;
    resize: vertical;
}

.anga-form ::placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

/* Focus states */
.anga-form input[type="text"]:focus,
.anga-form input[type="email"]:focus,
.anga-form input[type="tel"]:focus,
.anga-form textarea:focus,
.anga-form select:focus {
    border-color: var(--green-dark);
    outline: none;
    box-shadow: 0 0 0 1px rgba(18, 51, 38, 0.15);
}

/* Labels */
.anga-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

/* Radio groups */
.anga-form-event .wpcf7-form-control.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

/* single radio item */
.anga-form-event .wpcf7-list-item {
    margin: 0;
}

/* hide native */
.anga-form-event .wpcf7-list-item input[type="radio"] {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

/* label as pill */
.anga-form-event .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s ease;
}

/* square indicator */
.anga-form-event .wpcf7-list-item-label::before {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 2px solid var(--green-dark);
    box-sizing: border-box;
}

/* checked state */
.anga-form-event .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
    border-color: var(--green-dark);
    background-color: #DDE8D6;
    color: var(--green-dark);
}
.anga-form-event .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label::before {
    background-color: var(--green-dark);
}

/* Submit */
.anga-submit-row {
    margin-top: 18px;
}

.anga-form input[type="submit"] {
    width: 100%;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 16px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--green-dark);
    background: var(--green-dark);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.anga-form input[type="submit"]:hover {
    transform: translateY(-2px);
    background: transparent;
    color: var(--green-dark);
}

/* CF7 errors */
.anga-form span.wpcf7-not-valid-tip {
    font-size: 11px;
    color: #b74242;
    margin-top: 2px;
}

div.wpcf7-response-output {
    margin: 16px 0 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

/* responsive */
@media (max-width:900px){
    .hero {grid-template-columns:1fr;gap:26px;}
    .grid-2, .grid-3 {grid-template-columns:1fr;}
    .separator img {max-height:260px;}
}
@media (max-width: 768px) {
    .anga-form-row {
        grid-template-columns: 1fr;
    }
    .anga-form-row-3 {
        grid-template-columns: 1fr;
    }
    .section-header-row--events {
        flex-direction: column;
    }
}
