/* ===========================
   Aestheva Legal Pages CSS
   =========================== */

:root {
    --deep-magenta: #6B1213;
    --muted-purple: #3E0A0B;
    --light-orchid: #B8860B;
    --white: #FFFFFF;
    --text-dark: #2d2d2d;
    --text-light: #666666;
    --gradient-primary: linear-gradient(135deg, var(--deep-magenta), var(--muted-purple));
    --gradient-secondary: linear-gradient(135deg, var(--light-orchid), var(--deep-magenta));
    --shadow: 0 10px 30px rgba(107, 18, 19, 0.15);
    --shadow-hover: 0 15px 40px rgba(107, 18, 19, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; color: var(--deep-magenta); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; color: var(--deep-magenta); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 0.5rem; color: var(--deep-magenta); }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover { transform: scale(1.05); }

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover { color: var(--deep-magenta); }
.nav-link:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--deep-magenta);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Page Hero */
.page-hero {
    background: var(--gradient-primary);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-hero h1 {
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
}

.page-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .breadcrumb a:hover { color: var(--white); }

/* Legal Content */
.legal-content {
    padding: 4rem 0;
    background: var(--white);
}

.legal-content .content-wrapper {
    background: #fafafa;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.last-updated {
    background: linear-gradient(135deg, rgba(107, 18, 19, 0.05), rgba(62, 10, 11, 0.05));
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.last-updated i {
    color: var(--deep-magenta);
    font-size: 1.25rem;
}

.last-updated span {
    color: var(--text-light);
    font-weight: 500;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(107, 18, 19, 0.1);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul, .legal-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal-section li::marker { color: var(--deep-magenta); }

.highlight-box {
    background: linear-gradient(135deg, rgba(107, 18, 19, 0.08), rgba(184, 134, 11, 0.05));
    border-left: 4px solid var(--deep-magenta);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-details {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1rem;
}

.contact-details h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-details a:hover { opacity: 0.8; }

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-section h4 {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer-bottom .legal-links { margin-top: 1rem; }

.footer-bottom .legal-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    margin: 0 1rem;
    transition: opacity 0.3s ease;
}

.footer-bottom .legal-links a:hover { opacity: 1; }

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transition: left 0.3s ease;
        padding: 2rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav.active { left: 0; }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
    }

    .legal-content .content-wrapper { padding: 2rem 1.5rem; }
    .page-hero { padding: 120px 0 40px; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
    .logo img { height: 45px; max-width: 180px; }
    .legal-content { padding: 2rem 0; }
    .legal-content .content-wrapper { padding: 1.5rem 1rem; border-radius: 15px; }
    .last-updated { flex-direction: column; text-align: center; gap: 0.5rem; }
}
