/*
Theme Name: Diogo Auto
Theme URI: https://diogoauto.pt
Author: Antigravity
Description: Tema premium baseado no design Paper para a Diogo Auto.
Version: 1.0
Text Domain: diogoauto
*/

/* --- Design System --- */
:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-grey: #DDDDDD;
    --color-accent: #C72F2E;
    --color-text-dark: #101828;
    --color-text-light: #667085;

    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --container-width: 1280px;
    --section-padding: 96px 0;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section {
    padding: var(--section-padding);
}

/* --- Typography --- */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white);
}

.bg-black {
    background-color: var(--color-black);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #333;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-outline:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* --- Utilities --- */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.grid {
    display: grid;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-16 {
    gap: 4rem;
}

.gap-24 {
    gap: 6rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-16 {
    margin-top: 4rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pl-6 {
    padding-left: 1.5rem;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.uppercase {
    text-transform: uppercase;
}

.circle {
    border-radius: 50%;
}

.rounded-lg {
    border-radius: 12px;
}

.bg-grey {
    background-color: var(--color-grey);
}

.bg-black {
    background-color: var(--color-black);
}

.bg-accent {
    background-color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
}

.text-accent {
    color: var(--color-accent);
}

.text-light-grey {
    color: #909090;
}

.text-dark {
    color: #171717;
}

/* --- Custom Logo Styling --- */
.custom-logo-link {
    display: inline-block;
    max-height: 40px;
}

.custom-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-brand .custom-logo-link {
    max-height: 60px;
    margin-bottom: 0px;
}

.footer-brand .custom-logo {
    max-height: 60px;
}