/* ── Shared Form Page Styles ─────────────────────────────────────────────── */

/* Page image header */
.page-image-header {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-image-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.page-image-header h1 {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 56px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* Two-column contact layout */
.contact-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.contact-sidebar {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.contact-sidebar h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item h4 {
    font-size: 18px;
    color: #d4a574;
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: #666;
    margin: 0;
    font-size: 14px;
    text-decoration: none;
}

.contact-item a:hover { color: #d4a574; }

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.contact-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s;
}

.contact-social a:hover {
    background: #d4a574;
    color: #fff;
}

/* Form container */
.form-container-large {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container-large h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

/* Single-column form */
.single-column-form .form-group { margin-bottom: 25px; }

.single-column-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.single-column-form .form-group input,
.single-column-form .form-group select,
.single-column-form .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    box-sizing: border-box;
}

.single-column-form .form-group input:focus,
.single-column-form .form-group select:focus,
.single-column-form .form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.single-column-form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 22px; height: 22px;
    cursor: pointer;
    accent-color: #d4a574;
}

.form-checkbox label {
    margin: 0;
    cursor: pointer;
    color: #555;
    font-weight: 500;
}

.alert-success-page {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 15px;
}

/* Kids / designer-signup info sidebar */
.contact-info-sidebar {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.contact-info-sidebar h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.contact-info-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item h4 {
    font-size: 18px;
    color: #d4a574;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-item p,
.contact-info-item a {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    word-break: break-word;
}

.contact-info-item a:hover { color: #d4a574; }

.form-contact-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.form-container-right {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container-right h3 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

/* Pricing box */
.pricing-box {
    background: linear-gradient(135deg, #d4a574 0%, #c39563 100%);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-size: 20px;
    font-weight: 700;
}

/* BrideGroom signup bg */
.bride-form-group { margin-bottom: 25px; }

.bride-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.bride-form-group input,
.bride-form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: inherit;
}

.bride-form-group input:focus,
.bride-form-group select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

@media (max-width: 1024px) {
    .contact-layout,
    .form-contact-grid { grid-template-columns: 1fr; }
    .contact-sidebar,
    .contact-info-sidebar { position: relative; top: 0; }
}

@media (max-width: 768px) {
    .page-image-header { height: 300px; }
    .page-image-header h1 { font-size: 36px; }
    .form-container-large,
    .form-container-right { padding: 30px 20px; }
}

/* ── Get Involved Page — layout aliases ─────────────────────────────────────
   The Get Involved page uses its own class names that mirror the contact-layout
   pattern but with a different column structure and sticky sidebar positioning. */

.get-involved-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.info-sidebar {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

.info-sidebar h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    font-weight: 700;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item h4 {
    font-size: 18px;
    color: #d4a574;
    margin-bottom: 8px;
}

.info-item p,
.info-item a {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    word-break: break-word;
}

.info-item a:hover { color: #d4a574; }

@media (max-width: 1024px) {
    .get-involved-layout { grid-template-columns: 1fr; }
    .info-sidebar { position: relative; top: 0; }
}

/* ── Get Involved — section wrapper & intro ─────────────────────────────── */

.get-involved-body {
    padding: 80px 20px;
    background: #f9f9f9;
}

.get-involved-intro {
    text-align: center;
    margin-bottom: 40px;
}

.get-involved-intro p {
    font-size: 20px;
    color: #666;
}

/* ── Full-width button utility ──────────────────────────────────────────── */

.btn-full {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    justify-content: center;
}

/* ── Form page background image wrapper ─────────────────────────────────────
   Used by Kids Fashion, Contact, and Get Involved pages.
   The ::before overlay keeps the form cards legible.                        */

.form-bg-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* default: safe on iOS Safari / iPadOS */
    padding: 80px 20px;
}

@supports not (-webkit-touch-callout: none) {
    .form-bg-section {
        background-attachment: fixed;
    }
}

.form-bg-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(249, 245, 241, 0.82);
    z-index: 0;
}

.form-bg-section > * {
    position: relative;
    z-index: 1;
}

.form-bg-section .container {
    position: relative;
    z-index: 1;
}

/* Sidebar and form cards get a glass-like look over the background */
.form-bg-section .contact-sidebar,
.form-bg-section .contact-info-sidebar,
.form-bg-section .form-container-large,
.form-bg-section .form-container-right,
.form-bg-section .info-sidebar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
}

@media (max-width: 768px) {
    .form-bg-section { background-attachment: scroll; }
}

/* ============================================================
   Designer Sign-Up Page
   ============================================================ */

/* Hero */
.ds-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: url('https://static.wixstatic.com/media/d9e883_e8553d5756c84714834dbe58e3e9a63a~mv2.jpg') center/cover no-repeat;
}
.ds-hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
}
.ds-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}
.ds-hero-content h1 {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.ds-hero-content p {
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.7;
    opacity: 0.92;
}

/* Competition Details card */
.ds-details-section {
    padding: 60px 20px;
    background: #fff;
}
.ds-details-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 48px 52px;
}
.ds-details-heading {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}
.ds-detail-item {
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}
.ds-detail-item:last-child { border-bottom: none; }
.ds-detail-label {
    font-size: 17px;
    font-weight: 700;
    color: #d4a574;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ds-detail-item p {
    font-size: 17px;
    color: #374151;
    line-height: 1.7;
    margin: 0;
}
.ds-email-link {
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
}
.ds-email-link:hover { text-decoration: underline; }

/* Form + Sidebar section */
.ds-form-section {
    padding: 60px 20px 80px;
    background-image: url('https://static.wixstatic.com/media/d9e883_5f76850566444ae3bd957afde67ce637~mv2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
}
.ds-form-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245,240,235,0.88);
    pointer-events: none;
}
.ds-form-section .container {
    position: relative;
    z-index: 1;
}
.ds-form-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}

