/* ============================================
   EXHIBITION PAGES STYLING
   ============================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* RESET & BASE */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #EEEEEE;
    color: #000;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 24px 0;
}

h1 { font-size: clamp(44px, 5.56vw, 60px); }
h2 { font-size: clamp(40px, 3.89vw, 40px); }
h3 { font-size: clamp(28px, 3.33vw, 30px); }
h4 { font-size: clamp(24px, 2.78vw, 30px); }
h5 { font-size: clamp(22px, 2.22vw, 32px); }
h6 { font-size: clamp(20px, 1.67vw, 24px); }

p {
    font-size: clamp(16px, 1.11vw, 18px);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

/* LAYOUT */
.site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1050px) {
    .site-container {
        padding: 0 48px;
    }
}

main {
    min-height: 100vh;
    padding: 48px 0;
}

@media (min-width: 830px) {
    main {
        padding: 64px 0;
    }
}

/* CARDS */
.white-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.blue-card {
    background: #2F476A;
    border-radius: 24px;
    padding: 32px;
    color: white;
    margin-bottom: 24px;
}

.icon-card-block {
    background: white;
    border-radius: 24px;
    padding: 50px 24px;
    text-align: center;
    min-height: 308px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-card-block:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* BUTTONS */
.btn {
    background-color: #C20735;
    color: white;
    border: 1px solid #C20735;
    padding: 12px 24px;
    font-weight: 500;
    transition: .4s ease-in-out;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
}

.btn:hover {
    background-color: white;
    color: #C20735;
}

.btn--blue {
    background-color: #21A8E1;
    border-color: transparent;
}

.btn--blue:hover {
    background-color: transparent;
    border-color: #21A8E1;
    color: white;
}

.btn--white {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn--white:hover {
    background-color: white;
    color: #C20735;
}

.btn--black {
    background-color: transparent;
    border-color: black;
    color: black;
}

.btn--black:hover {
    background-color: black;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #2F476A;
    border: 2px solid #2F476A;
    padding: 12px 24px;
    font-weight: 500;
    transition: .4s ease-in-out;
    border-radius: 50px;
    font-size: 16px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
}

.btn-secondary:hover {
    background-color: #2F476A;
    color: white;
}

/* GRID SYSTEM */
.grid {
    display: grid;
    gap: 24px;
}

.grid-cols-1 {
    grid-template-columns: 1fr;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 830px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1050px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FORMS */
.form-group {
    margin-bottom: 24px;
}

.form-group label, .form-group legend {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: black;
    display: block;
    margin-bottom: 8px;
}

.form-group .required::after {
    content: ' *';
    color: #C20735;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="url"],
.form-group input[type="search"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    border-radius: 8px;
    outline: none;
    border: 1px solid #AAAAAA;
    padding: 12px;
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
}

.form-group input:not(textarea) {
    height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #C20735;
}

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 1em;
    padding-right: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
}

@media (min-width: 830px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 32px;
    }
}

.form-input {
    border-radius: 8px;
    outline: none;
    border: 1px solid #AAAAAA;
    padding: 12px;
    width: 100%;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    height: 48px;
}

.form-input:focus {
    border-color: #C20735;
}

.form-input[type="textarea"],
textarea.form-input {
    min-height: 120px;
    height: auto;
    resize: vertical;
}

.error-message {
    color: #C20735;
    font-size: 14px;
    margin-top: 4px;
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #C20735 !important;
}

/* RADIO & CHECKBOX */
.radio-group, .checkbox-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 830px) {
    .radio-group, .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 24px;
    }
}

.radio-item, .checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.radio-item input[type="radio"],
.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    border: 1px solid #AAAAAA;
    appearance: none;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    border-radius: 4px;
}

.radio-item input[type="radio"]:checked,
.checkbox-item input[type="checkbox"]:checked {
    background-color: #C20735;
    border-color: #C20735;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-white { color: white; }
.text-black { color: black; }
.text-red { color: #C20735; }
.text-blue { color: #2F476A; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

.w-full { width: 100%; }
.hidden { display: none; }

@media (max-width: 829px) {
    .sm\:hidden { display: none; }
}

/* STEP INDICATOR */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

@media (min-width: 830px) {
    .step-indicator {
        gap: 16px;
    }
}

.step-indicator .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #AAAAAA;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

@media (min-width: 830px) {
    .step-indicator .step {
        width: 48px;
        height: 48px;
    }
}

.step-indicator .step.active {
    background: #C20735;
    border-color: #C20735;
    color: white;
}

.step-indicator .step.completed {
    background: #2F476A;
    border-color: #2F476A;
    color: white;
}

/* PACKAGE SELECTION */
.package-card {
    position: relative;
    transition: all 0.3s ease;
}

.package-card.selected {
    border: 3px solid #C20735 !important;
    background: #C20735 !important;
    color: white !important;
}

.package-card.selected .btn--white {
    background: white !important;
    color: #C20735 !important;
    border-color: white !important;
}

.package-card.selected .btn--white:hover {
    background: transparent !important;
    color: white !important;
    border-color: white !important;
}

.selected-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    color: #C20735;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* ORDER SUMMARY */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    gap: 24px;
}

.summary-row:last-child {
    border-bottom: none;
    padding-top: 16px;
    margin-top: 16px;
}

.summary-row .label {
    font-weight: 400;
    flex: 1;
}

.summary-row .value {
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    flex-shrink: 0;
}

/* Order summary in blue card */
.blue-card .summary-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.blue-card .summary-row:last-child {
    border-bottom: none;
}

/* SUCCESS PAGE */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #C20735;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

@media (min-width: 830px) {
    .success-icon {
        width: 100px;
        height: 100px;
    }
    .success-icon svg {
        width: 60px !important;
        height: 60px !important;
    }
}

.success-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

/* RESPONSIVE TEXT */
.text-2xl { font-size: clamp(22px, 2.22vw, 32px); }
.text-3xl { font-size: clamp(32px, 2.78vw, 40px); }
.text-4xl { font-size: clamp(36px, 3.33vw, 48px); }
.text-5xl { font-size: clamp(40px, 3.89vw, 56px); }

/* SHADOW UTILITIES */
.shadow-xl {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ROUNDED UTILITIES */
.rounded-24 {
    border-radius: 24px;
}

/* NAVIGATION BUTTONS */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
}

@media (max-width: 829px) {
    .nav-buttons {
        flex-direction: column;
    }
    .nav-buttons .btn {
        width: 100%;
    }
}

/* PAYMENT ELEMENT */
#payment-element {
    padding: 16px;
    border-radius: 8px;
    min-height: 200px;
}

/* Gap utilities */
.gap-32 {
    gap: 32px;
}

.mt-32 {
    margin-top: 32px;
}
