/* ============================================================
   Gillmann Gravuren — CSS Variables
   ============================================================ */

:root {
    /* Gillmann brand */
    --g-red: #c0392b;
    --g-red-dark: #96281b;
    --g-red-light: #e74c3c;
    --g-black: #1a1a1a;
    --g-white: #ffffff;
    --g-off-white: #fafafa;
    --g-gray: #f2f2f2;
    --g-text: #222222;
    --g-text-muted: #666666;
    --g-border: #e0e0e0;
}

/* ============================================================
   Global overrides — Gillmann brand
   ============================================================ */

body {
    background: var(--g-off-white);
    color: var(--g-text);
}

#page-wrapper {
    min-height: 100svh;
}

a {
    color: var(--g-red);
}

a:hover {
    color: var(--g-red-dark);
}

/* Header — white bg so black/red logo shows properly */
#header {
    background: var(--g-white) !important;
    border-bottom: 1px solid var(--g-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#header a {
    color: var(--g-text) !important;
}

#header a:hover,
#header a.active {
    color: var(--g-red) !important;
}

/* Logo text */
.site-title-text {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 0.6rem;
    letter-spacing: 0.02em;
}

/* Buttons */
.btn,
a.btn,
button.btn,
input.btn {
    background: var(--g-red);
    border-color: var(--g-red);
    color: var(--g-white);
}

.btn:hover,
a.btn:hover {
    background: var(--g-red-dark);
    border-color: var(--g-red-dark);
    color: var(--g-white);
}

/* Spectre overrides */
.btn.btn-primary,
.btn.btn-primary:active,
.btn.btn-primary:focus {
    background: var(--g-red);
    border-color: var(--g-red);
}

.btn.btn-primary:hover {
    background: var(--g-red-dark);
    border-color: var(--g-red-dark);
}

.btn:active,
.btn:focus,
a.btn:active,
a.btn:focus {
    background: var(--g-red-dark);
    border-color: var(--g-red-dark);
    color: var(--g-white);
    box-shadow: none;
}

.btn-outline:active,
.btn-outline:focus,
a.btn-outline:active,
a.btn-outline:focus {
    background: var(--g-red);
    border-color: var(--g-red);
    color: var(--g-white);
}

.btn.btn-default,
.btn.btn-default:hover,
.btn.btn-default:active,
.btn.btn-default:focus {
    background: var(--g-red);
    border-color: var(--g-red);
    color: var(--g-white);
}

.btn.btn-default:hover {
    background: var(--g-red-dark);
    border-color: var(--g-red-dark);
}

/* Links in content */
#body-wrapper a:not(.btn) {
    color: var(--g-red);
}

#body-wrapper a:not(.btn):hover {
    color: var(--g-red-dark);
}

/* Blockquotes as info boxes */
#body-wrapper blockquote {
    border-left: 4px solid var(--g-red);
    background: var(--g-gray);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}

#body-wrapper blockquote p {
    margin-bottom: 0;
}

/* Horizontal rules */
#body-wrapper hr {
    border-color: var(--g-border);
}

/* Footer */
#footer {
    background: var(--g-black) !important;
    color: rgba(255, 255, 255, 0.6);
}

#footer a {
    color: rgba(255, 255, 255, 0.7);
}

#footer a:hover {
    color: #fff;
}

#footer h6 {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.35rem;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    border-color: var(--g-border);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--g-red) !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12) !important;
}

/* Active nav link — override Spectre blue */
.dropmenu ul li a.active,
.dropmenu ul li a:hover {
    color: var(--g-red) !important;
}

/* Textareas */
textarea {
    resize: vertical;
}

/* Mobile menu */
.mobile-container .overlay {
    background: var(--g-white) !important;
    opacity: 1 !important;
}

.mobile-menu .button_container span {
    background: var(--g-text);
}

.mobile-menu .button_container.active .top,
.mobile-menu .button_container.active .middle,
.mobile-menu .button_container.active .bottom {
    background: var(--g-text) !important;
}

