/* ==========================================
   STAY HATCH - LEGAL PAGES STYLES
   File: legal.css
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

body {
    background: #F4F6F8;
    color: #0F172A;
    line-height: 1.7;
}

/* Navbar */
.navbar {
    background: #0F766E;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo h2 {
    font-size: 22px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo h2 span {
    color: #49C0B6;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Main Content */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.legal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.legal-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -0.8px;
    margin-bottom: 8px;
}

.last-updated {
    font-size: 13px;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E2E8F0;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 800;
    color: #0F172A;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-top: 24px;
    border-top: 1px solid #F1F5F9;
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F766E;
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-content p {
    font-size: 15px;
    color: #475569;
    margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 28px;
}

.legal-content li {
    font-size: 15px;
    color: #475569;
    margin-bottom: 8px;
}

.legal-content strong {
    color: #0F172A;
    font-weight: 700;
}

.legal-content a {
    color: #0F766E;
    text-decoration: none;
    font-weight: 600;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Refund Table */
.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 24px;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.refund-table thead {
    background: #F0FDFA;
}

.refund-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 800;
    color: #0F766E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #99F6E4;
}

.refund-table td {
    padding: 16px 20px;
    font-size: 14.5px;
    color: #334155;
    border-bottom: 1px solid #F1F5F9;
}

.refund-table tbody tr:last-child td {
    border-bottom: none;
}

.refund-table tbody tr:hover {
    background: #F8FAFC;
}

/* Contact Box */
.contact-box {
    background: #F0FDFA;
    border: 1px solid #99F6E4;
    border-left: 4px solid #0F766E;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 16px 0;
}

.contact-box p {
    font-size: 14.5px;
    color: #334155;
    margin-bottom: 8px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.contact-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.contact-card:hover {
    border-color: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F0FDFA;
    color: #0F766E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 4px;
}

.contact-card a {
    color: #0F766E;
    text-decoration: none;
    font-weight: 700;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-sub {
    font-size: 12px !important;
    color: #94A3B8 !important;
    margin-top: 6px;
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14.5px;
    color: #0F172A;
    font-family: inherit;
    background: #F8FAFC;
    outline: none;
    transition: all 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0F766E;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #49C0B6 0%, #0F766E 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
}

/* Footer */
.legal-footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px 48px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-links a {
    color: #0F766E;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    transition: all 0.2s;
}

.footer-links a:hover {
    background: #0F766E;
    color: #FFFFFF;
    border-color: #0F766E;
}

.legal-footer p {
    font-size: 13px;
    color: #94A3B8;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .legal-content h1 {
        font-size: 26px;
    }

    .legal-content h2 {
        font-size: 18px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

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

    .refund-table th,
    .refund-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .footer-links {
        gap: 6px;
    }

    .footer-links a {
        font-size: 12.5px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 24px 16px;
    }

    .legal-content {
        padding: 24px 18px;
    }

    .legal-content h1 {
        font-size: 22px;
    }

    .legal-content h2 {
        font-size: 16px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 14px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo h2 {
        font-size: 18px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }
}