/*
 Theme Name:   3D Sprinter Comic
 Template:     astra
 Version:      1.0.0
*/

body { margin: 0; padding-top: 110px !important; font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif; background: var(--ast-global-color-4); }

/* Hide specific Astra header elements with higher specificity */
body .ast-site-header,
body .ast-primary-header,
body .ast-main-header-bar,
#page header { display: none !important; }

/* Fejléc - Comic Book UI */
body .site-header {
    position: fixed !important; top: 0; left: 0; width: 100%; height: 100px;
    background: #6ede00 !important; z-index: 9999999 !important; border-bottom: 6px solid #000 !important;
    box-shadow: 8px 8px 0 #000 !important; display: flex !important; align-items: center !important;
    max-width: 100vw !important;
}
body .header-container { width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 30px; }

body .logo-box a { text-decoration: none; }
body .logo-image { height: 90px; width: auto; max-width: none; filter: drop-shadow(4px 4px 0 #000); }
body .slogan-box { font-weight: 900; color: #000; text-transform: uppercase; font-size: 1.2rem; text-shadow: 3px 3px 0 var(--ast-global-color-4), 6px 6px 0 #000; }

/* Menü - Comic Book UI */
body .navigation-box { display: flex; align-items: center; }
body .main-nav { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
body .main-nav a { color: #000 !important; font-weight: 900; text-decoration: none; text-transform: uppercase; font-size: 16px; transition: 0.2s; border: 3px solid #000; padding: 8px 16px; background: var(--ast-global-color-4); box-shadow: 4px 4px 0 #000; }
body .main-nav a:hover { background: #6ede00 !important; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }

/* OLDAL SZERKEZET: Címsor -> Kép -> Szöveg - Comic Book UI */
.page-main-container {
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.page-main-title {
    color: #6ede00 !important;
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
    text-shadow: 4px 4px 0 #000;
    letter-spacing: 2px;
}

/* Gutenberg block overrides */
.editor-styles-wrapper .page-main-title,
.editor-styles-wrapper h1.page-main-title,
.block-editor-block-list__block .page-main-title,
h1.page-main-title {
    color: #6ede00 !important;
    text-shadow: 4px 4px 0 #000;
}

.page-main-image {
    margin: 0 auto 30px auto;
    width: auto;
    max-width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    display: block;
}

.modern-img {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    border: 6px solid #000;
    box-shadow: 8px 8px 0 #000;
    background: var(--ast-global-color-4);
}

/* Center Gutenberg image blocks */
.wp-block-image {
    text-align: center;
    margin: 0 auto 30px auto;
}

/* Override Gutenberg default image height */
.wp-block-image img {
    max-height: 500px !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
    border: 6px solid #000;
    box-shadow: 8px 8px 0 #000;
}

.page-main-text {
    font-size: 20px;
    line-height: 1.6;
    color: #000;
    padding: 20px 0;
    text-align: center;
    font-weight: 700;
    background: var(--ast-global-color-4);
    border: 4px solid #000;
    box-shadow: 6px 6px 0 #000;
    padding: 30px;
}

/* Contact form styles - Comic Book UI */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: var(--ast-global-color-4);
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
}

.contact-form-field {
    margin-bottom: 20px;
}

.contact-form-field label {
    display: block;
    font-weight: 900;
    margin-bottom: 10px;
    color: #000;
    text-transform: uppercase;
}

.contact-form-field textarea {
    width: 100%;
    padding: 15px;
    border: 4px solid #000;
    font-size: 18px;
    font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
    resize: vertical;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
}

.contact-form-field textarea:focus {
    outline: none;
    border-color: #6ede00;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.contact-submit-btn {
    background: #6ede00;
    color: #000;
    border: 4px solid #000;
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 4px 4px 0 #000;
}

.contact-submit-btn:hover {
    background: #5bc800;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}