/* ================================
   Master CSS File - Imports All
   ================================ */
@import url('./base.css');
@import url('./components.css');
@import url('./layout.css');
@import url('./sections.css');
@import url('./animations.css');
@import url('./responsive.css');

/* ================================
   Inline Style Replacements
   ================================ */
.section-center {
   min-height: 70vh;
   display: flex;
   align-items: center;
}

.text-center {
   text-align: center;
}

.text-white {
   color: #fff;
}

.mb-1 { margin-bottom: 1rem; }
.mb-1-5 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }

.mt-0-5 { margin-top: 0.5rem; }
.mt-1 { margin-top: 1rem; }
.mt-1-5 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.note-muted {
   color: rgba(255, 255, 255, 0.7);
   font-size: 0.9rem;
}

.note-muted--compact {
   margin-top: -0.5rem;
   margin-bottom: 1rem;
}

.result-card {
   background: rgba(255, 255, 255, 0.1);
   padding: 3rem;
   border-radius: 8px;
   max-width: 600px;
   margin: 0 auto;
}

.result-subtitle {
   font-size: 1.2rem;
   margin-bottom: 2rem;
}

.submission-details {
   background: rgba(255, 255, 255, 0.05);
   padding: 2rem;
   border-radius: 4px;
   margin-bottom: 2rem;
   text-align: left;
   border-left: 4px solid #28a745;
}

.date-card {
   background: rgba(40, 167, 69, 0.2);
   padding: 2rem;
   border-radius: 4px;
   margin-bottom: 2rem;
}

.future-date {
   font-size: 1.5rem;
   font-weight: bold;
}

.button-row {
   display: flex;
   gap: 1rem;
   justify-content: center;
   flex-wrap: wrap;
}

.btn-secondary-light {
   background-color: rgba(255, 255, 255, 0.2);
   color: #fff;
}

.btn-warning {
   background-color: #ffc107;
   color: #333;
   font-weight: 700;
   cursor: pointer;
}

.emergency-box {
   margin-top: 1.5rem;
   padding: 1rem;
   border: 2px solid rgba(255, 193, 7, 0.5);
   border-radius: 4px;
   background: rgba(255, 193, 7, 0.1);
}

.emergency-section {
   margin-top: 2rem;
   padding: 1rem;
   border: 2px solid rgba(255, 193, 7, 0.5);
   border-radius: 4px;
   background: rgba(255, 193, 7, 0.1);
   display: none;
}

.emergency-title {
   margin-bottom: 1rem;
   color: #ffc107;
}

.emergency-row {
   display: flex;
   align-items: center;
   gap: 10px;
   color: #fff;
}

.emergency-row--mb {
   margin-bottom: 1rem;
}

.emergency-label {
   font-weight: 700;
}

.emergency-price {
   color: #ffc107;
   font-weight: 700;
   display: none;
}

.emergency-price--mt { margin-top: 0.5rem; }
.emergency-price--mb { margin-bottom: 1rem; }

.contact-title {
   color: #fff;
   text-align: center;
   margin-bottom: 3rem;
}

.contact-footer-note {
   text-align: center;
   margin-top: 2rem;
   color: rgba(255, 255, 255, 0.8);
}

.device-fieldset {
   border: 1px solid rgba(255, 255, 255, 0.2);
   padding: 1rem;
   border-radius: 4px;
   margin-top: 1rem;
}

.device-legend {
   color: #fff;
   font-weight: 700;
   padding: 0 0.5rem;
}

.device-input {
   display: block;
   width: 100%;
   margin-bottom: 0.75rem;
}

.device-input--mt { margin-top: 0.5rem; }

.device-textarea {
   display: block;
   width: 100%;
   margin-bottom: 0;
}

.attachment-block {
   margin-top: 1rem;
   color: #fff;
}

.attachment-label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
}

.consent-row {
   display: flex;
   align-items: center;
   gap: 10px;
   margin-top: 10px;
   color: #fff;
}

.terms-link {
   color: #fff;
   text-decoration: underline;
}

.terms-section {
   padding: 3rem 0;
   min-height: 70vh;
}

.terms-card {
   max-width: 900px;
   margin: 0 auto;
   background: rgba(255, 255, 255, 0.03);
   padding: 2rem;
   border-radius: 8px;
}

.terms-footer-note { margin-top: 1.5rem; }

.gallery-hero {
   padding: 60px 0;
   background: linear-gradient(135deg, #007bff, #0056b3);
   color: #fff;
}

.loading-text {
   color: #fff;
   text-align: center;
}

.terms-modal {
   display: none;
   position: fixed;
   inset: 0;
   z-index: 1000;
   align-items: center;
   justify-content: center;
}

.modal-backdrop {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.6);
}

.terms-modal-dialog {
   background: #111;
   color: #fff;
   max-width: 900px;
   width: 94%;
   max-height: 80vh;
   overflow: auto;
   border-radius: 8px;
   position: relative;
   padding: 1.25rem;
   z-index: 1001;
}

.terms-modal-content { padding-top: 1rem; }
.modal-loading { opacity: 0.8; }

.modal-actions {
   display: flex;
   gap: 10px;
   justify-content: flex-end;
   margin-top: 1rem;
}

.btn-secondary-dark {
   background: #333;
   color: #fff;
}

.btn-success {
   background: #28a745;
   color: #fff;
}

.redirect-body {
   margin: 0;
   padding: 0;
   background: #f0f0f0;
}

.redirect-container {
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100vh;
   font-family: Arial, sans-serif;
}

.redirect-note {
   font-size: 12px;
   color: #666;
}

/* ================================
   Alert Bar
   ================================ */
.alert-bar {
   position: sticky;
   top: var(--header-height);
   z-index: 999;
   background: #ffc107;
   color: #1a1a1a;
   font-weight: 700;
   letter-spacing: 0.01em;
   border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

.alert-bar .container {
   padding: 0.6rem 1rem;
   text-align: center;
}

/* ================================
   Home Grid (Strona Główna)
   ================================ */
.home-grid {
   padding: 4rem 0;
}

.home-grid__row {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 2rem;
   align-items: center;
   margin-bottom: 2.5rem;
}

.home-grid__cell {
   background: rgba(255, 255, 255, 0.04);
   border: 1px solid rgba(255, 255, 255, 0.08);
   border-radius: 12px;
   padding: 2rem;
}

.home-grid__cell--media {
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1.5rem;
}

.home-grid__image {
   width: 100%;
   height: auto;
   border-radius: 10px;
   display: block;
}

.home-grid__title {
   margin-bottom: 1rem;
}

.home-grid__text {
   line-height: 1.6;
   margin-bottom: 1.5rem;
}

.home-grid__btn {
   margin-top: 0.5rem;
}

.home-grid__cta {
   display: flex;
   justify-content: center;
   margin-top: 1rem;
}

.home-grid__cta-btn {
   padding: 0.9rem 2.5rem;
   font-size: 1.1rem;
   min-width: 280px;
}

@media (max-width: 900px) {
   .home-grid__row {
      grid-template-columns: 1fr;
   }
}
