/* ========================================
   HYMA LEGAL PAGES STYLESHEET
   File: css/hyma-legal.css
   Version: 1.0
   Updated: September 2025
   ======================================== */

/* CSS Variables for Brand Colors */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #ff6b35;
    --accent-dark: #e55a2b;
    --text-color: #2c2c2c;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
    --orange-gradient: linear-gradient(135deg, #ff6b35 0%, #f55a2c 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
}

/* Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
}

/* Header Styling */
.legal-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 30px;
    background: var(--dark-gradient);
    color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.legal-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.legal-header .subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-weight: 400;
}

.legal-header .last-updated {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--orange-gradient);
    border-radius: 25px;
    font-size: 0.95rem;
    color: white;
    display: inline-block;
    font-weight: 500;
}

/* Content Sections */
.legal-section {
    margin: 40px 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--orange-gradient);
}

.legal-section h3 {
    color: var(--secondary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.legal-section h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 20px 0 10px 0;
}

.legal-section p {
    margin: 18px 0;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 0;
}

.legal-section li {
    margin: 12px 0;
    padding-left: 30px;
    position: relative;
    list-style: none;
}

.legal-section li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 10px;
}

/* Special Boxes */
.notice-box {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d9 100%);
    border-left: 4px solid var(--accent-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.notice-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-gradient);
    border-radius: 8px 8px 0 0;
}

.notice-box h3 {
    color: var(--accent-dark);
    margin-top: 0;
    margin-bottom: 15px;
}

.warning-box {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    border-left: 4px solid var(--accent-color);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.warning-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-gradient);
    border-radius: 8px 8px 0 0;
}

.warning-box h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.warning-box p, .warning-box li {
    color: rgba(255,255,255,0.9);
}

.contact-section {
    background: var(--dark-gradient);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--orange-gradient);
}

.contact-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-section p {
    color: rgba(255,255,255,0.9);
}

.contact-section a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: white;
    text-decoration: underline;
}

/* Footer */
.legal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Navigation Menu */
.legal-nav {
    background: var(--dark-gradient);
    padding: 20px 0;
    margin-bottom: 40px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-color);
}

.legal-nav a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    margin: 5px 10px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.legal-nav a:hover {
    background: var(--orange-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px 15px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section {
        margin: 30px 0;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .notice-box, .warning-box, .contact-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .legal-nav a {
        display: block;
        margin: 8px 0;
    }
}

/* Print Styles */
@media print {
    .legal-nav {
        display: none;
    }
    
    .legal-container {
        max-width: none;
        padding: 0;
    }
    
    .notice-box, .warning-box {
        border: 1px solid #ccc;
        background: white !important;
    }
}