/* ==========================
   POLICY PAGES STYLES
   For complaints-procedure.html, privacy-policy.html, cookie-policy.html
   ========================== */

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #5A8B6B 100%);
    padding: 6rem 2rem 4rem 2rem;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    pointer-events: none;
}

.page-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section Styles */
.content-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-body {
    line-height: 1.7;
    color: #374151;
}

.content-body h2 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--navy-text);
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid #E8F3EA;
    padding-bottom: 0.5rem;
}

.content-body h2:first-of-type {
    margin-top: 0;
}

.content-body h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-text);
    margin: 2rem 0 1rem 0;
}

.content-body p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.content-body ul,
.content-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.content-body a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

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

.content-body strong {
    color: var(--navy-text);
    font-weight: 600;
}

.intro-text {
    font-size: 1.125rem;
    color: var(--gray-text);
    font-weight: 500;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #F4F8F5;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

/* Contact Information Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-item {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 120px;
}

.contact-item h3 {
    font-size: 1.125rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #374151;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Footer Contact Override - Style like homepage */
.footer .contact-item {
    background: transparent;
    border: none;
    padding: 0;
    min-height: auto;
}

.footer .contact-item h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer .contact-item p {
    color: rgba(255, 255, 255, 0.8);
}

.footer .contact-info {
    gap: 1rem;
}

/* Rights Section for Privacy Policy */
.rights-section {
    margin: 2rem 0;
}

.right-item {
    background: #ffffff;
    border: 1px solid #E8F3EA;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.right-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.right-item h3 {
    font-size: 1.125rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-family: 'Inter Tight', sans-serif;
}

.right-item p {
    margin: 0;
    color: #4B5563;
}

/* Cookie Types for Cookie Policy */
.cookie-types {
    margin: 2rem 0;
}

.cookie-type {
    background: #ffffff;
    border: 1px solid #E8F3EA;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.cookie-type:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
}

.cookie-type h3 {
    font-size: 1.125rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-family: 'Inter Tight', sans-serif;
}

.cookie-status {
    font-size: 0.875rem;
    background: var(--primary-green);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.cookie-type p {
    margin: 0;
    color: #4B5563;
}

/* Browser Instructions */
.browser-instructions {
    background: #F4F8F5;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    margin: 2rem 0;
}

.browser-instructions h3 {
    color: var(--navy-text);
    margin-bottom: 1rem;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
}

.browser-instructions ul {
    margin: 0;
    padding-left: 1.5rem;
}

.browser-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.browser-instructions strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* Important Note Boxes */
.important-note {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-note h3 {
    color: #92400E;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.important-note h3::before {
    content: '⚠️';
    font-size: 1.2rem;
}

.important-note p {
    color: #78350F;
    margin: 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 4rem 1rem 3rem 1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .content-section {
        padding: 3rem 1rem;
    }
    
    .content-body h2 {
        font-size: 1.75rem;
    }
    
    .content-body h3 {
        font-size: 1.25rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        min-height: 100px;
        padding: 1.25rem;
    }
    
    .content-body ul,
    .content-body ol {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 3rem 1rem 2rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
    
    .intro-text,
    .contact-item,
    .right-item,
    .cookie-type,
    .browser-instructions,
    .important-note {
        padding: 1rem;
    }
}
