/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #cccccc;
    --dark-red: #8b0000;
    --blood-red: #cc0000;
    --rust-orange: #8b4513;
    --text-white: #f0f0f0;
    --text-light: #e0e0e0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blood-red);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    color: var(--blood-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--blood-red);
    text-shadow: 0 0 10px var(--blood-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blood-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 50%, var(--primary-black) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('dark-background.jpg') center/cover;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    z-index: 2;
}

.hero-title {
    font-family: 'Nosifer', cursive;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    color: var(--blood-red);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 20px var(--blood-red);
    }
    to {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 30px var(--blood-red), 0 0 40px var(--blood-red);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 300;
}

.hero-description {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--dark-red), var(--blood-red));
    color: var(--text-white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.5);
    background: linear-gradient(45deg, var(--blood-red), var(--dark-red));
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-eye {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--blood-red) 30%, var(--primary-black) 70%);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.floating-shadow {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Creepster', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--blood-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Fear Types Section */
.fear-types {
    padding: 6rem 0;
    background: var(--dark-gray);
    position: relative;
}

.fear-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('gothic-texture.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.type-card {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.type-card:hover {
    border-color: var(--blood-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(100%) sepia(100%) hue-rotate(0deg) brightness(0.8);
}

.type-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--blood-red);
}

.type-card p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.card-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
}

.card-details h4 {
    color: var(--blood-red);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.card-details ul {
    list-style: none;
}

.card-details li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.card-details li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--blood-red);
}

/* Fear Test Section */
.fear-test {
    padding: 6rem 0;
    background: var(--primary-black);
}

.test-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-gray);
    border-radius: 10px;
    padding: 3rem;
    border: 2px solid var(--medium-gray);
}

.question {
    display: none;
    text-align: center;
}

.question.active {
    display: block;
}

.question h3 {
    color: var(--blood-red);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.question p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-white);
}

.options {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    background: var(--medium-gray);
    border: 2px solid transparent;
    color: var(--text-white);
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.option:hover {
    border-color: var(--blood-red);
    background: rgba(139, 0, 0, 0.2);
}

.option.selected {
    background: var(--blood-red);
    border-color: var(--blood-red);
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.nav-btn {
    background: var(--dark-red);
    color: var(--text-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-btn:hover:not(:disabled) {
    background: var(--blood-red);
    transform: translateY(-2px);
}

.nav-btn:disabled {
    background: var(--medium-gray);
    cursor: not-allowed;
}

.submit-btn {
    background: var(--blood-red);
}

.test-result {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    border: 2px solid var(--blood-red);
}

.test-result h3 {
    color: var(--blood-red);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Blog Section */
.blog {
    padding: 6rem 0;
    background: var(--dark-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--blood-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-red), var(--blood-red));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-category {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: var(--blood-red);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--primary-black);
}

.contact-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--medium-gray);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--blood-red);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--medium-gray);
    border: 2px solid transparent;
    border-radius: 5px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blood-red);
    background: rgba(139, 0, 0, 0.1);
}

.submit-btn {
    background: var(--blood-red);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.contact-info {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--medium-gray);
}

.contact-info h3 {
    color: var(--blood-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    color: var(--text-white);
    text-decoration: none;
    padding: 0.8rem;
    background: var(--medium-gray);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--blood-red);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--medium-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--blood-red);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--blood-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .test-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .test-container {
        padding: 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}

