/*
Theme Name: RABAREKO Custom
Theme URI: https://rabareko.cz
Author: Nightek
Description: Jednostránková WordPress šablona pro RABAREKO podle webu z Macaly. Obsahuje pevnou horní lištu, logo, sekce O nás, Služby, Realizace a Kontakt.
Version: 1.0.0
Text Domain: rabareko
*/

:root {
    --gold: #d4af37;
    --gold2: #f2d36b;
    --black: #050505;
    --dark: #0d0d0d;
    --muted: #b8b8b8;
    --white: #fff;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #070707;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(var(--max), calc(100% - 36px));
    margin: auto;
}

/* Horní informační lišta */
.topbar {
    background: #000;
    border-bottom: 1px solid rgba(212, 175, 55, .22);
    font-size: 14px;
    color: #ddd;
}

.topbar .container {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    padding: 9px 0;
}

.topbar b {
    color: var(--gold2);
}

/* Header / menu */
.site-header{
    position:sticky;
    top:0;
    z-index:99;
    background:linear-gradient(
        180deg,
        rgba(18,18,18,.97),
        rgba(13,13,13,.97)
    );
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(212,175,55,.20);
}

.nav-wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    display: block;
    width: 360px;
    max-height: 140px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
}

.main-nav a{
    opacity:.9;
    transition:.25s ease;
}

.main-nav a:hover,
.main-nav a.active{
    color:var(--gold);
    text-shadow:0 0 12px rgba(212,175,55,.35);
}

.call-btn {
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 800;
    transition: .25s ease;
}

.call-btn:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, .28);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(212, 175, 55, .55);
    color: var(--gold);
    padding: 9px 12px;
    border-radius: 4px;
    font-weight: 800;
}

/* Hero sekce */
.hero {
    min-height: calc(100vh - 86px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://vwh6515.133.vedos.website/wp-content/uploads/2026/06/kuchyne-new.png') center/cover no-repeat;
    filter: blur(3.5px);
    transform: scale(1.05);
    z-index: 0;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    color: var(--gold2);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.hero h1 {
    font-size: clamp(54px, 8vw, 105px);
    line-height: .9;
    margin: 18px 0 22px;
    letter-spacing: .02em;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: clamp(18px, 2.2vw, 26px);
    color: #f1f1f1;
    margin: 0 0 34px;
}

.hero-logo {
    margin: 20px 0 30px;
}

.hero-logo{
    margin-left:-40px;
}

.hero-logo img {
    width: 500px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tlačítka */
.btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 2px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px;
    transition: .25s ease;
}

.btn.primary {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #111;
}

.btn.outline {
    border: 1px solid var(--gold);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, .28);
}

.btn.primary:hover {
    filter: brightness(1.08);
}

.btn.outline:hover {
    background: var(--gold);
    color: #111;
}

/* Obecné sekce */
.section {
    padding: 92px 0;
}

.section.light{
    background:#161616;
    color:#fff;
	    border-top:1px solid rgba(212,175,55,.35);
    border-bottom:1px solid rgba(212,175,55,.35);
}

.section-title {
    text-align: center;
    margin: 0 0 45px;
}

.eyebrow {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 13px;
}

.section-title h2 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    margin: 8px 0 0;
}

/* O nás */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: center;
}

