/* ======================================================== */
/* == Mr. Barber - Luxury Thank You Page CSS == */
/* ======================================================== */

:root {
    /* --- Color Palette (Luxury Theme) --- */
    --mrb-primary: #000000;       /* Black - The main accent color */
    --mrb-primary-dark: #333333;  /* Dark Grey for hover */
    --mrb-bg-body: #f9f8f4;       /* Light Beige/Off-White Background */
    --mrb-bg-card: #ffffff;       /* Pure White for cards */
    --mrb-text-dark: #2c2c2c;     /* Dark Grey for headings */
    --mrb-text-light: #666666;    /* Medium Grey for text */
    --mrb-border: #e0e0e0;        /* Light border */
    --mrb-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Soft shadow */
}

/* --- Page Layout --- */
body {
    background-color: var(--mrb-bg-body) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.thank-you-container {
    max-width: 800px;
    margin: 60px auto !important;
    padding: 0 20px;
    text-align: center;
    color: var(--mrb-text-dark);
}

/* --- Success Animation (Checkmark) --- */
.checkmark-circle {
    width: 80px;
    height: 80px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
}

.checkmark-circle .checkmark {
    border-radius: 5px;
}

.checkmark-circle .checkmark.draw:after {
    animation-delay: 100ms;
    animation-duration: 1s;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
    animation-fill-mode: forwards;
}

.checkmark-circle .checkmark:after {
    opacity: 1;
    height: 40px;
    width: 20px;
    transform-origin: left top;
    border-right: 4px solid var(--mrb-primary);
    border-top: 4px solid var(--mrb-primary);
    content: '';
    left: 20px;
    top: 40px;
    position: absolute;
}

@keyframes checkmark {
    0% { height: 0; width: 0; opacity: 1; }
    20% { height: 0; width: 20px; opacity: 1; }
    40% { height: 40px; width: 20px; opacity: 1; }
    100% { height: 40px; width: 20px; opacity: 1; }
}

/* --- Typography --- */
.thank-you-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mrb-text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.confirmation-text {
    font-size: 1.1rem;
    color: var(--mrb-text-light);
    line-height: 1.6;
    margin-bottom: 40px;
}

/* --- Booking Summary Card --- */
.booking-summary-card {
    background: var(--mrb-bg-card);
    border-radius: 16px;
    box-shadow: var(--mrb-shadow);
    overflow: hidden;
    margin-bottom: 40px;
    text-align: left;
    border: 1px solid var(--mrb-border);
}

.summary-header {
    background: var(--mrb-primary);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.summary-header i {
    font-size: 1.5rem;
}

.summary-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.summary-body {
    padding: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.summary-row .label {
    color: var(--mrb-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-row .label i {
    width: 20px;
    text-align: center;
    color: var(--mrb-primary);
}

.summary-row .value {
    font-weight: 600;
    color: var(--mrb-text-dark);
    text-align: right;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.value-list li {
    margin-bottom: 5px;
}

.summary-divider {
    height: 1px;
    background: var(--mrb-border);
    margin: 20px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--mrb-border);
}

.summary-total .label {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--mrb-text-dark);
}

.summary-total .value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mrb-primary);
}

/* --- Actions Grid --- */
.actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.action-section {
    background: var(--mrb-bg-card);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--mrb-shadow);
    border: 1px solid var(--mrb-border);
}

.action-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--mrb-text-dark);
    font-weight: 600;
}

.calendar-buttons, .contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --- Buttons --- */
.btn-outline, .btn-filled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-outline {
    border: 1px solid var(--mrb-border);
    color: var(--mrb-text-dark);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--mrb-primary);
    color: var(--mrb-primary);
    background: rgba(197, 160, 89, 0.05);
}

.btn-filled {
    background: var(--mrb-primary);
    color: #fff;
    border: 1px solid var(--mrb-primary);
}

.btn-filled:hover {
    background: var(--mrb-primary-dark);
    border-color: var(--mrb-primary-dark);
    transform: translateY(-2px);
}

/* --- Footer --- */
.footer-info {
    margin-top: 40px;
    border-top: 1px solid var(--mrb-border);
    padding-top: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mrb-text-dark);
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--mrb-primary);
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    color: var(--mrb-text-light);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .thank-you-container h1 {
        font-size: 2rem;
    }
    
    .summary-body {
        padding: 20px;
    }
}
