/*
Theme Name: Plutus Logistic
Theme URI: https://example.com/plutus-logistic
Author: Gerry-Rego Lepik
Description: WordPress theme converted from the Plutus Logistic static landing page. Includes customizable hero background, social links, contact details, and a built-in contact form.
Version: 1.1.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plutus-logistic
*/

:root {
    --overlay: rgba(0, 0, 0, 0.5);
    --panel-bg: rgba(255, 255, 255, 0.78);
    --border: #ffffff;
    --text: #000000;
    --accent: #000000;
    --content-max: 780px;
    --gap: 18px;
    --font-display: "Bungee", "Oswald", "New Amsterdam", sans-serif;
    --page-zoom: 0.8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-display);
    font-style: normal;
    color: var(--text);
    background-color: #111;
    min-height: calc(100vh / var(--page-zoom));
}

/* Global desktop zoom */
html {
    zoom: var(--page-zoom);
}

@supports not (zoom: 1) {
    html {
        transform: scale(var(--page-zoom));
        transform-origin: top center;
    }
}

a {
    color: inherit;
}

.hero {
    position: relative;
    min-height: calc(100vh / var(--page-zoom));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: scroll;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 0;
}

.panel {
    position: relative;
    z-index: 1;
    background: var(--panel-bg);
    padding: 22px 22px 26px;
    border: 2px solid var(--border);
    border-radius: 12px;
    max-width: var(--content-max);
    width: min(94vw, var(--content-max));
    display: grid;
    gap: var(--gap);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.site-logo {
    width: 100%;
    height: auto;
}

.site-title {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 3.3rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0;
}

.nav a {
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav .current-menu-item a {
    border-color: var(--accent);
}

.divider {
    width: 46%;
    margin: -6px auto 0;
    border: 0;
    border-top: 2px solid var(--border);
}

.social {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social img {
    width: 22px;
    height: 22px;
    display: block;
}

.page-shell {
    min-height: calc(100vh / var(--page-zoom));
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.page-panel {
    position: relative;
    z-index: 1;
    background: var(--panel-bg);
    padding: 24px 26px 30px;
    border: 2px solid var(--border);
    border-radius: 12px;
    max-width: var(--content-max);
    width: min(94vw, var(--content-max));
    display: grid;
    gap: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.page-title {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 2.6rem);
    font-weight: 700;
    text-align: center;
}

.page-panel p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.page-panel ul {
    text-align: left;
    padding-left: 22px;
    margin: 0 0 14px 10px;
    line-height: 1.6;
    list-style-position: outside;
}

.list-clean {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 1.08rem;
    line-height: 1.55;
}

.list-clean li {
    position: relative;
    padding-left: 26px;
}

.list-clean li::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: var(--accent);
    font-size: 1.4rem;
    top: 0;
}

.page-panel ul,
.page-panel ol {
    text-align: left !important;
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.page-panel ul li,
.page-panel ol li {
    text-align: left !important;
}

.services-list {
    margin: 0 auto 12px;
    padding-left: 0;
    max-width: 360px;
}

.page-panel .wp-block-list,
.page-panel .has-text-align-center,
.page-panel .has-text-align-center * {
    text-align: left !important;
}

.back-link a {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 22px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.98rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.back-link a:hover {
    background: var(--accent);
    color: #fff;
}

.contact-info {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    gap: 12px;
    text-align: left;
}

.contact-form label {
    font-weight: 600;
    font-size: 0.98rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #000;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    justify-self: start;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.contact-form button:hover {
    opacity: 0.9;
}

.contact-form button:active {
    transform: translateY(1px);
}

.notice {
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid currentColor;
}

.notice.success {
    background: #e8f6ec;
    color: #146c2e;
    border-color: #c4e6ce;
}

.notice.error {
    background: #fceaea;
    color: #9e1c1c;
    border-color: #f3c4c4;
}

@media (max-width: 640px) {
    .panel,
    .page-panel {
        padding: 16px;
        gap: 12px;
        width: 94vw;
        max-height: calc(100vh - 32px);
        overflow: auto;
    }

    .nav {
        gap: 12px;
        font-size: 1.05rem;
    }

    .nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .site-title {
        font-size: clamp(1.9rem, 8vw, 2.4rem);
    }

    .page-title {
        font-size: clamp(1.7rem, 7vw, 2.1rem);
    }

    .hero,
    .page-shell {
        align-items: center;
        padding: 12px 0 18px;
    min-height: 100vh;
    }

    .services-list {
        max-width: 100%;
    }

    .contact-form button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .panel,
    .page-panel {
        width: 92vw;
        padding: 14px;
        gap: 12px;
        border-radius: 10px;
    }

    .site-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .page-title {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem);
    }

    .nav ul {
        gap: 6px;
    }

    .divider {
        width: 68%;
    }
}
