html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #DDBEA9;
    background-repeat: repeat;
    font-family: 'Lora', serif;
    font-weight: 400!important;
    text-align: center;
    font-size: 14px;
    color: #5E5E5E;
    overflow-x: hidden;
}

#header {
    background-image: url('images/halloween.jpg'),url('images/halloween_bg1.jpg');
    background-repeat: no-repeat,repeat-x;
    background-position: center; 
    height: 707px;
    width: 100%;
    margin-top: -5px;
}

.content {
    width: 67%;
    margin: 0 auto 40px;
    padding: 0 24px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #5A4A78;
    line-height: 1.75;
    letter-spacing: 0.4px;
    font-size: 17px;
    border-left: 4px solid #FFD4A8;
    padding-left: 20px;
    position: relative;
}

.content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #FFECD9, #FFD4A8);
    transform: rotate(45deg);
    border-radius: 2px;
    opacity: 0.75;
}

.content a,
.content b,
.content i {
    position: relative;
    font-family: 'Lora', serif;
    cursor: pointer;
    text-decoration: none;
    color: #FF9D5C;
    transition: all 0.3s ease;
}

.content a:hover,
.content b:hover,
.content i:hover {
    background: linear-gradient(90deg, #FFE5C1, #FFD4A8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 4px rgba(255, 180, 130, 0.3);
}

h1 {
    position: relative;
    opacity: 0.95;
    display: inline-block;
    padding: 22px 54px;
    margin: 70px auto 36px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 5px;
    color: #FF9D5C;
    background: linear-gradient(135deg, #fff6f0 0%, #ffe3b8 50%, #ffc48c 100%);
    border-radius: 40px 40px 20px 20px;
    box-shadow: 0 6px 18px rgba(255, 150, 90, 0.2);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
}

h1:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(255, 150, 90, 0.3);
    text-shadow: 0 0 12px rgba(255, 190, 140, 0.6);
}

.contentx {
    padding: 40px;
    border-radius: 36px;
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #454548;
    text-align: justify;
    margin-bottom: 46px;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.contentx input,
.contentx textarea,
.contentx select {
    width: 100%;
    max-width: 360px;
    padding: 12px 16px;
    margin: 14px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #2f2f2f;
    background: #fdfdfd;
    border: none;
    border-radius: 14px;
    box-shadow: inset 4px 4px 10px rgba(0,0,0,0.05),
                inset -4px -4px 10px rgba(255,255,255,0.8);
    transition: transform 0.25s ease;
    caret-color: #7edca5;
}

.contentx input:focus,
.contentx textarea:focus,
.contentx select:focus {
    transform: scale(1.02);
    outline: none;
    box-shadow: 0 0 8px rgba(126, 220, 165, 0.5);
}

.contentx button {
    background: linear-gradient(145deg, #80dca2, #b6f3c8);
    border: 1.5px solid rgba(120, 200, 160, 0.5);
    border-radius: 14px;
    padding: 9px 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 16px;
    color: #2f2f2f;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contentx button:hover,
.contentx button:focus {
    transform: scale(1.08);
    background: linear-gradient(145deg, #b6f3c8, #80dca2);
    border-color: rgba(100, 180, 150, 0.7);
    color: #1f1f1f;
    box-shadow: 0 6px 16px rgba(120, 200, 160, 0.35);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 19px;
    padding: 40px 50px;
    margin: 40px auto;
    width: 70%;
    max-width: 720px;
    color: #FF9D5C;
    background: linear-gradient(120deg, #fff6f0, #ffe3c2);
    border-radius: 40px;
    clip-path: polygon(0 0, 100% 10%, 95% 100%, 5% 95%);
    box-shadow: 0 10px 28px rgba(255, 150, 90, 0.15);
    position: relative;
    text-align: left;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

blockquote:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 30px rgba(255, 150, 90, 0.25);
}

blockquote::before {
    content: '“';
    font-size: 60px;
    color: rgba(255, 157, 92, 0.3);
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: 'Lora', serif;
}

blockquote::after {
    content: '”';
    font-size: 60px;
    color: rgba(255, 157, 92, 0.3);
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-family: 'Lora', serif;
}

#side-nav {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-toggle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #FFECD9, #FFD4A8);
    clip-path: path("M60 0 C95 5, 120 40, 110 80 C100 120, 40 120, 10 80 C-5 40, 25 5, 60 0 Z");
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.35s ease, background 0.35s ease;
    border: 2px solid #FFC48C;
    overflow: hidden;
    z-index: 2; 
}

.nav-links {
    margin-top: 20px;
    background: rgba(255, 245, 230, 0.95);
    border-radius: 18px;
    padding: 16px 0;
    width: 220px;
    display: none;
    flex-direction: column;
    backdrop-filter: blur(12px);
    border: 2px solid #FFD4A8;
    z-index: 1;
    position: relative;
}

.nav-links a {
    position: relative;
    padding: 14px 24px;
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 500;
    color: #FF9D5C;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.nav-links a::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
    pointer-events: none;
}

.nav-links a:hover {
    background: linear-gradient(90deg, #FFF3E6, #FFDAB3);
    color: #FF7A33;
    border-radius: 8px;
}

#side-nav.active .nav-links {
    display: flex;
    animation: fadeIn 0.35s ease;
}

#footer {
    background: linear-gradient(135deg, #fff8f0, #ffe8c9, #ffc48c);
    color: #5A8E72;
    text-align: center;
    padding: 80px 36px;
    margin-top: 80px;
    border-top: 4px double #FFB266;
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    letter-spacing: 0.9px;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(100% 80% at 50% 100%);
    box-shadow: inset 0 10px 20px rgba(255, 180, 130, 0.1),
                0 10px 15px rgba(255, 150, 90, 0.15);
}

#footer::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, rgba(255,180,130,0.6), rgba(255,210,170,0.1), rgba(255,180,130,0.6));
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    from { background-position: 200% center; }
    to { background-position: -200% center; }
}

#footer a {
    color: #FF9D5C;
    text-decoration: none;
    border-bottom: 1.5px dashed #FFD4A8;
    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: #FF7A33;
    border-bottom: 1.5px solid #FFB266;
    text-shadow: 0 0 10px rgba(255, 157, 92, 0.5);
    cursor: pointer;
}

.footer-content {
    max-width: 720px;
    margin: 0 auto;
}

.footer-credit {
    margin-top: 12px;
    font-size: 14px;
    color: #FFB266;
    font-style: italic;
}
