html, body {
    height: 100%;
    margin: 0;
    background-image: url('images/bg.jpg');
    background-repeat: repeat;
    font-family: 'Libre Baskerville', serif;
    color: #4b3b2a;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(194, 170, 130, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: mistDrift 80s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 100px; }
}

/* Layout wrapper */
.main-container { margin-top:-70px;opacity:0.7;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
}

/* Sidebar Navigation - Stone Carved Look */
#navigation {
    width: 240px;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #f3e1b8, #e0c99c);
    border: 3px solid #c1a477;
    border-radius: 12px;
    box-shadow: inset 0 0 8px #d9c39d, 0 4px 20px rgba(0,0,0,0.1);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    position: sticky;
    top: 40px;
}

#navigation a {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #3e2e1d;
    background: linear-gradient(to right, #fdf3d9, #edd3a1);
    border: 2px solid #b7996f;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    text-decoration: none !important;
    box-shadow: 0 0 8px rgba(210, 180, 140, 0.2);
    transition: all 0.3s ease-in-out;
}

#navigation a:hover {
    background: #f5dfb1;
    color: #2b1f13;
    box-shadow: 0 0 12px rgba(180, 150, 100, 0.3);
    transform: translateY(-3px);
}

#navigation a::before {
    content: "𓂀 ";
    font-size: 16px;
    margin-right: 6px;
    color: #8d7657;
}

/* Content */
#content {
    flex: 1;
    max-width: 800px;
}

.contentx {
border: 6px double #c2a77d;
    border-image: repeating-linear-gradient(
        to right,
        #c2a77d,
        #c2a77d 6px,
        transparent 6px,
        transparent 12px
    ) 1;
    background: rgba(255, 248, 235, 0.6);
    padding: 30px;
    border-radius: 12px;
    font-size: 17px;
    line-height: 1.8;
    color: #4a3c2c;
    letter-spacing: 1.2px;
    box-shadow: 0 0 20px rgba(223, 203, 167, 0.2);
    backdrop-filter: blur(3px);
    position: relative;
}

#header {
    background-image: url('images/head.jpg'),url('images/bg1.jpg');
    background-repeat: no-repeat,repeat-x;
    background-position: center;
    height: 480px;
    width: 100%;
    margin-top: 0; 
    position: relative;
    z-index: 0; 
}



h1 {
    position: relative;
    display: inline-block;
    padding: 16px 32px;
    font-size: 40px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #3a2b1a; /* dark umber */
    background: linear-gradient(to right, #e1d3b5, #c9b99a); /* muted sand & clay */
    border: 2px solid #7c6340; /* brownstone border */
    border-radius: 0 12px 0 12px;
    text-shadow: 1px 1px 0 #d4c4a2, 
                 2px 2px 4px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 10px rgba(110, 90, 60, 0.25);
    transform: skew(-1deg);
clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}


h1::before, h1::after {
    content: "𓅓"; /* You can replace with Unicode or SVG for wings/sun disc */
    font-size: 28px;
    margin: 0 12px;
    color: #a78b5a;
    text-shadow: 1px 1px 0 #f1e5c4;
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
    50% { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
}

/* Quote Block */
blockquote {
position: relative;
    border-left: 10px solid #c9a56e;
    border-right: 10px solid #c9a56e;
    border-top: 4px dashed #ba9e6a;
    border-bottom: 4px dashed #ba9e6a;
    padding: 30px 40px;
    background: linear-gradient(to right, #f8eddc, #e7d2ae);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(200, 180, 150, 0.3);
    font-family: 'Georgia', serif;
    color: #5a4a36;
    margin: 40px auto;
    max-width: 860px;opacity:0.7;
}

blockquote::before {
    content: "❝";
    font-size: 48px;
    color: #cbb18b;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

blockquote::after {
    content: "❞";
    font-size: 48px;
    color: #cbb18b;
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0.3;
}

/* Inputs and Forms */
textarea, input, select {
    width: 100%;
    max-width: 600px;
    padding: 16px;
    margin: 12px 0;
    font-size: 16px;
    background: linear-gradient(to bottom, #fef5e3, #e9dbb7);
    border: 2px solid #c8b085;
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.05);
    caret-color: #9c815f;
    transition: all 0.3s ease;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: #fff8e6;
    border-color: #bfa06f;
    box-shadow: 0 0 12px rgba(200, 170, 130, 0.5);
}

/* Footer */
#footer {
    background: linear-gradient(135deg, #f7eed8 0%, #e6d2aa 60%, #d8c29a 100%);
    color: #5e4c3a;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #bfa574;
    clip-path: polygon(0 60px, 10% 50px, 20% 60px, 30% 55px, 40% 65px, 50% 60px, 60% 70px, 70% 60px, 80% 65px, 90% 60px, 100% 70px, 100% 100%, 0% 100%);
    box-shadow:
        inset 0 10px 20px rgba(120, 100, 80, 0.1),
        0 10px 15px rgba(170, 140, 90, 0.15);
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

/* subtle glowing top border accent */
#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: radial-gradient(circle at center, #bfa574, transparent 60%);
    opacity: 0.35;
    pointer-events: none;
}

/* refined link styling */
#footer a {
    color: #8e704f;
    text-decoration: none;
    border-bottom: 1.5px dashed #c6ae8b;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #5c3f2c;
    border-bottom: 1.5px solid #bfa574;
    text-shadow: 0 0 10px rgba(240, 220, 200, 0.7);
    cursor: pointer;
}

/* Typography emphasis */
b, strong {
    background-color: #e4c99f;
    color: #2e2113;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

i, em {
    color: #7a5e43;
    font-style: italic;
    background: linear-gradient(to right, #f3e6c5, #e6d0a8);
    padding: 2px 6px;
    border-radius: 4px;
}

a {
    color: #7a5e43; /* warm brown */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #c2a77d; /* subtle underline with stone color */
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover, a:focus {
    color: #4b3b2a; /* darker brown on hover */
    border-bottom-color: #8d7657; /* deeper stone underline on hover */
    text-shadow: 0 0 6px rgba(140, 115, 87, 0.6);
    outline: none;
}

a:active {
    color: #3e2e1d;
    border-bottom-color: #7c6340;
    text-shadow: none;
}
