/* TurisOne Sites - Microsite Public CSS */
:root {
    --bg-color: #ffffff;
    --btn-color: #9900cc;
    --btn-text-color: #ffffff;
    --text-color: #111111;
    --font-family: 'Jost', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    padding: 0;
}

.microsite-wrapper {
    width: 100%;
    max-width: 480px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* Templates Layouts */
/* Layout 1: Centered Profile & Bio */
.layout-template-1 {
    text-align: center;
}

/* Layout 2: Left-aligned profile, full-width links */
.layout-template-2 {
    align-items: flex-start;
}
.layout-template-2 .profile-header {
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/* Layout 3: Card box layout */
.layout-template-3 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 32px 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

/* Layouts 4, 5, 6 are variants handled by layout classes */

/* Profile Component */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.profile-logo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--btn-color);
    margin-bottom: 12px;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.profile-bio {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.5;
    word-break: break-word;
}

/* Links Component */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.microsite-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px; /* Touch target minimum of 48px */
    padding: 12px 24px;
    background-color: var(--btn-color);
    color: var(--btn-text-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, opacity 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.microsite-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.microsite-btn i {
    font-size: 16px;
}

/* Lead Form Component */
.lead-form-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.lead-form-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    text-align: center;
}

.lead-form-group {
    margin-bottom: 12px;
}

.lead-form-group input,
.lead-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: #ffffff;
    font-family: var(--font-family);
    font-size: 13px;
    color: var(--text-color);
    outline: none;
}

.lead-form-group textarea {
    resize: none;
    height: 70px;
}

.lead-form-submit {
    width: 100%;
    min-height: 48px;
    background-color: var(--btn-color);
    color: var(--btn-text-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.lead-form-submit:hover {
    opacity: 0.9;
}

.lead-form-success {
    background: #e6f7f4;
    color: #2ec4b6;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
}

/* Location/Cadastur Component */
.location-container {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 16px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* Mandatory Branding Footer */
#turisone-footer {
    width: 100%;
    text-align: center;
    padding: 24px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin-top: auto;
    user-select: none;
}

#turisone-footer a {
    color: #666;
    text-decoration: underline;
    font-weight: 700;
}