.mobile-container .overlay-menu a,
.mobile-container .overlay-menu ul.tree a {
    color: var(--g-text) !important;
    font-size: 1.2rem;
}

.mobile-container .overlay-menu a:hover,
.mobile-container .overlay-menu a.active {
    color: var(--g-red) !important;
}

.mobile-container .overlay-menu ul.tree li {
    list-style: none;
    margin-bottom: 0.75rem;
    border: none;
    background: none;
    padding: 0;
}

.mobile-container .overlay-menu ul.tree a {
    border: none !important;
    background: none !important;
    padding: 0.5rem 0 !important;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px solid transparent !important;
    transition: border-color 0.2s;
}

.mobile-container .overlay-menu ul.tree a:hover {
    border-bottom-color: var(--g-red) !important;
    text-decoration: none !important;
}

.mobile-container .overlay-menu ul.tree .toggler {
    display: none;
}


/* ============================================================
   Template Components — Gillmann
   ============================================================ */

/* Hero Section */
.hero-section {
    background: var(--g-black);
    color: var(--g-white);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 0;
}

.hero-section h1 {
    color: var(--g-white);
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Section Title & Divider */
.section-title {
    font-size: 1.4rem;
    color: var(--g-text);
    margin-top: 2rem;
    margin-bottom: 0.25rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--g-red);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.section-description {
    color: var(--g-text-muted);
    max-width: 680px;
    margin-bottom: 2rem;
}

/* Cards Grid */
.cards-grid {
    margin-bottom: 1.5rem;
}

.cards-grid .column {
    display: flex;
}

/* Card */
.card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--g-white);
    border: 1px solid var(--g-border);
    border-top: 3px solid var(--g-red);
    border-radius: 4px;
    padding: 1.25rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-align: center;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}


.card p {
    color: var(--g-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card .btn {
    font-size: 0.85rem;
}

/* Card Icon */
.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Info Box */
.info-box {
    border-left: 4px solid var(--g-red);
    background: var(--g-gray);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 2rem;
    border-radius: 0 4px 4px 0;
}

.info-box h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
    color: var(--g-text);
}

.info-box p {
    margin-bottom: 0;
    color: var(--g-text-muted);
    font-size: 0.95rem;
}

/* Page Intro */
.page-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--g-border);
}

.page-intro h1 {
    font-size: 2rem;
    color: var(--g-text);
    margin-bottom: 0.5rem;
}

.page-intro .lead {
    font-size: 1.1rem;
    color: var(--g-text-muted);
    max-width: 700px;
    line-height: 1.6;
}

/* About Text (home page) */
.about-text {
    max-width: 700px;
    color: var(--g-text-muted);
    margin-bottom: 1rem;
}

/* Catalog Links */
.catalog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--g-white);
    border: 1px solid var(--g-border);
    border-radius: 4px;
    color: var(--g-text);
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-link:hover {
    border-color: var(--g-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--g-red);
}

.catalog-link .arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.catalog-link:hover .arrow {
    transform: translateX(3px);
}

/* Contact Grid */
.contact-grid {
    gap: 2rem;
}

.contact-grid .form-wrapper {
    margin-bottom: 2rem;
}

.required-note {
    font-size: 0.85rem;
    color: var(--g-text-muted);
    margin-bottom: 1rem;
}

.sidebar-text {
    color: var(--g-text-muted);
    font-size: 0.95rem;
}

/* Button outline variant */
.btn-outline,
a.btn-outline {
    background: transparent;
    border: 1px solid var(--g-red);
    color: var(--g-red);
}

.btn-outline:hover,
a.btn-outline:hover {
    background: var(--g-red);
    color: var(--g-white);
}

/* ============================================================
   Responsive — stack on mobile
   ============================================================ */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .catalog-links {
        flex-direction: column;
    }

    .catalog-link {
        width: 100%;
        justify-content: space-between;
    }
}
