/* ========================================
   LEGAL PAGES STYLES - PRIVACY POLICY & TERMS
   Matches Galaxy Hotel Luxury Theme
   ======================================== */

/* ==================== LEGAL PAGE VARIABLES ==================== */
.legal-page {
    font-family: var(--font-inter);
    color: var(--luxury-ivory);
    background: var(--luxury-black);
    min-height: 100vh;
    padding-top: 80px;
}

/* ==================== LEGAL HEADER ==================== */
.legal-header {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.95));
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.legal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 30, 63, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.legal-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-header-pretext {
    font-family: var(--font-playfair);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--luxury-gold);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.legal-header-pretext::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    opacity: 0.6;
}

.legal-header-title {
    font-family: var(--font-cinzel);
    font-size: 3rem;
    font-weight: 700;
    color: var(--luxury-ivory);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(212, 175, 55, 0.15);
    line-height: 1.1;
}

.legal-header-subtitle {
    font-family: var(--font-playfair);
    font-size: 1.1rem;
    color: rgba(245, 241, 232, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

.legal-header-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--luxury-gold), transparent);
    margin: 2rem auto;
    opacity: 0.5;
}

/* ==================== LEGAL CONTENT ==================== */
.legal-content {
    padding: 60px 0;
    background: var(--luxury-dark);
    position: relative;
}

.legal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 30, 63, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.legal-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 50px;
    padding: 30px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
    border-radius: var(--card-radius);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s var(--transition-gentle);
    backdrop-filter: blur(15px);
}

.legal-section:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luxury-gold);
    font-size: 1.4rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.section-title {
    font-family: var(--font-cinzel);
    font-size: 1.8rem;
    color: var(--luxury-gold);
    margin: 0;
    font-weight: 600;
}

/* Section Content */
.section-content {
    color: rgba(245, 241, 232, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content strong {
    color: var(--luxury-ivory);
    font-weight: 600;
}

/* Lists */
.legal-list {
    margin: 20px 0;
    padding-left: 20px;
}

.legal-list li {
    margin-bottom: 15px;
    color: rgba(245, 241, 232, 0.9);
    line-height: 1.6;
    position: relative;
    padding-left: 10px;
}

.legal-list li::before {
    content: '•';
    color: var(--luxury-gold);
    font-size: 1.5rem;
    position: absolute;
    left: -15px;
    top: -2px;
}

.nested-list {
    margin: 10px 0 10px 20px;
    padding-left: 15px;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
}

.nested-list li {
    margin-bottom: 10px;
}

.nested-list li::before {
    content: '▸';
    font-size: 1rem;
    left: -10px;
}

/* Highlight Boxes */
.highlight-box {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
    position: relative;
}

.highlight-box::before {
    content: '⚠';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--luxury-gold);
    color: var(--luxury-black);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.highlight-box-title {
    color: var(--luxury-gold);
    font-family: var(--font-cinzel);
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

/* Contact Info Box */
.contact-info-box {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.95));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--card-radius);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--luxury-gold), var(--luxury-gold-light));
}

.contact-info-title {
    color: var(--luxury-gold);
    font-family: var(--font-cinzel);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(40, 40, 40, 0.6);
    border-radius: 10px;
    transition: all 0.3s var(--transition-gentle);
}

.contact-item:hover {
    background: rgba(40, 40, 40, 0.8);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--luxury-gold);
    font-size: 1.3rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.contact-label {
    color: rgba(245, 241, 232, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    color: var(--luxury-ivory);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-cinzel);
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s var(--transition-gentle);
}

.contact-value a:hover {
    color: var(--luxury-gold);
}

/* Back Button */
.back-button-container {
    text-align: center;
    margin-top: 50px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-gold-light) 100%);
    color: var(--luxury-black);
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s var(--transition-gentle);
    font-family: var(--font-cinzel);
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.5),
        0 5px 15px rgba(212, 175, 55, 0.2);
    gap: 15px;
}

.back-button i {
    transition: transform 0.4s var(--transition-gentle);
}

.back-button:hover i {
    transform: translateX(-5px);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet */
@media (max-width: 768px) {
    .legal-header {
        padding: 40px 0 30px;
    }
    
    .legal-header-title {
        font-size: 2.2rem;
    }
    
    .legal-header-subtitle {
        font-size: 1rem;
    }
    
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-section {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-item {
        padding: 15px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .legal-header {
        padding: 30px 0 20px;
    }
    
    .legal-header-title {
        font-size: 1.8rem;
    }
    
    .legal-header-pretext {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }
    
    .legal-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-content {
        font-size: 1rem;
    }
    
    .legal-list {
        padding-left: 15px;
    }
    
    .legal-list li::before {
        left: -10px;
    }
    
    .contact-info-box {
        padding: 20px;
    }
    
    .back-button {
        padding: 10px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Print Styles */
@media print {
    .legal-header {
        background: white !important;
        color: black !important;
    }
    
    .legal-header-title,
    .section-title {
        color: black !important;
    }
    
    .legal-content {
        background: white !important;
        color: black !important;
    }
    
    .legal-section {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .back-button {
        display: none !important;
    }
}