/*
Theme Name: MG1
Theme URI: 
Author: Crush Digital
Author URI: https://trycrush.com
Description: A modern minimal WordPress theme using Tailwind CSS
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mg1
*/

/* Custom styles */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* WordPress menu styling */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    display: inline-block;
}

.menu-item a {
    text-decoration: none;
    color: #000000;
}

/* Neo Brutalism styles */
:root {
    --neo-pink: #FF90E8;
    --neo-green: #93FF96;
    --neo-yellow: #FFF066;
    --neo-blue: #86E6FF;
}

.shadow-brutal {
    box-shadow: 6px 6px 0px #000000;
}

.hover-brutal:hover {
    transform: translate(-6px, -6px);
    box-shadow: 12px 12px 0px #000000;
    transition: all 0.2s ease;
}

/* Button styles */
.btn-brutal {
    background: var(--neo-yellow);
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: rotate(-1deg);
}

.btn-brutal:hover {
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000000;
}

/* Card styles */
.card-brutal {
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 8px 8px 0px #000000;
}

/* Input styles */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    background: #ffffff;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    padding: 0.75rem;
    width: 100%;
    transform: rotate(-1deg);
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    outline: none;
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000000;
}

/* Neo-brutal specific utilities */
.rotate-brutal {
    transform: rotate(-2deg);
}

.rotate-brutal-reverse {
    transform: rotate(2deg);
}

.border-brutal {
    border: 3px solid #000000;
}

/* Submit button styling */
input[type="submit"],
button[type="submit"] {
    background: var(--neo-yellow);
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    transform: rotate(-1deg);
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000000;
}

/* Form labels */
label {
    display: inline-block;
    background: var(--neo-blue);
    padding: 0.5rem 1rem;
    border: 2px solid #000000;
    transform: rotate(-1deg);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Comment form specific */
.comment-form-comment label {
    background: var(--neo-pink);
}

.comment-form-author label {
    background: var(--neo-yellow);
}

.comment-form-email label {
    background: var(--neo-green);
}

.comment-form-url label {
    background: var(--neo-blue);
}

/* Comment list styling */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    transform: rotate(-0.5deg);
}

.comment:nth-child(even) {
    transform: rotate(0.5deg);
}

.comment-author .avatar {
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
}

/* Navigation links */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.nav-previous a,
.nav-next a {
    background: var(--neo-green);
    border: 3px solid #000000;
    box-shadow: 6px 6px 0px #000000;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #000000;
}

/* Comment form textarea specific */
#comment {
    background: #ffffff;
    border: 3px solid #000000 !important;
    box-shadow: 8px 8px 0px #000000 !important;
    padding: 1rem !important;
    width: 100%;
    transform: rotate(-1deg);
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    resize: vertical;
}

#comment:focus {
    outline: none !important;
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000000 !important;
}

/* Comment submit button */
#submit {
    background: var(--neo-yellow) !important;
    border: 3px solid #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: bold !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    transform: rotate(-1deg);
    color: #000000 !important;
    text-transform: none !important;
}

#submit:hover {
    transform: translate(-6px, -6px) rotate(-1deg) !important;
    box-shadow: 12px 12px 0px #000000 !important;
}

/* Comment form fields */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    background: #ffffff !important;
    border: 3px solid #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
    padding: 0.75rem !important;
    width: 100%;
    transform: rotate(-1deg);
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus {
    outline: none !important;
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 12px 12px 0px #000000 !important;
}

/* Comment form layout */
.comment-form {
    display: grid;
    gap: 1.5rem;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 1rem;
}

/* Comment notes */
.comment-notes {
    background: var(--neo-blue);
    padding: 1rem;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    transform: rotate(1deg);
    margin-bottom: 1.5rem;
}

/* Required fields notice */
.required-field-message {
    background: var(--neo-pink);
    padding: 0.5rem 1rem;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    transform: rotate(-1deg);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Menu styling */
@media (max-width: 1024px) {
    #mobile-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    #mobile-menu.hidden {
        display: none;
    }
}

/* Desktop menu */
@media (min-width: 1024px) {
    .menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
} 