/**
 * Veloce Cloud Brand Theme CSS
 * Custom styles for the Twenty Twenty-Four WordPress theme
 * Aligned with Veloce Cloud brand identity
 */

:root {
    /* Typography */
    --veloce-font-family-heading: "Syne", sans-serif;
    --veloce-font-family-body: "DM Sans", sans-serif;
}

/* ─── GENERAL TYPOGRAPHY ─── */

body {
    font-family: var(--veloce-font-family-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--veloce-font-family-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.05rem;
    font-weight: 600;
}

h6 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

p {
    margin-bottom: 1.2rem;
}

/* ─── LINKS ─── */

a {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 2px solid;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ─── BUTTONS ─── */

.wp-block-button__link,
.wp-block-buttons .wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: var(--veloce-font-family-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

.wp-block-button__link:hover,
.wp-block-buttons .wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.wp-block-button__link:focus,
.wp-block-buttons .wp-block-button__link:focus,
button:focus,
input[type="button"]:focus,
input[type="submit"]:focus {
    outline: 2px solid;
    outline-offset: 2px;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-buttons .is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-buttons .is-style-outline .wp-block-button__link:hover {
    background-color: inherit;
}

/* ─── HEADINGS & LABELS ─── */

.wp-block-heading {
    font-family: var(--veloce-font-family-heading);
}

.wp-block-post-title {
    font-family: var(--veloce-font-family-heading);
}

/* Section labels */
.section-label,
.wp-block-post-terms {
    font-family: var(--veloce-font-family-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* ─── CARDS & CONTAINERS ─── */

.wp-block-post,
.wp-block-group,
.wp-block-column {
    border-radius: 12px;
    overflow: hidden;
}

.wp-block-group.has-background {
    border-radius: 12px;
}

/* Dark cards */
.wp-block-group.has-navy-background-color {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.wp-block-group.has-navy-background-color p,
.wp-block-group.has-navy-background-color h1,
.wp-block-group.has-navy-background-color h2,
.wp-block-group.has-navy-background-color h3,
.wp-block-group.has-navy-background-color h4,
.wp-block-group.has-navy-background-color h5,
.wp-block-group.has-navy-background-color h6 {}

.wp-block-group.has-navy-background-color a {}

/* ─── IMAGES ─── */

.wp-block-image img,
.wp-block-gallery img {
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.wp-block-image:hover img,
.wp-block-gallery:hover img {
    transform: scale(1.02);
}

/* ─── LISTS ─── */

.wp-block-list li {
    margin-bottom: 0.75rem;
}

.wp-block-list li::marker {}

/* ─── QUOTES & PULLQUOTES ─── */

.wp-block-quote {
    border-left: 4px solid;
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
}

.wp-block-pullquote {
    border: none;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.wp-block-pullquote blockquote {
    font-family: var(--veloce-font-family-heading);
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

/* ─── SEPARATOR ─── */

.wp-block-separator {
    border: none;
    border-top: 2px solid;
    margin: 2rem 0;
}

.wp-block-separator.is-style-dots {
    text-align: center;
}

/* ─── FORMS ─── */

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
textarea,
select {
    font-family: var(--veloce-font-family-body);
    border: 2px solid;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: inherit;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

input::placeholder,
textarea::placeholder {}

/* ─── NAVIGATION ─── */

.wp-block-navigation__container {
    font-family: var(--veloce-font-family-body);
    font-weight: 500;
}

.wp-block-navigation a {
    transition: color 0.2s ease-in-out;
}

.wp-block-navigation a:hover,
.wp-block-navigation .is-active a {}

/* ─── HEADER STYLING ─── */

.wp-block-template-part.is-area-header {
    border-bottom: 1px solid;
    padding: 1.5rem 0;
}

.wp-block-site-title {
    font-family: var(--veloce-font-family-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.wp-block-site-tagline {
    font-size: 0.9rem;
}

/* ─── FOOTER STYLING ─── */

.wp-block-template-part.is-area-footer {
    padding: 3rem 0;
    border-top: 4px solid;
}

.wp-block-template-part.is-area-footer p,
.wp-block-template-part.is-area-footer a {}

.wp-block-template-part.is-area-footer h1,
.wp-block-template-part.is-area-footer h2,
.wp-block-template-part.is-area-footer h3,
.wp-block-template-part.is-area-footer h4,
.wp-block-template-part.is-area-footer h5,
.wp-block-template-part.is-area-footer h6 {}

.wp-block-template-part.is-area-footer a:hover {}

/* ─── CODE BLOCKS ─── */

.wp-block-code {
    border-left: 4px solid;
    border-radius: 8px;
    padding: 1.5rem;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.wp-block-code code {}

/* ─── TABLES ─── */

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.5rem 0;
}

.wp-block-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid;
}

.wp-block-table td {
    border-bottom: 1px solid;
    padding: 1rem;
}

.wp-block-table tr:hover td {}

/* ─── ANIMATIONS ─── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wp-block-group,
.wp-block-post {
    animation: fadeInUp 0.6s ease-out;
}

/* ─── UTILITY CLASSES ─── */

.has-cyan-color {}

.has-navy-color {}

.has-navy-mid-color {}

.has-warm-orange-color {}

.has-cyan-background-color {}

.has-navy-background-color {}

.has-navy-mid-background-color {}

.has-warm-orange-background-color {}

/* ─── RESPONSIVE ADJUSTMENTS ─── */

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .wp-block-button__link,
    button,
    input[type="button"],
    input[type="submit"] {
        width: 100%;
        padding: 0.85rem 1rem;
    }
}

/* ─── ACCESSIBILITY ─── */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    body {}

    p {}

    a {}

    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="url"],
    textarea,
    select {}
}