/* Extremely dark gothic theme, with Gargoyles, darkness and stone textures. And a touch of blood and guts */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

body {
    background: #000;
    color: #c8c0b8;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    color: #d4d0c8;
}

a {
    color: #8b1a1a;
    text-decoration: none;
}

a:hover {
    color: #c0392b;
}

/* Navigation */
ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.2rem 0;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

ul li a {
    color: #706a62;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

ul li a:hover {
    color: #c0392b;
}

/* Main container */
#main_container {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* Hero video */
.pv_guit_anim {
    text-align: center;
    margin-bottom: 2rem;
}

.pv_guit_anim video,
.pv_guit_anim img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    /* border: 1px solid #1a1a1a; */
}

#main_container > h1 {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

#main_container > p {
    text-align: center;
    color: #706a62;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* Category sections */
.category-section {
    margin-bottom: 3.5rem;
}

.category-section h2 {
    font-size: 1.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #1a1a1a;
}

.category-section h2 .fa {
    color: #8b1a1a;
    margin-right: 0.5rem;
}

/* Project grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

/* Project cards */
.project-card {
    display: block;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 1.5rem;
    transition: border-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.project-card:hover {
    border-color: #8b1a1a;
    transform: translateY(-2px);
}

.project-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
}

.project-card:hover h3 {
    color: #c0392b;
}

.project-card p {
    color: #706a62;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-card .project-link {
    color: #8b1a1a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.project-card:hover .project-link {
    color: #c0392b;
}

/* Footer */
#footer {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #1a1a1a;
    color: #3a3a3a;
    font-size: 0.85rem;
}

#footer a {
    color: #706a62;
}

/* Responsive */
@media (max-width: 600px) {
    ul {
        flex-wrap: wrap;
        gap: 0.8rem 1.2rem;
        padding: 1rem;
    }

    ul li a {
        font-size: 0.85rem;
    }

    #main_container > h1 {
        font-size: 1.6rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* Contact form mobile */
    #contact-form {
        padding: 1.2rem;
    }

    .captcha-input-row input[type="text"] {
        max-width: 100%;
    }

    /* .imver {
        max-width: 160px;
    } */
}



/* =========================================
   Generic Form Styles
   ========================================= */

label {
    display: block;
    color: #908a82;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    color: #c8c0b8;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color 0.3s, box-shadow 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8b1a1a;
    box-shadow: 0 0 0 2px rgba(139, 26, 26, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #3a3a3a;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    cursor: pointer;
}

input[type="submit"],
button[type="submit"],
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #8b1a1a;
    color: #d4d0c8;
    border: 1px solid #8b1a1a;
    border-radius: 4px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 100;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.btn:hover {
    background: #a52020;
    border-color: #a52020;
    transform: translateY(-1px);
}

input[type="submit"]:active,
button[type="submit"]:active,
.btn:active {
    transform: translateY(0);
}

input[type="submit"]:disabled,
button[type="submit"]:disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

/* =========================================
   Contact Section
   ========================================= */

.contact-intro {
    color: #706a62;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

#contact-form {
    max-width: 600px;
    background: #0e0e0e;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 2rem;
    margin-top: 1.5rem;
}

/* Captcha */
.captcha-group .captcha-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* .imver {
    max-width: 200px;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
} */
.imver {
	max-width: 100%;
	border: inset 9px;
	border-radius: 60px;
}

.reload-captcha-link {
    color: #706a62;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.reload-captcha-link:hover {
    color: #c0392b;
}

.captcha-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.captcha-input-row input[type="text"] {
    max-width: 200px;
}

.captcha_explain {
    color: #3a3a3a;
    font-size: 0.8rem;
    font-style: italic;
}

/* Spinning animation (captcha reload) */
.spinning {
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.captcha-blur-out {
    filter: blur(4px);
    opacity: 0.5;
    transition: filter 0.3s, opacity 0.3s;
}

.captcha-blur-in {
    filter: blur(0px);
    opacity: 1;
    transition: filter 0.3s, opacity 0.3s;
}

/* Contact response messages (dark theme) */
.contact-response {
    padding: 0.85rem 1.2rem;
    margin-bottom: 1.2rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.contact-response-success {
    background: rgba(39, 174, 96, 0.1);
    color: #6dca88;
    border: 1px solid rgba(39, 174, 96, 0.25);
}

.contact-response-error {
    background: rgba(192, 57, 43, 0.1);
    color: #e07070;
    border: 1px solid rgba(192, 57, 43, 0.25);
}

.contact-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(200, 192, 184, 0.15);
    border-top-color: #8b1a1a;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}

/* Footer legal links */
.footer-legal {
    margin-top: 0.5rem;
}

.footer-legal a {
    color: #3a3a3a;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #706a62;
}

.footer-legal-sep {
    color: #1a1a1a;
    margin: 0 0.4rem;
}

/* Legal pages */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.legal-updated {
    color: #3a3a3a;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
    color: #908a82;
}

.legal-page p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #706a62;
}

.legal-page ul {
    display: block;
    position: static;
    background: none;
    border: none;
    padding: 0 0 0 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-page ul li {
    list-style: disc;
    color: #706a62;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.legal-page a {
    color: #8b1a1a;
}

.legal-page a:hover {
    color: #c0392b;
}