.about-photo {
    min-height: 430px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text h2 {
    font-size: 40px;
    line-height: 1.05;
    margin: 6px 0 22px;
}

.about-text p {
    color: #d7d7d7;
    font-size: 17px;
}

/* Služby */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.service-card {
    background: #111;
	position:relative;
    border: 1px solid rgba(212, 175, 55, .22);
    padding: 34px;
    border-radius: 6px;
    min-height: 240px;
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.service-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:3px;
    background:var(--gold);
}

.service-card .icon {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 24px;
    margin: 0 0 14px;
}

.service-card p {
    color: #cfcfcf;
}

/* Realizace */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.work-card {
    position: relative;
    min-height: 260px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, #6d6257, #1b1b1b);
}

.work-card:nth-child(2) {
    background: linear-gradient(135deg, #e2ded7, #555);
}

.work-card:nth-child(3) {
    background: linear-gradient(135deg, #979087, #28221d);
}

.work-card:nth-child(4) {
    background: linear-gradient(135deg, #4d4035, #101010);
}

.work-card:nth-child(5) {
    background: linear-gradient(135deg, #b7afa3, #363636);
}

.work-card:nth-child(6) {
    background: linear-gradient(135deg, #312a25, #080808);
}

.work-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(0, 0, 0, .86));
}

.work-card h3 {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 18px;
    margin: 0;
    font-size: 20px;
}

/* Lišta výhod */
.features {
	    background:#161616;
    color:#fff;
    border-top:1px solid rgba(212,175,55,.35);
    border-bottom:1px solid rgba(212,175,55,.35);
    padding: clamp(40px, 8vw, 100px) 0;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature .ico {
    color: var(--gold);
    font-size: 32px;
}

.feature b {
    display: block;
    font-size: 16px;
}

.feature span {
    display: block;
    color: #c7c7c7;
    font-size: 14px;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 36px;
}

.contact-box {
    background: #111;
    border: 1px solid rgba(212, 175, 55, .25);
    padding: 30px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.contact-box b {
    color: var(--gold);
    display: block;
    margin-bottom: 7px;
}

.form-box {
    background: #111;
    padding: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, .08);
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 15px;
    margin: 0 0 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: #070707;
    color: #fff;
    border-radius: 4px;
}

.form-box textarea {
    min-height: 150px;
}

.form-box .wpforms-field{
    padding-bottom:14px;
}

.form-box .wpforms-field-label{
    color:var(--gold);
    font-weight:700;
}

.form-box .wpforms-field input,
.form-box .wpforms-field textarea{
    width:100% !important;
    padding:15px !important;
    border:1px solid rgba(255,255,255,.12) !important;
    background:#070707 !important;
    color:#fff !important;
    border-radius:4px !important;
}

.form-box .wpforms-submit{
    background:linear-gradient(135deg,var(--gold),var(--gold2)) !important;
    color:#111 !important;
    border:none !important;
    padding:15px 25px !important;
    border-radius:4px !important;
    font-weight:700 !important;
    text-transform:uppercase;
}

/* WPForms - RABAREKO styl */
.form-box,
.wpforms-container {
    background: #111;
    padding: 34px;
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.wpforms-container label,
.wpforms-container .wpforms-field-label {
    color: #d4af37 !important;
    font-weight: 600 !important;
}

/* Křestní jméno / Příjmení bíle */
.wpforms-container .wpforms-field-sublabel {
    color: #fff !important;
}

.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select {
    width: 100% !important;
    background: #070707 !important;
    color: #fff !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 4px !important;
    padding: 15px !important;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus {
    border-color: #d4af37 !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(212,175,55,0.35) !important;
}

.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: rgba(255,255,255,0.45) !important;
}

/* Tlačítko stejné jako .btn.primary */
.wpforms-container button[type="submit"],
.wpforms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 28px !important;
    border-radius: 2px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    transition: filter .25s ease !important;

    background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
    color: #111 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container button[type="submit"]:focus,
.wpforms-submit:hover,
.wpforms-submit:focus {
    background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
    color: #111 !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: brightness(1.08) !important;
    transform: none !important;
    outline: none !important;
}

.wpforms-container .wpforms-field:first-child {
    margin-top: -42px !important;
}

/* Footer */
.site-footer {
    background: #000;
    border-top: 1px solid rgba(212, 175, 55, .18);
    padding: 30px 0;
    color: #aaa;
    text-align: center;
}



/* Tablet */
@media (max-width: 900px) {

    .topbar {
        display: none;
    }

    .nav-wrap {
        height: 76px;
    }

    .brand img {
        width: 210px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 76px;
        background: #000;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 28px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .main-nav.open {
        display: flex;
    }

    .call-btn {
        display: none;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .work-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features .container {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        min-height: 560px;
    }

    /* HERO centrování */

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 0 24px 0;
        transform: none !important;
    }

    .hero-logo img {
        width: 500px;
        max-width: 90%;
        height: auto;
        display: block;
        margin: 0 auto !important;
    }

    .btns {
        justify-content: center;
    }

    .hero-kicker,
    .hero p {
        text-align: center;
    }
}

/* Větší mobily */
@media (min-width: 390px) and (max-width: 600px) {
	.hero {
    min-height: calc(100vh - 76px);
}
	
    .nav-wrap {
        height: 88px;
    }

    .brand img {
        width: 220px;
    }

    .main-nav {
        top: 88px;
    }

    .hero {
        min-height: 640px;
    }

    .hero-logo img {
        width: 420px;
        max-width: 92%;
    }
}

/* Mobil */
@media (max-width: 600px) {
    .services,
    .work-grid,
    .features .container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .brand img {
        width: 180px;
    }

    .hero {
    min-height: calc(100vh - 76px);
}

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-logo {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 0 24px 0;
        transform: none !important;
    }

    .hero-logo img {
        width: 360px;
        max-width: 90%;
        height: auto;
        display: block;
        margin: 0 auto !important;
    }

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