/* =========================
   Reset / Base Styles
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #f9fafb;
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
}

/* Inputs */
input,
textarea,
select {
    font-family: inherit;
}

input:disabled {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

/* ===== SITE FOOTER ===== */
.site-footer {
    background-color: #1f2937;
    /* gray-800 */
    color: #ffffff;
    /*margin-top: 64px;*/
    /* spacing from main content */
    font-family: "Inter", sans-serif;
}

.footer-container {
    max-width: 1280px;
    /* same as container */
    margin: 0 auto;
    padding: 32px 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* default single column */
    gap: 32px;
}

/* Medium screens: 4 columns */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-title {
    font-size: 1.125rem;
    /* ~text-lg */
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-text {
    color: #9ca3af;
    /* gray-400 */
    font-size: 0.875rem;
    /* small text */
    line-height: 1.4;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-list li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-list li a:hover {
    color: #ffffff;
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid #374151;
    /* gray-700 */
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* =========================
   Django Messages
   ========================= */

.messages-container {
    max-width: 1280px;
    margin: 16px auto;
    padding: 0 16px;
}

.message {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: 500;
}

/* Success */
.message.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

/* Error */
.message.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Warning */
.message.warning {
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

/* Info */
.message.info {
    background-color: #cff4fc;
    color: #055160;
    border: 1px solid #b6effb;
}

/* =========================
   Contact Block
   ========================= */
.contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
}

.contact-item i {
    width: 18px;
    text-align: center;
}

/* Optional branding colors */
.contact-item[href^="mailto"] i {
    color: #444;
}

.contact-item[href*="wa.me"] i {
    color: #25D366;
}

.contact-item[href*="maps"] i {
    color: #d9534f;
}

/* =========================================
   SITE BANNER - TEMPORARY WARNING
   ========================================= */
.site-banner {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: #ffcc00;
    color: #000;
    text-align: center;
    padding: 7px 10px;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid #e6b800;
}