/**
 * K2 PRO - Custom Theme Styles
 */

:root {
    --primary: #ffb2b7;
    --accent: #d80a45;
    --dark-bg: #131313;
    --dark-surface: #20201f;
    --text-primary: #e5e2e1;
    --text-secondary: #c7c6c6;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Navigation Styling */
.wp-block-navigation a:hover {
    color: var(--primary);
}

/* Hero Sections */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, var(--dark-bg));
    z-index: 1;
}

.hero-section > * {
    position: relative;
    z-index: 2;
}

/* Glass Panel Effect */
.glass-panel {
    background: rgba(32, 32, 31, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 2px;
}

/* Section Styling */
.wp-block-group {
    padding: 60px 0;
}

/* Column Layouts */
.wp-block-columns {
    gap: 30px;
}

.wp-block-column {
    flex: 1;
}

/* Cover Blocks */
.wp-block-cover {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-block-cover-text {
    color: white;
    text-align: center;
}

/* Image Blocks */
.wp-block-image img {
    border-radius: 2px;
    transition: all 0.3s ease;
}

.wp-block-image:hover img {
    filter: brightness(1.1);
}

/* Heading Styles */
.wp-block-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    letter-spacing: -0.01em;
}

/* Paragraph */
.wp-block-paragraph {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* List Styles */
.wp-block-list {
    list-style-position: inside;
}

.wp-block-list li {
    margin-bottom: 15px;
    padding-left: 10px;
}

/* Quote Blocks */
.wp-block-quote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

/* Button Blocks */
.wp-block-button__link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 15px 30px;
    border-radius: 2px;
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: #67001c;
}

.wp-block-button__link:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Separator */
.wp-block-separator {
    border-color: rgba(172, 136, 137, 0.3);
}

/* Gallery */
.wp-block-gallery {
    gap: 20px;
}

.wp-block-gallery li {
    border-radius: 2px;
    overflow: hidden;
}

.wp-block-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Custom Contact Form Styles */
.k2pro-contact-form {
    max-width: 600px;
}

.k2pro-contact-form .form-group {
    margin-bottom: 25px;
}

.k2pro-contact-form label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(229, 189, 190, 0.7);
    display: block;
    margin-bottom: 10px;
}

.k2pro-contact-form input,
.k2pro-contact-form textarea,
.k2pro-contact-form select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(92, 63, 65, 0.3);
    color: var(--text-primary);
    padding: 12px 0;
    width: 100%;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.k2pro-contact-form input:focus,
.k2pro-contact-form textarea:focus,
.k2pro-contact-form select:focus {
    outline: none;
    border-bottom-color: var(--primary);
    background: transparent;
}

.k2pro-contact-form textarea {
    resize: none;
    min-height: 100px;
}

.k2pro-contact-form button[type="submit"] {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 15px 40px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: #67001c;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    border-radius: 2px;
}

.k2pro-contact-form button[type="submit"]:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.k2pro-contact-form button[type="submit"]:active {
    transform: scale(0.95);
}

/* Formulário Radio/Checkbox Style */
.k2pro-contact-form input[type="radio"],
.k2pro-contact-form input[type="checkbox"] {
    accent-color: var(--primary);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

table th {
    background: rgba(216, 10, 69, 0.1);
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
}

table td {
    border-bottom: 1px solid rgba(92, 63, 65, 0.3);
    padding: 15px;
}

table tr:hover {
    background: rgba(32, 32, 31, 0.5);
}

/* Code Blocks */
code,
pre {
    font-family: 'Monaco', 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 2px;
    overflow-x: auto;
}

pre {
    padding: 20px;
    margin: 20px 0;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .wp-block-columns {
        flex-direction: column;
    }

    .wp-block-column {
        flex: 100%;
    }

    .hero-section {
        min-height: 60vh;
    }

    .k2pro-contact-form {
        max-width: 100%;
    }
}

/* Notification Styles */
.k2pro-notification {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: slideIn 0.3s ease-out;
}

.k2pro-notification-success {
    background-color: #28a745;
    color: white;
}

.k2pro-notification-info {
    background-color: #17a2b8;
    color: white;
}

.k2pro-notification-error {
    background-color: #dc3545;
    color: white;
}

/* Accessibility */
a:focus,
input:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    footer,
    .k2pro-contact-form button {
        display: none;
    }
}
