/* ========================================
   PAGE TEMPLATE STYLES
   For WordPress pages (Privacy Policy, etc.)
   Uses same styling as main Astro site
   ======================================== */

/* Import Google Fonts - Raleway & Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Variables - matching Astro site */
:root {
    --primary-color: #13a8da;
    --secondary-color: #a24a96;
    --accent-color: #6b4423;
    --support-color: #faf8f6;
    --lightgrey: #f5f5f5;
    --grey: #444;
    --light-green: #5a7a3d;
    --soft-beige: #f5f1ec;
    --burgundy: #a24a96;
    
    /* Typography */
    --font-family-primary: 'Raleway', sans-serif;
    --font-family-secondary: 'Montserrat', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    line-height: 1.6;
    color: var(--grey);
    background: var(--support-color);
}

/* Page Container */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.08);
}

/* Page Header */
.page-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 30px;
    margin-bottom: 40px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
}

.page-title {
    font-family: var(--font-family-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-meta {
    color: #999;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Page Content */
.page-content {
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    font-family: var(--font-family-secondary);
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-content h1 { 
    font-size: 2rem; 
    font-weight: 700;
}

.page-content h2 { 
    font-size: 1.75rem; 
    font-weight: 600;
}

.page-content h3 { 
    font-size: 1.5rem; 
    font-weight: 600;
}

.page-content h4 { 
    font-size: 1.25rem; 
    font-weight: 600;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--grey);
    font-weight: 600;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Page Footer */
.page-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--lightgrey);
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white !important;
    text-decoration: none;
    border: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(19, 168, 218, 0.3);
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(19, 168, 218, 0.4);
}

.copyright-text {
    color: #999;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 40px 15px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-content {
        font-size: 1rem;
    }
    
    .page-content h1 { font-size: 1.75rem; }
    .page-content h2 { font-size: 1.5rem; }
    .page-content h3 { font-size: 1.25rem; }
    .page-content h4 { font-size: 1.1rem; }
    
    .back-link {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-content {
        font-size: 0.95rem;
    }
}
