/* Legal Pages Specific Styles */

/* Override any gradient backgrounds from main styles */
body {
    background: white;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Dropdown Menu */
.dropdown-menu {
    position: fixed;
    top: 70px;
    right: 20px;
    background: #ffffff !important;
    background-image: none !important;
    background-color: #ffffff !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    min-width: 250px;
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: #ffffff !important;
    background-image: none !important;
    background-color: #ffffff !important;
}

.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 107, 157, 0.1) !important;
    background-color: rgba(255, 107, 157, 0.1) !important;
    background-image: none !important;
    color: var(--primary-color) !important;
    padding-left: 25px;
}

.dropdown-item.active {
    background: rgba(255, 107, 157, 0.15) !important;
    background-color: rgba(255, 107, 157, 0.15) !important;
    background-image: none !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.dropdown-divider {
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 5px 0;
}

/* Legal Content */
.legal-content {
    margin-top: 90px;
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legal-container h1 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 15px;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.legal-section ul li {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

.legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 107, 157, 0.2);
    text-align: center;
}

.legal-footer p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.legal-footer strong {
    color: var(--text-dark);
}

/* Logo link styling */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-content {
        padding: 20px 10px;
        margin-top: 80px;
    }

    .legal-container {
        padding: 25px 20px;
    }

    .legal-container h1 {
        font-size: 28px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 14px;
    }

    /* Override any nav-menu styles that might be inherited */
    .nav-menu {
        display: none !important;
    }

    .dropdown-menu {
        position: fixed !important;
        top: 70px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
        background: #ffffff !important;
        background-image: none !important;
        background-color: #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

    .dropdown-item {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        color: #2d3436 !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .dropdown-item:hover {
        background: rgba(255, 107, 157, 0.1) !important;
        background-color: rgba(255, 107, 157, 0.1) !important;
        background-image: none !important;
    }

    .dropdown-item.active {
        background: rgba(255, 107, 157, 0.15) !important;
        background-color: rgba(255, 107, 157, 0.15) !important;
        background-image: none !important;
    }
}

@media (max-width: 480px) {
    .legal-container h1 {
        font-size: 24px;
    }

    .legal-section h2 {
        font-size: 18px;
    }

    .dropdown-menu {
        right: 5px;
        left: 5px;
        min-width: auto;
    }
}

