/* ============================================================
   Plzeňští kamnáři – hlavní stylesheet
   Migrace z WordPress/Elementor → Symfony 7.4
   ============================================================ */

/* --- Google Fonts (nahradit lokálními v produkci) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&family=Source+Sans+Pro:wght@300;400;600&display=swap');

/* --- CSS proměnné (brand barvy) --- */
:root {
    --color-gold:       #d4a056;
    --color-red:        #c12e2a;
    --color-dark:       #131c21;
    --color-dark-soft:  #1e1e1e;
    --color-gray:       #666666;
    --color-light-gray: #e5e5e5;
    --color-white:      #ffffff;
    --color-gold-light: #d7bd77;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Source Sans Pro', sans-serif;

    --container-max: 1200px;
    --transition:    0.3s ease;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
}

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

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-red); }

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

p { margin-bottom: 1em; }

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-dark-soft);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.5rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.site-logo img {
    height: 56px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    list-style: none;
}

.site-nav a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active { color: var(--color-gold); }

.header-phone a {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#uvod {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark) url('../images/uploads/2.jpg') center center / cover no-repeat;
    padding-top: 80px;
}

#uvod::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 33, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    padding: 2rem 1.5rem;
}

.hero-logo {
    max-width: 320px;
    margin: 0 auto 2rem;
    filter: brightness(1.1);
}

.hero-tagline {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 2px;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-dark);
}

.btn-gold:hover {
    background: var(--color-gold-light);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

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

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#nase-sluzby {
    padding: 6rem 0 4rem;
    background: var(--color-white);
}

.services-intro {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.services-intro h2 {
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.services-intro p {
    color: var(--color-gray);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    border: 1px solid var(--color-light-gray);
    transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--color-dark);
    line-height: 1.4;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.5;
}

/* --- Services highlight band --- */
.services-band {
    padding: 5rem 0;
    background: var(--color-red) url('../images/uploads/4-scaled.jpg') center center / cover no-repeat;
    background-blend-mode: multiply;
    text-align: center;
    color: var(--color-white);
}

.services-band p {
    max-width: 700px;
    margin: 0 auto 0.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#o-nas {
    padding: 6rem 0;
    background: var(--color-white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--color-gray);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#kontakt {
    padding: 6rem 0;
    background: var(--color-dark) url('../images/uploads/6-scaled.jpg') center center / cover no-repeat;
    position: relative;
}

#kontakt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 33, 0.85);
}

.kontakt-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.kontakt-inner h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
    color: var(--color-white);
}

.contact-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3.5rem;
    margin-bottom: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
}

.contact-list i {
    color: var(--color-gold);
    font-size: 1.1rem;
    width: 1.4rem;
    text-align: center;
}

.contact-list a {
    color: var(--color-white);
}

.contact-list a:hover { color: var(--color-gold); }

.contact-area {
    margin-top: 1.5rem;
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-light-gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 33, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-white);
    font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-empty,
.gallery-note {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-top: 2rem;
}

.gallery-note a { color: var(--color-gold); }

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RECENZE (Google Places)
   ============================================================ */
.reviews-section {
    padding: 5rem 0;
    background: var(--color-light-gray);
}

.reviews-section .container { text-align: center; }
.reviews-section .section-title { margin-bottom: 2rem; }

.reviews-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.reviews-summary-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-rating-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-dark-soft);
}

.reviews-summary-meta {
    color: #666;
    font-size: 0.95rem;
}

.reviews-stars { display: inline-flex; gap: 0.1rem; }
.star { color: #d6d6d6; font-size: 1.25rem; line-height: 1; }
.star-filled { color: #fbbc04; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.review-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-avatar-placeholder {
    background: var(--color-light-gray);
    color: var(--color-dark-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.review-author {
    font-weight: 600;
    color: var(--color-dark-soft);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.review-meta .star { font-size: 0.95rem; }

.review-text {
    margin: 0;
    color: #333;
    line-height: 1.55;
    font-size: 0.95rem;
}

.reviews-footer { margin-top: 2rem; }

.reviews-link {
    display: inline-block;
    color: var(--color-dark-soft);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark-soft);
    color: var(--color-light-gray);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

.site-footer a { color: var(--color-gold-light); }
.site-footer a:hover { color: var(--color-gold); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    background: var(--color-gold);
    color: var(--color-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: background var(--transition), transform var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

#scroll-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-3px);
}

#scroll-top.visible { display: flex; }

/* ============================================================
   PAGE HERO (pro podstránky)
   ============================================================ */
.page-hero {
    padding: 8rem 0 4rem;
    background: var(--color-dark-soft);
    text-align: center;
    color: var(--color-white);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--color-light-gray);
    font-size: 1.05rem;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-page-section {
    padding: 5rem 0;
}

.services-page-section:nth-child(even) {
    background: var(--color-light-gray);
}

.service-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2.5rem;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.service-detail-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--color-gold);
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.service-detail h2 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-dark);
}

.service-detail p {
    color: var(--color-gray);
    line-height: 1.7;
    margin: 0;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 3rem;
    background: var(--color-dark);
    color: var(--color-white);
}

.service-cta h2 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page {
    padding: 5rem 0;
}

.about-page-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
    padding: 5rem 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    color: var(--color-dark);
}

.contact-info-list i {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-list a { color: var(--color-dark); }
.contact-info-list a:hover { color: var(--color-gold); }

.contact-map-placeholder {
    background: var(--color-light-gray);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
    font-size: 1rem;
    border-radius: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner,
    .about-page-inner,
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image { order: -1; }
}

@media (max-width: 768px) {
    .site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--color-dark-soft); padding: 1rem; gap: 0.5rem; }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 0.6rem 0; display: block; border-bottom: 1px solid rgba(255,255,255,.08); }
    .nav-toggle { display: flex; }
    .header-phone { display: none; }

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

    .service-detail {
        grid-template-columns: 1fr;
    }

    .contact-list {
        flex-direction: column;
        align-items: center;
    }
}
