@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Special+Elite&display=swap');

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #c92a2a #F8F8EC;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #F8F8EC;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6b6b, #c92a2a);
    border-radius: 10px;
    border: 2px solid #F8F8EC;
}

html, body {
    color: #FFE3D6;
    background-color: #1e1e1e;
    font-family: 'Libre Baskerville', serif;
    margin: 0;
    padding: 0;
}

#header {
    background-image: url('images/head.jpg');
    background-color: #EBEBEB;
    background-repeat: no-repeat;
    background-position: center;
    height: 473px;
    width: 100%;
    position: relative;
    z-index: 0;
    top: 0;
}


#navigation {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 24px 60px;
    background-color: #F8F8EC;
    border-bottom: 3px solid #c92a2a; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    z-index: 10;
}

#navigation::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#navigation a {
    font-family: 'Baloo 2', 'Comic Neue', cursive;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 12px 24px;
    border-radius: 16px;
    color: #c92a2a; 
    background-color: transparent;
    position: relative;
    transition: all 0.35s ease;
}

#navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff6b6b, #c92a2a);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s ease;
}

#navigation a:hover {
    color: #fff;
    background: linear-gradient(145deg, #c92a2a, #ff6b6b);
    box-shadow: 0 6px 14px rgba(201, 42, 42, 0.35);
    transform: translateY(-4px) scale(1.05);
}

#navigation a:hover::after {
    transform: scaleX(1);
    background: #FFE3D6; 
}

#navigation a.active {
    color: #fff;
    background: linear-gradient(145deg, #c92a2a, #ff6b6b);
    box-shadow: 0 6px 18px rgba(201, 42, 42, 0.45);
}

#navigation a.active::after {
    transform: scaleX(1);
    background: #FFE3D6;
}

#content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contentx {
    margin: -90px auto 120px;
    padding: 70px 90px;
    font-size: 23px;
    line-height: 2.05;
    text-align: justify;
    color: #FFE3D6;
    max-width: 1300px;
}

h1 {
    font-family: 'Cinzel Decorative', serif; 
    font-size: 52px;
    text-align: center;
    color: #FFE3D6; 
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow:
        2px 2px 0 #c92a2a,   
        4px 4px 6px rgba(0,0,0,0.7); 
    margin: 40px 0 60px;
    position: relative;
}


h1::after {
    content: "🔍"; 
    display: block;
    margin: 20px auto 0;
    font-size: 26px;
    letter-spacing: 18px;
    color: rgba(201, 42, 42, 0.6);
}


h1:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

blockquote {
    margin: 80px auto;
    padding: 54px 76px;
    max-width: 700px;
    background: #2a2a2a;
    border-left: 8px solid #c92a2a;
    border-radius: 28px;
    font-size: 22px;
    line-height: 1.8;
    color: #FFE3D6;
    box-shadow: 0 14px 34px rgba(180, 40, 40, 0.35);
    position: relative;
}

blockquote::before {
    content: "";
    font-size: 72px;
    position: absolute;
    top: -28px;
    left: 18px;
    color: rgba(201, 42, 42, 0.35);
}


textarea,
input,
select {
    width: 42%;
    padding: 1.8rem 1.2rem;
    background: #3b3b3b;
    border: 2px solid #c92a2a;
    border-radius: 999px;
    color: #FFE3D6;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(180, 40, 40, 0.2);
    transition: all 0.3s ease;
}

textarea:focus,
input:focus,
select:focus {
    box-shadow: 0 0 1.2rem rgba(201, 42, 42, 0.45);
    outline: none;
}

a {
    color: #c92a2a;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #ffb3b3, #c92a2a);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

a:hover::after {
    transform: scaleX(1);
}

i, em {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.25);
    padding: 4px 8px;
    border-radius: 10px;
}

b, strong {
    font-family: 'Comic Neue', 'Baloo 2', cursive;
    font-size: 26px;
    color: #fff;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(160deg, #ff6b6b, #c92a2a);
    box-shadow: 0 4px 12px rgba(201, 42, 42, 0.45);
}

#footer {
    position: relative;
    margin: 140px auto 80px;
    padding: 50px 20px 40px;
    text-align: center;
    color: #FFE3D6;
    font-size: 14px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 480px;
    height: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, #c92a2a, transparent);
}

#footer::after {
    content: "★ ❦ ★";
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    letter-spacing: 26px;
    color: rgba(201, 42, 42, 0.55);
    pointer-events: none;
}

#footer a {
    margin: 0 16px;
    font-size: 13px;
    letter-spacing: 0.4em;
    background: linear-gradient(120deg, #c92a2a, #ff6b6b, #F8F8EC, #ff6b6b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.6s ease;
}

#footer a:hover {
    background-position: 100% 50%;
}

#footer .paw {
    display: block;
    margin-top: 30px;
    font-size: 18px;
    letter-spacing: 10px;
    opacity: 0.5;
}

#footer .footer-text {
    margin-top: 26px;
    font-size: 13px;
    color: rgba(255, 227, 214, 0.85);
    letter-spacing: 0.3em;
    line-height: 1.7;
}

#footer .back-to-top {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    letter-spacing: 0.35em;
    background: linear-gradient(120deg, #c92a2a, #ff6b6b, #F8F8EC, #ff6b6b);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    transition: background-position 0.6s ease, transform 0.25s ease;
}

#footer .back-to-top:hover {
    background-position: 100% 50%;
    transform: translateY(-3px) scale(1.05);
}

#footer .back-to-top::after {
    content: " ↑";
    font-size: 14px;
    vertical-align: middle;
}


@media (max-width: 768px) {
    #layout-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 60px 20px;
    }

    #navigation {
        min-width: 90%;
        padding: 30px 24px;
        gap: 16px;
        border-radius: 28px;
    }

    #navigation a {
        font-size: 12px;
        letter-spacing: 0.25em;
        padding: 12px 8px;
    }

    #content {
        width: 95%;
        max-width: 100%;
        padding: 0 10px;
    }

    .contentx {
        padding: 30px 25px;
        font-size: 18px;
        line-height: 1.8;
        border-radius: 48px 32px;
        margin-bottom: 60px;
    }

    h1 {
        font-size: 36px;
        margin: 30px auto 50px;
    }

    blockquote {
        padding: 32px 40px;
        font-size: 18px;
        max-width: 90%;
    }

    textarea,
    input,
    select {
        width: 80%;
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
    }

    #footer {
        padding: 30px 15px 20px;
        font-size: 12px;
    }

    #footer::before {
        width: 300px;
        height: 1.5px;
    }

    #footer::after {
        font-size: 18px;
        letter-spacing: 16px;
    }

    #footer a {
        font-size: 12px;
        margin: 0 10px;
        letter-spacing: 0.28em;
    }

    #footer .paw {
        margin-top: 20px;
        font-size: 14px;
        letter-spacing: 6px;
    }

    #footer .footer-text {
        font-size: 12px;
        letter-spacing: 0.22em;
        line-height: 1.5;
    }

    #footer .back-to-top {
        font-size: 12px;
        letter-spacing: 0.25em;
    }
}