/* ===== Pages Stylesheet ===== */
/* Styles for Privacy Policy, Terms of Service, and Contact pages */

/* ===== Page Header ===== */
.page-header {
    background: var(--navy);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.page-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--gold-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

.cta-button.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===== Page Content ===== */
.page-content {
    padding: 60px 0 100px;
    background: var(--off-white);
    min-height: calc(100vh - 200px);
}

.page-hero {
    text-align: center;
    margin-bottom: 50px;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--navy);
    margin-bottom: 16px;
}

.page-hero .subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    font-size: 0.95rem;
    color: var(--gray);
}

/* ===== Content Card ===== */
.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

/* ===== Policy Sections ===== */
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-light);
}

.policy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.policy-section h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin: 24px 0 12px;
}

.policy-section p {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.policy-section ul {
    margin: 16px 0 16px 24px;
    color: var(--gray-dark);
    line-height: 1.8;
}

.policy-section ul li {
    margin-bottom: 8px;
}

.policy-section ul li strong {
    color: var(--navy);
}

/* ===== Warning Box ===== */
.warning-box {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border-left: 4px solid var(--gold);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 24px 0;
}

.warning-box h3 {
    margin-top: 0 !important;
    color: var(--navy) !important;
}

.warning-box p {
    margin-bottom: 0;
}

/* ===== Contact Info Box ===== */
.contact-info {
    background: var(--off-white);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

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

/* ===== Page CTA ===== */
.page-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 50px;
    border-radius: var(--radius-lg);
    color: var(--white);
}

.page-cta p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* ===== Contact Page Specific ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(10, 127, 66, 0.1);
}

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

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ===== Contact Info Sidebar ===== */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    padding: 30px;
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.6;
}

.info-card a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--green-dark);
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--off-white);
    border-radius: 50%;
    color: var(--navy);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== FAQ Section ===== */
.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

.faq-item a {
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* ===== Map Section ===== */
.map-section {
    margin-bottom: 60px;
}

.map-section h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(11, 31, 58, 0.9);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
    }

    .content-card {
        padding: 30px 20px;
    }

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

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

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

    .policy-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 40px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .content-card {
        padding: 24px 16px;
    }

    .info-card {
        padding: 24px 16px;
    }

    .page-cta {
        padding: 30px 20px;
    }
}
