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

body {
    background-color: #DFD2C1;
    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/halloweenbg1.jpg');
    background-repeat: no-repeat,repeat-x;
    background-position: center; 
    height: 849px;
    width: 100%;
    margin-top: -5px;
}

.content {
    width: 67%;
    margin: 0px 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: 12px;
    height: 12px;
    background: radial-gradient(circle at center, #FFECD9, #FFD4A8);
    border-radius: 50%;
    opacity: 0.6;
}

.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: 20px 48px;
    margin: 70px auto 36px;
    font-family: 'Lora', serif;
    font-weight: 400;
    font-size: 28px;
    letter-spacing: 5px;
    color: #FFAD87;
    background: linear-gradient(135deg, #fff6f0 0%, #ffe8c9 60%, #ffd4a8 100%);
    border-radius: 16px 16px 6px 6px;
    box-shadow: 0 6px 20px rgba(255, 180, 130, 0.25), 0 12px 40px rgba(255, 150, 90, 0.1);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

h1:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(255, 180, 130, 0.4), 0 24px 60px rgba(255, 150, 90, 0.2);
}


.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: linear-gradient(145deg, #fdfdfd, #e8ffe8);
    border: 1px solid rgba(120, 200, 160, 0.25);
    border-radius: 12px;
    transition: all 0.3s ease;
    caret-color: #7edca5;
}

.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 {
    background: linear-gradient(145deg, #b6f3c8, #80dca2);
    border-color: rgba(100, 180, 150, 0.7);
    color: #1f1f1f;
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-style: italic;
    padding: 36px 44px;
    margin: 40px auto;
    width: 70%;
    max-width: 720px;
    color: #FF9D5C;
    background: linear-gradient(145deg, #fff6f0, #ffe8c9);
    border-left: 5px solid #FFD4A8;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(255, 180, 130, 0.25), 0 6px 15px rgba(255, 150, 90, 0.1);
    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, 180, 130, 0.35), 0 10px 20px rgba(255, 150, 90, 0.15);
}

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: 24px;
    left: 24px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* so menu drops below button */
}

#side-nav { position: fixed; top: 30px; right: 30px; z-index: 1000; }

.nav-toggle {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at center, #FFECD9, #FFD4A8);
    border-radius: 50%;
    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 0%, #ffe8c9 60%, #ffd4a8 100%);
    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: polygon(0 50px, 12% 45px, 25% 55px, 38% 48px, 50% 60px, 62% 50px, 75% 58px, 88% 50px, 100% 60px, 100% 100%, 0 100%);
    box-shadow: inset 0 10px 20px rgba(255, 180, 130, 0.1), 0 10px 15px rgba(255, 150, 90, 0.15);
    border-radius: 0 0 0 0;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: radial-gradient(circle at center, #FFB266, transparent 60%);
    opacity: 0.35;
    pointer-events: none;
}


#footer {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8c9 60%, #ffd4a8 100%);
    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: polygon(0 50px, 12% 45px, 25% 55px, 38% 48px, 50% 60px, 62% 50px, 75% 58px, 88% 50px, 100% 60px, 100% 100%, 0 100%);
    box-shadow: inset 0 10px 20px rgba(255, 180, 130, 0.1), 0 10px 15px rgba(255, 150, 90, 0.15);
    border-radius: 0 0 0 0;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: radial-gradient(circle at center, #FFB266, transparent 60%);
    opacity: 0.35;
    pointer-events: none;
}


#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;
}
