/* Hool Rise Custom Styles - Dark Minimalist */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-color: #f2f2f2;
    --accent-color: #B99A49;
    --accent-hover: #9d833e;
    --error-color: #ff4d4d;
    --success-color: #00e676;
    --border-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Landing Page Styles */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8)), url('../img/HoolRise-LandingBackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 10px;
}

.main-logo-external {
    max-width: 250px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.separator {
    color: #8c8c8c;
    margin: 0 5px;
}

.auth-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

h1,
h2,
h3 {
    margin-bottom: 20px;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: #262626;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: var(--accent-color);
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-hover);
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    margin-top: 10px;
}

.btn-secondary:hover {
    background-color: rgba(71, 88, 102, 0.1);
}

.btn-nav {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-nav:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.logout-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 6px;
    background-color: var(--error-color);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.logout-btn:hover {
    background-color: #e04343;
    transform: translateY(-2px);
}

.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-error {
    background-color: rgba(255, 77, 77, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.alert-success {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.link:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
}

/* Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--error-color);
}