/* ================================================================
   PHASE 2 UI POLISH — public website component styles
   Extends style.css (no override of brand tokens beyond polish).
   ================================================================ */

/* ===== OWNER SECTION ===== */
#ownerSection {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 0;
}

.owner-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 4px solid var(--gold, #c9a24b);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.owner-role {
    color: var(--gold, #c9a24b);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 2px 0 10px;
}

.owner-bio {
    line-height: 1.7;
    color: #555;
    font-size: 1rem;
}

.owner-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== TEAM / MANAGERS GRID ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 28px;
    margin-top: 12px;
}

.team-card {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 26px 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.team-photo {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    border: 3px solid var(--gold, #c9a24b);
}

.team-photo-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 44px;
    border: 3px solid #e2e8f0;
}

.team-card h4 {
    margin: 0 0 4px;
    font-size: 1.15rem;
}

.team-role {
    color: var(--gold, #c9a24b);
    font-weight: 600;
    margin: 0 0 8px;
}

.team-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.55;
    margin: 0 0 10px;
}

.team-phone {
    font-size: 0.88rem;
    color: var(--gold, #c9a24b);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.18s ease;
}

.team-phone:hover { opacity: 0.75; }

/* ===== DEVELOPER CREDIT ===== */
.dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.dev-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dev-logo {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.dev-link {
    color: var(--gold, #c9a24b);
    text-decoration: none;
    transition: opacity 0.18s ease;
}

.dev-link:hover { opacity: 0.75; }

/* ===== PAYMENT QR AREA ===== */
[data-payment="qr"],
[data-payment="barcode"] {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    max-width: 100%;
}

/* ===== GALLERY POLISH ===== */
.gallery-item,
.gallery-img {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover img,
.gallery-img:hover img {
    transform: scale(1.05);
}

.gallery-item img,
.gallery-img img {
    transition: transform 0.35s ease;
}

/* ===== BUTTON FOCUS / ACCESSIBILITY ===== */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold, #c9a24b);
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 560px) {
    .owner-photo { width: 120px; height: 120px; }
    .team-photo { width: 100px; height: 100px; }
    .team-grid { gap: 18px; }
}

/* ===== Booking rules list (managed from Admin Dashboard) ===== */
.rules-list {
    list-style: none;
    padding: 0;
    max-width: 760px;
    margin: 16px auto;
}
.rules-list li {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li strong { color: #1e293b; }

/* ===== Logo image in navbar (managed brand media) ===== */
.logo img { display: inline-block !important; }

/* ===== Service card with image (managed services) ===== */
.service-card img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px 12px 0 0; }

/* ===== Booking agreement checkbox (Terms & Conditions) ===== */
.booking-agreement {
    margin-top: 18px; padding: 14px 16px;
    background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px;
}
.agreement-label {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; line-height: 1.55; color: #7c2d12; cursor: pointer;
}
.agreement-label input[type="checkbox"] {
    width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: #ea580c;
}
.agreement-label a { color: #c2410c; font-weight: 600; text-decoration: underline; }