/* Sidebar */
.ds-sidebar {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    padding: 36px 28px;
    position: -webkit-sticky;
    position: sticky;
    top: 90px;
}
.ds-sidebar h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}
.ds-sidebar-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.ds-sidebar-icon {
    width: 36px;
    height: 36px;
    background: #fef3e2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d4a574;
    font-size: 14px;
}
.ds-sidebar-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}
.ds-sidebar-value {
    display: block;
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}
.ds-sidebar-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    margin: 24px 0;
}
.ds-sidebar-subheading {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ds-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ds-sidebar-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    padding: 6px 0;
}
.ds-sidebar-list li i {
    color: #d4a574;
    font-size: 11px;
    flex-shrink: 0;
}

/* Form container */
.ds-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
    padding: 44px 48px;
}
.ds-form-container h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
}
.ds-form .form-group {
    margin-bottom: 20px;
}
.ds-form .form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #374151;
    margin-bottom: 8px;
}
.ds-form .form-group input,
.ds-form .form-group select,
.ds-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    transition: border-color .2s;
    box-sizing: border-box;
}
.ds-form .form-group input:focus,
.ds-form .form-group select:focus,
.ds-form .form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212,165,116,0.12);
}
.ds-form .form-group textarea { resize: vertical; }

/* iOS Safari auto-zooms the page when a focused input's font-size is under
   16px. Keep the compact 14px look on desktop, but bump to 16px on
   phone/tablet widths where this actually happens. */
@media (max-width: 1024px) {
	.ds-form .form-group input,
	.ds-form .form-group select,
	.ds-form .form-group textarea {
		font-size: 16px;
	}
}

.ds-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ds-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 900px) {
    .ds-form-layout { grid-template-columns: 1fr; }
    .ds-sidebar { position: relative; top: 0; }
    .ds-form-row { grid-template-columns: 1fr; }
    .ds-form-container { padding: 28px 20px; }
    .ds-details-card { padding: 28px 20px; }
}
