/*
Theme Name: Masáže - Petra Grégerová
Theme URI: https://example.com/masaze
Author: Petra Grégerová
Author URI: https://example.com
Description: Jednoduchá jednostránková šablona pro masážní salón Petry Grégerové. Šalvějově zelená paleta, organický přírodní styl.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: masaze
*/

/* ===== CSS VARIABLES ===== */
:root {
    --sage-light: #e8edd4;
    --sage: #d4ddc5;
    --sage-mid: #b5c4a0;
    --sage-dark: #8fa675;
    --green-accent: #7ab648;
    --green-dark: #2d4a22;
    --green-deepest: #1a2e14;
    --cream: #f5f3ee;
    --cream-warm: #faf8f3;
    --white: #ffffff;
    --text: #2c3e24;
    --text-light: #5a6b50;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text);
    background: var(--cream-warm);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ===== WORDPRESS OVERRIDES ===== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Hide WP admin bar spacing */
body.admin-bar .site-nav {
    top: 52px;
}

@media (max-width: 782px) {
    body.admin-bar .site-nav {
        top: 58px;
    }
}

/* ===== DECORATIVE LEAVES ===== */
.leaf-svg {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.leaf-branch {
    fill: none;
    stroke: var(--sage-mid);
    stroke-width: 2;
}

.leaf-fill {
    fill: var(--sage-mid);
    opacity: 0.7;
}

.leaf-fill-dark {
    fill: var(--green-dark);
    opacity: 0.6;
}

/* ===== NAVIGATION ===== */
.site-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 14px 36px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 32px;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo svg {
    width: 28px;
    height: 28px;
}

.nav-logo span {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green-dark);
}

.site-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--green-accent);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: background 0.3s !important;
}

.nav-phone:hover {
    background: var(--green-dark) !important;
    color: white !important;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 40%, var(--cream) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(122, 182, 72, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(181, 196, 160, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    color: var(--green-deepest);
    line-height: 1.05;
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-text .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text .tagline {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 420px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
    padding: 18px 40px;
    background: var(--green-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 8px 30px rgba(122, 182, 72, 0.3);
}

.hero-cta:hover {
    background: var(--green-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(45, 74, 34, 0.3);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1.2s ease-out 0.3s both;
}

.hero-image-frame {
    position: relative;
    border-radius: 200px 200px 120px 120px;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 30px 80px rgba(45, 74, 34, 0.15);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 140px;
    height: 140px;
    background: var(--green-accent);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.hero-image-accent-2 {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--sage-mid);
    border-radius: 50%;
    z-index: -1;
}

/* ===== SECTIONS ===== */
section {
    position: relative;
}

.section-padding {
    padding: 100px 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--green-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--green-deepest);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 560px;
}

/* ===== SERVICES ===== */
.services {
    background: var(--cream-warm);
    overflow: hidden;
}

.services-header {
    text-align: center;
    margin-bottom: 72px;
}

.services-header .section-desc {
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 24px;
    padding: 44px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(181, 196, 160, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-mid), var(--green-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(45, 74, 34, 0.1);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--green-accent);
}

.service-card:hover .service-icon svg {
    stroke: white;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--green-dark);
    stroke-width: 1.5;
    fill: none;
    transition: stroke 0.4s ease;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-deepest);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ===== BENEFITS ===== */
.benefits {
    background: linear-gradient(180deg, var(--sage-light) 0%, var(--sage) 100%);
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(45, 74, 34, 0.08);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--green-accent);
    stroke-width: 2;
    fill: none;
}

.benefit-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--green-deepest);
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-light);
}

.benefits-visual-card {
    background: white;
    border-radius: 32px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(45, 74, 34, 0.1);
}

.benefits-visual-card .big-quote {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--sage-mid);
    line-height: 1;
    margin-bottom: -20px;
}

.benefits-visual-card blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--green-deepest);
    line-height: 1.5;
    margin-bottom: 20px;
}

.benefits-visual-card .quote-author {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--cream-warm);
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--sage-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--green-dark);
    stroke-width: 2;
    fill: none;
}

.contact-item-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.contact-item-text strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--green-deepest);
}

.contact-item-text a {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--green-deepest);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-text a:hover {
    color: var(--green-accent);
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(45, 74, 34, 0.1);
    aspect-ratio: 4/3;
    background: var(--sage);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cta-phone-big {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    padding: 22px 44px;
    background: var(--green-accent);
    color: white;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(122, 182, 72, 0.3);
}

.cta-phone-big:hover {
    background: var(--green-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(45, 74, 34, 0.3);
}

.cta-phone-big svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--green-deepest);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 40px 40px;
    text-align: center;
}

.site-footer .footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.site-footer .footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--sage-mid);
    margin-bottom: 28px;
}

.site-footer .footer-contact {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.site-footer .footer-contact a {
    color: var(--sage-mid);
    text-decoration: none;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
    font-size: 0.85rem;
}

.site-footer .heart {
    color: var(--green-accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 140px 24px 60px;
        text-align: center;
    }

    .hero-text .tagline {
        margin: 0 auto;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
           display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-items: center;
    }

    .benefits-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .site-nav {
        padding: 10px 20px;
        gap: 16px;
    }

    .site-nav a:not(.nav-logo):not(.nav-phone) {
        display: none;
    }

    .section-padding {
        padding: 72px 24px;
    }
}

@media (max-width: 640px) {
    .services-grid {
          display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-items: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .site-nav {
        top: 12px;
        padding: 10px 16px;
        gap: 12px;
    }

    .nav-logo span {
        display: none;
    }

}
.services-grid--centered {
    grid-template-columns: repeat(2, 1fr);
    max-width: 66.666%;
    margin: 28px auto 0;
}


