/*
Theme Name: UHH Design Home
Theme URI: https://home.uhh.lv
Author: UHH
Author URI: https://home.uhh.lv
Description: Custom theme for UHH Design Home - interior solutions showcase
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: uhh
*/

:root {
    --green-primary: #2d6a2e;
    --green-badge: #3a8c3b;
    --card-radius: 16px;
    --text-muted-custom: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 24px;
    flex: 1;
    width: 100%;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

.hero-section {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    grid-row: 1 / 2;
    align-self: stretch;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 35, 0.85) 0%, rgba(15, 23, 35, 0.45) 35%, rgba(15, 23, 35, 0) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 36px;
    color: #fff;
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 440px;
}

.hero-content p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 460px;
}

.right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.right-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
}

.logo-area {
    flex: 1;
    display: flex;
}

.logo-area img {
    height: 72px;
    width: auto;
}

.website-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.website-link .dot {
    width: 10px;
    height: 10px;
    background-color: var(--green-badge);
    border-radius: 50%;
    display: inline-block;
}

.website-link:hover {
    color: #1e5420;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.brand-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid #DADADA;
    transition: border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.brand-card:hover {
    border-color: #bbb;
    color: inherit;
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.card-body-custom {
    padding: 16px 18px 20px;
}

.card-body-custom h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.card-body-custom p {
    font-size: 13px;
    color: var(--text-muted-custom);
    margin: 0;
    line-height: 1.5;
}

.site-footer {
    padding: 32px 24px;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
}

.site-footer a {
    color: var(--text-muted-custom);
    text-decoration: none;
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--green-primary);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-section {
        min-height: 420px;
    }

    .right-header {
        justify-content: center;
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    .page-wrapper {
        padding: 20px 16px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-section {
        min-height: 360px;
    }

    .hero-content {
        padding: 24px 20px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
    }

    .logo-area img {
        height: 56px;
    }

    .right-header {
        flex-direction: column;
        gap: 12px;
    }
}
