/* ==========================================================
   New Mind New Woman Girls Academy — Landing Page styles
   Palette taken from the event flyer
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Alex+Brush&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --blush:        #F6DCD2;
    --blush-light:  #FCEEE7;
    --cream:        #FFF9E6;
    --burgundy:     #8C1D40;
    --burgundy-dark:#6C1531;
    --gold:         #B9793A;
    --ink:          #201C1A;
    --white:        #FFFFFF;

    --font-display: 'Playfair Display', serif;
    --font-script:  'Alex Brush', cursive;
    --font-body:    'Poppins', sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--blush-light);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- Hero ---------------- */

.hero {
    background: var(--blush);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}

.hero-text {
    padding: 12px 0 48px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand-name {
    line-height: 1.15;
}

.brand-name .line1 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 15px;
    color: var(--ink);
}

.brand-name .line2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 15px;
    color: var(--gold);
}

.brand-name .line3 {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--ink);
    opacity: 0.75;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--burgundy);
    font-weight: 600;
    letter-spacing: 0.14em;
    font-size: 13px;
    text-transform: uppercase;
    margin: 8px 0 10px;
}
.eyebrow::before,
.eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--burgundy);
    opacity: 0.5;
}

h1.headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.12;
    margin: 0 0 4px;
    color: var(--ink);
}

.script-title {
    font-family: var(--font-script);
    color: var(--gold);
    font-size: 76px;
    line-height: 1;
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.script-title .heart {
    color: var(--burgundy);
    font-size: 34px;
}

.underline {
    width: 220px;
    height: 3px;
    background: var(--burgundy);
    border-radius: 3px;
    margin: 10px 0 26px;
}

.date-row {
    display: flex;
    align-items: baseline;
    gap: 18px;
    font-family: var(--font-display);
    margin-bottom: 22px;
}
.date-row .weekday {
    letter-spacing: 0.18em;
    font-size: 15px;
    font-weight: 600;
}
.date-row .day {
    color: var(--burgundy);
    font-size: 30px;
    font-weight: 700;
}
.date-row .month {
    font-size: 30px;
    font-weight: 700;
}
.date-row .year {
    color: var(--burgundy);
    font-size: 30px;
    font-weight: 700;
}
.date-row .sep {
    opacity: 0.35;
}

.intro-text {
    max-width: 420px;
    font-size: 15px;
    margin-bottom: 26px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}
.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.feature-icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.feature-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.feature-desc {
    font-size: 13.5px;
    opacity: 0.8;
    margin: 2px 0 0;
}

.hero-photo-wrap {
    position: relative;
}
.hero-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 140px;
    display: block;
}

/* ---------------- Info strip (jars photo + info card) ---------------- */

.jars-section {
    position: relative;
}
.jars-section img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 460px;
}

.provided-badge {
    position: absolute;
    right: 6%;
    bottom: 14%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--blush-light);
    border: 3px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.provided-badge p {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--burgundy);
    font-size: 15px;
    line-height: 1.35;
    margin: 0;
}

/* ---------------- Practical info bar ---------------- */

.info-bar {
    background: var(--burgundy);
    color: var(--white);
}
.info-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 26px 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-item .icon {
    font-size: 22px;
    flex: none;
}
.info-item .label {
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.info-item .value {
    font-size: 13px;
    opacity: 0.92;
}

.info-bar-bottom {
    background: var(--burgundy-dark);
    text-align: center;
    padding: 12px 24px;
    font-size: 13.5px;
    letter-spacing: 0.03em;
    border-top: 2px solid var(--gold);
}
.info-bar-bottom strong { color: var(--gold); }

/* ---------------- Flyer image ---------------- */

.flyer-section {
    background: var(--blush);
    padding: 30px 20px;
    text-align: center;
}

.flyer-image {
    display: block;
    max-width: 700px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(140,29,64,0.15);
    display: block;
}

/* ---------------- Event details ---------------- */

.event-details {
    background: var(--blush-light);
    padding: 40px 28px 10px;
    text-align: center;
}

.event-details-inner {
    max-width: 700px;
    margin: 0 auto;
}

.event-details-title {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--burgundy);
    margin: 0 0 10px;
}

.event-details-datetime {
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    margin: 0 0 24px;
}

.event-details-intro {
    max-width: 640px;
    margin: 0 auto 20px;
    font-size: 15px;
    line-height: 1.7;
}

.event-details-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 24px;
    max-width: 480px;
    text-align: left;
}
.event-details-list li {
    font-size: 15px;
    margin-bottom: 8px;
}

.event-details-contact {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 24px;
}

.event-details-venue {
    font-size: 15px;
    line-height: 1.7;
    color: var(--burgundy-dark);
    margin: 0 0 10px;
}

.daughter-block {
    border: 1px solid #F1DED5;
    border-radius: 12px;
    padding: 16px 16px 4px;
    margin-bottom: 14px;
    background: #FFFCFA;
}

.btn-add-daughter {
    display: block;
    width: 100%;
    background: none;
    border: 1.5px dashed var(--gold);
    color: var(--burgundy-dark);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 8px;
}
.btn-add-daughter:hover { background: var(--blush-light); }

.btn-remove-daughter {
    background: none;
    border: none;
    color: #A32323;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 0 12px;
    text-decoration: underline;
}

.price-recap {
    background: var(--blush-light);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 20px 0;
}
.price-recap-line {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    opacity: 0.8;
    margin-bottom: 4px;
}
.price-recap-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 16px;
    color: var(--burgundy);
    border-top: 1px solid rgba(140,29,64,0.15);
    padding-top: 8px;
    margin-top: 6px;
}

/* ---------------- Registration form ---------------- */

.register-section {
    padding: 70px 0 90px;
    background: var(--blush-light);
}

.register-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}
.register-heading h2 {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--ink);
    margin: 0 0 10px;
}
.register-heading p {
    opacity: 0.8;
    font-size: 15px;
}

.form-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid rgba(140,29,64,0.15);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(140,29,64,0.08);
}

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

.field {
    margin-bottom: 18px;
}
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--burgundy-dark);
}
.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #E8CFC2;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 14.5px;
    background: var(--blush-light);
    color: var(--ink);
    transition: border-color .15s ease;
}
.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
}

.price-note {
    text-align: center;
    font-size: 14px;
    margin: 6px 0 20px;
    color: var(--burgundy-dark);
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background .15s ease, transform .1s ease;
}
.btn-submit:hover { background: var(--burgundy-dark); }
.btn-submit:active { transform: translateY(1px); }

.form-note {
    text-align: center;
    font-size: 12.5px;
    opacity: 0.65;
    margin-top: 14px;
}

.alert {
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
}
.alert-error {
    background: #FBE2E7;
    color: #7A1030;
    border: 1px solid #F3B7C4;
}

/* ---------------- Footer ---------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 26px 24px;
    font-size: 12.5px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo-wrap { order: -1; }
    .hero-photo-wrap img { border-radius: 20px; max-height: 420px; }
    h1.headline { font-size: 32px; }
    .script-title { font-size: 56px; }
    .info-bar-inner { grid-template-columns: 1fr 1fr; }
    .provided-badge { width: 170px; height: 170px; right: 4%; }
}

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .info-bar-inner { grid-template-columns: 1fr; }
    .form-card { padding: 26px; }
    .provided-badge { display: none; }
    .event-details { padding: 32px 24px 8px; }
    .event-details-title { font-size: 22px; }
}

/* Visible keyboard focus for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
