/* Page Background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Satoshi', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #2b1a1f;
    min-height: 100vh;

    background: linear-gradient(to bottom, #c7b7a3, #80634f);

    background-image: 
        linear-gradient(to bottom, #c7b7a3, #80634f),
        repeating-linear-gradient(to right, rgba(255,255,255,0.15) 0, rgba(255,255,255,0.15) 2px, transparent 2px, transparent 80px),
        repeating-linear-gradient(to bottom, rgba(255,255,255,0.15) 0, rgba(255,255,255,0.15) 2px, transparent 2px, transparent 80px);
    
    background-blend-mode: overlay;
    background-repeat: no-repeat, repeat, repeat;
    background-size: cover, auto, auto; 
}


/* Inner Page */
.page-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 300px; 
    background-color: #e8d8c4;
    box-shadow: 0 0 0 3px #b8a997;
    border-radius: 10px;
}

/* Prevent Image Select */
img {
    user-select: none;
    -webkit-user-drag: none; 
    -moz-user-select: none;  
    -ms-user-select: none;
}

/* Header Section */
.head {
    text-align: center;
    margin-bottom: 40px;
}

.head h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 10px 0 30px 0;
    color: #614b4b; 
}

.head h2 {
    font-size: 2rem;
    font-weight: 500;
    margin: 10px 0 10px 0;
    color: #614b4b; 
}

/* Social Links */
.socials {
    margin-bottom: 40px;
}

.socials a {
    margin: 0 10px;
    color: #614b4b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.socials a:hover {
    text-decoration: underline;
}

/* Navigation */
.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.nav-links a {
    padding: 8px 16px;
    background-color: #561c24;
    color: #e8d8c4;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: transform 0.2s, background-color 0.2s;
}

.nav-links a:hover {
    background-color: #6d2932;
    transform: scale(1.05);
}

.nav-links a.active {
    background-color: #80634f; 
    color: #e8d8c4;
    cursor: default;
    transform: none; 
}

.nav-links a.active:hover {
    background-color: #976f5d;
    transform: scale(1.05);
}

/* About Section */
#about {
    margin-bottom: 40px;
    padding: 0 20px;
}

#about h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
    color: #614b4b;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

#about-text {
    flex: 1;
    min-width: 250px;
}

#about-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-right: 100px;
    color: #2b1a1f;
}

#about-profile {
    flex-shrink: 0;
}

#about-profile img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/* OC Section */
#oc {
    margin-bottom: 60px;
    padding: 0 20px;
    text-align: center;
}

#oc h2 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: left;
    color: #614b4b;
}

.oc-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.oc-image img {
    max-width: 250px;
    height: auto;
}

.oc-description {
    flex: 1;
    min-width: 220px;
}

.oc-description p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.oc-description .read-more {
    margin: 0 10px;
    color: #614b4b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.oc-description .read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    color: #2b1a1f;
    font-size: 15px;
    margin-top: 20px;
}

/* Mobile Portrait */
@media (max-width: 768px) {
    .page-container {
        padding: 20px;
    }

    .head h1 {
        font-size: 1.8rem;
    }

    .head h2 {
        font-size: 1.4rem;
    }

    .socials a {
        font-size: 0.9rem;
    }

    .about-content,
    .oc-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #about h2,
    #oc h2 {
        text-align: center;
    }

    #about-text p {
        margin-right: 0;
        text-align: center;
    }

    #about-profile img {
        width: 120px;
        height: 120px;
    }

    .oc-image img {
        max-width: 200px;
    }

    .oc-description {
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .nav-links a {
        width: auto;
        min-width: 160px;
        max-width: 220px;
        text-align: center;
    }
}

/* Mobile Landscape */
@media (max-width: 1024px) and (orientation: landscape) {

    .page-container {
        padding: 20px 40px;
    }

    /* Header */
    .head h1 {
        font-size: 2rem;
        white-space: nowrap;
    }

    .head h2 {
        font-size: 1.6rem;
    }

    .socials {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 20px;
        margin-bottom: 30px;
    }

    .socials a {
        font-size: 1rem;
    }

    .nav-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 12px;
        margin-bottom: 30px;
    }

    .about-content {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
    }

    #about-text p {
        margin-right: 40px;
    }

    #about-profile img {
        width: 160px;
        height: 160px;
    }

    .oc-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        max-width: 700px;
        margin: 0 auto;
    }

    .oc-description {
        flex: 1; 
        display: flex;
        align-items: center; 
    }

    .oc-description p {
        margin: 0; 
        margin-bottom: 10px;
    }

    .oc-image img {
        max-width: 180px;
        height: auto;
    }

    .oc-description {
        flex: 1; 
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
    }
    
}

