/* --- Google Fonts for a modern, bold feel --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Open+Sans:wght@400;600&display=swap');

:root {
    --dark-bg: #000000; /* Pure black */
    --text-light: #ffffff;
    --text-secondary: #cccccc;
    --accent-gold: #ffcc00; /* A touch of gold for headings if desired */
    --button-bg: #4a00e0; /* Deep purple from previous design, or choose a new one */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Open Sans', sans-serif; /* General text font */
    color: var(--text-light);
    
}

.ajoke-section {
    display: flex;
    height: 100vh; /* Make it fill the viewport height */
    width: 100vw; /* Make it fill the viewport width */
    background-color: var(--dark-bg); /* Default background */
}
.id-color {
    color: var(--accent-gold); /* Gold accent for emphasis */
}
/* --- Left Content Area --- */
.ajoke-content-left {
    flex: 1; /* Takes up 50% of the width on larger screens */
    background-color: var(--dark-bg);
    padding: 4rem 3rem 2rem 5rem; /* Adjust padding as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes top content up, bottom content down */
    position: relative;
    overflow-y: auto; /* Allow scrolling if content is too long */
}

.ajoke-content-left h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.8rem); /* Responsive font size */
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ajoke-content-left p {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px; /* Control line length */
}

.ajoke-logos {
    margin-top: 3rem; /* Space from the text above */
    display: flex;
    align-items: center; /* Align logos vertically */
    gap: 2rem; /* Space between logos */
}

.ajoke-logos .logo-item {
    /* Placeholder styles for logos 
    background-color: rgba(255, 255, 255, 0.1);*/
    height: 60px;
    /*width: 150px;*/
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
   /* border: 1px solid rgba(255, 255, 255, 0.15);*/
}

.ajoke-logos .logo-item img {
    max-width: 150px;
    /*max-height: 100%;*/
    margin-bottom: 10px;
    /*object-fit: contain;*/
}

/* --- Home Button --- */
.home-button {
    position: absolute; /* Position relative to .ajoke-content-left */
    bottom: 2rem;
    left: 5rem; /* Align with left padding */
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent-gold); /* Or any accent color */
    color: var(--dark-bg); /* Text color for the button */
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.home-button:hover {
    background-color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Right Image Area --- */
.ajoke-image-right {
    flex: 1; /* Takes up 50% of the width on larger screens */
    background: url('../css/Dr.Oguns.jpg') no-repeat center center/cover;
    /* Ensure the image path is correct relative to style-ajoke.css */
}

/* --- Read More Button Styles --- */
.readmore-indicator {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2000;
    background: rgba(0,0,0,0.85);
    color: var(--accent-gold);
    padding: 0.7rem 1.7rem 0.7rem 1.2rem;
    border-radius: 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 1;
    pointer-events: auto;
    animation: bounce 1.2s infinite;
}
.readmore-indicator svg {
    width: 1.3em;
    height: 1.3em;
    fill: var(--accent-gold);
    display: inline-block;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0);}
    50% { transform: translateX(-50%) translateY(10px);}
}
.readmore-indicator.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Only show on mobile */
@media (min-width: 769px) {
    .readmore-indicator {
        display: none !important;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .ajoke-content-left {
        padding: 3rem 2rem; /* Reduce padding on smaller screens */
    }
    .home-button {
        left: 2rem; /* Adjust button position */
    }
}


@media (max-width: 768px) {
    html, body {
        height: auto;
        width: 100%;
        overflow: auto; /* Allow scrolling! */
    }
    .ajoke-section {
        flex-direction: column;
        height: auto;              /* Allow section to grow naturally */
        min-height: 100vh;
        width: 100vw;
        overflow: visible;         /* Let the page scroll, not just the section */
        -webkit-overflow-scrolling: touch;
    }

    .ajoke-content-left {
        width: 100%;
        min-height: unset;
        padding-bottom: 2rem;
        order: 2;
    }

    .ajoke-image-right {
        width: 100%;
        min-height: 550px;
        height: 40vw;
        max-height: 400px;
        order: 1;
        border-radius: 0;
    }

    .ajoke-content-left h1 {
        font-size: 2.5rem;
    }

    .ajoke-content-left p {
        font-size: 1rem;
    }

    .ajoke-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ajoke-logos .logo-item {
        width: 100px;
        height: 40px;
    }

    .home-button {
        position: static;
        margin-top: 2rem;
        align-self: flex-start;
    }
    .readmore-indicator.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
}

@media (max-width: 480px) {
    .ajoke-section {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        -webkit-overflow-scrolling: touch;
    }

    .ajoke-content-left {
        padding: 2rem 1.5rem;
    }
    .ajoke-image-right {
        min-height: 700px;
        height: 40vw;
        max-height: 220px;
    }
    .home-button {
        width: 100%;
        text-align: center;
    }
    .ajoke-logos {
        align-items: center;
    }
    .readmore-indicator.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
}