@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #f9f7f2;
    --card-bg: #efebe0;
    --text-primary: #222222;
    --text-secondary: #555555;
    --accent-color: #c59d5f;
    /* Bronze */
    --accent-hover: #a37e45;
    --nav-bg: rgba(249, 247, 242, 0.95);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.05rem;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 400;
    margin-left: 2rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Default Button (Light Theme Compatible) */
.btn-custom {
    padding: 1rem 2.5rem;
    border: 1px solid var(--text-primary);
    /* Dark Border */
    color: var(--text-primary);
    /* Dark Text */
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-custom:hover {
    background: var(--text-primary);
    color: var(--bg-color);
    /* Light Text on Dark Hover */
    transform: translateY(-3px);
}

/* Hero Button specific overwrite (Keep White) */
.hero-section .btn-custom {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-section .btn-custom:hover {
    background: #ffffff;
    color: #000000;
}

/* ... skipped ... */

/* Contact Section */
.contact-section {
    background: var(--card-bg);
    /* Use card bg or transparent */
    padding: 100px 0;
}

.form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--accent-color);
    color: var(--text-primary);
    box-shadow: none;
}

/* Bio Section */
.bio-img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 2px solid var(--accent-color);
    padding: 5px;
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Pagination Customization */
.pagination {
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.page-link {
    color: var(--text-primary);
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: #f1f1f1;
    color: var(--accent-color);
}

.page-item.active .page-link {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.05);
}

/* Diary Card Images Uniformity */
.diary-card-img {
    height: 300px; /* Standard height for cards */
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.card:hover .diary-card-img {
    transform: scale(1.05);
}

.card {
    overflow: hidden;
}
/* Language Switcher */
.disabled-link {
    cursor: default;
    pointer-events: none;
    opacity: 1 !important;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}
