@font-face {
  font-family: 'Source Sans Pro';
  src: url('../_fonts/SourceSans3-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../_fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; 
  font-style: normal;
}

:root {
    --bg: #fdfbf9;
    --brand: #b8976d;
    --brand-light: #e8ded1;
    --brand-dark: #8c7150;
    --brand-orange: #D4AF37;
    --text: #2d2a26;
    --text-muted: #6b6661;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(184, 151, 109, 0.1);
    --container-width: 600px;
    --star-symbol: '✦';
    --star-color: #c4a47c;
    --star-color-main: #c4a47c;
    --brutal-shadow: 0 15px 30px rgba(184, 151, 109, 0.4);	
    --bg-new: linear-gradient(135deg, #fdfbf7 0%, #f5ecd8 100%);
    --bg-luxus-krem: #FBF8F4;
}
html {
    scrollbar-gutter: stable;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
.user-indikator-area {
	position: relative;
}

.logo {
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -1.5px;
}

.logo .site {
    color: var(--text-muted);
    font-weight: 400;	
}

.logo .domain {
    color: var(--brand-orange);
    font-weight: 900;
}


.border {
	border: 1px solid #ccc;
}




/**
.container,
.section,
.footer,
.nav {
	border: 1px solid #ccc;
}
**/




/* --- ZÁKLADNÍ STRUKTURA APLIKACE --- */
.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    width: 100%;
    margin: 0 auto;
	padding: 25px 10px;
	background-color: transparent;
}

.section::after, .footer::before {
    content: "✦";
    position: absolute;
    color: var(--brand-light);
    opacity: 0.8;
    font-size: 39px;
    z-index: 800;
}
.section::after { top: 50px; right: 27%; }
.footer::before {  top: -25px; left: 50%; }


.box {
    padding: 20px;
}
#homepage .img_area {
        text-align: center;  

}

#homepage .img_area img {
	    margin-top: 0;
        width: 100% !important;   
        max-width: 400px !important; 
        transform: rotate(-5deg) !important; 
        height: auto !important; 
        border-radius: 12px !important; 
    }

.banner_box {
	position: absolute;
	z-index: 3;
	padding: 20px;
	background-color: var(--white);
	border-radius: 20px;
	box-shadow: var(--brutal-shadow);
	margin: 0 auto;
}
.banner_box.L {
	top: 325px;
	left: 10%;
	width: 250px;
}
.banner_box.M {
	top: 425px;
	left: calc(10% + 240px);
	width: 250px;	
}

.banner_box.S {
	top: 525px;
	left: calc(10% + 470px);
	width: 250px;
}

.section h1 {
    font-family: "Playfair Display", sans-serif;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    text-align: left;
    font-size: 2rem;
    color: var(--brand-dark);
	letter-spacing: -1px;
}

.section h2 {
    font-family: "Playfair Display", sans-serif;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-align: left;
    font-size: 1.75rem;
    color: var(--brand-orange);
	letter-spacing: -1px;
}

.section h3 {
    font-family: "Playfair Display", sans-serif;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    text-align: left;
    font-size: 1.5rem;
    color: var(--text-muted);
	letter-spacing: -1px;
}

a {
    color: var(--brand-dark);
    text-decoration: none;
    font-weight: 400;
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ccc;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.display_none {
    display: none;
}

/* --- NAVIGACE --- */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
    margin: 0;
}

.logo {
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -1.5px;
}

.logo .site {
    color: var(--text-muted);
    font-weight: 400;	
}

.logo .domain {
    color: var(--brand-orange);
    font-weight: 900;
}

.btn-cta-top {
    background: var(--brand);
    color: white;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cta-top:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.btn-form-send {
    background: var(--brand-orange);
    color: white;
    padding: 10px 22px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;	
	transform: translateY(-1px);
	border: none;
}
.btn-form-send:hover {
    opacity: 0.8;
}





/* --- FORMULÁŘE A DESIGN BLOKY --- */
.form-block {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--brutal-shadow);
    margin: 0 auto;
    width: 100%;
    max-width: 350px; /* 460.. Perfektně sedí do 600px kontejneru */
}

.form-block h2 {
    font-family: 'Playfair Display', sans-serif;
    font-size: 1.95rem;
    margin-bottom: 20px;
    color: var(--brand);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #e3ded7;
    background: #fdfbf9;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control:focus,
.form-textarea:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(184, 151, 109, 0.15);
}

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

.btn-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--brand-orange);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.btn-form:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.3;
}

/* --- STATISTICKÉ BLOKY (Kredit a stav) --- */
.sms-info-mini {
    width: 100%;
    max-width: 460px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--brand-light);
    padding: 15px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    margin: 0 auto;
}

.sms-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
    color: var(--text);
    font-weight: 600;
    gap: 5px;
}

.sms-col i {
    width: 20px;
    height: 20px;
    stroke: var(--brand-dark);
}

/* Výsledkový info-box zpráv */
.info-box {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--brand-orange);
    box-shadow: var(--shadow);
    text-align: left;
    max-width: 460px;
    margin: 20px auto 0 auto;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* --- VYSOUVACÍ MENU & OVERLAY --- */

/* Tlačítko pro otevření menu v navigaci */
.menu-toggle-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle-btn:hover {
    background: var(--brand-light);
}

.menu-toggle-btn i {
    width: 24px;
    height: 24px;
    stroke: var(--brand-dark);
}

/* Zatmívací pozadí */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(45, 42, 38, 0.4); /* Tvůj odstín var(--text) s průhledností */
    backdrop-filter: blur(3px);        /* Moderní rozmazání pozadí */
    z-index: 998;                      /* Těsně pod menu */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

ul {
	margin: 5px 0 5px 0;
	padding: 0;
}
li {
	margin: 5px 0 5px 0;
	padding: 0;
	list-style-type: none;
}





/* Samotný panel menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg);
    box-shadow: 10px 0 40px rgba(44, 38, 30, 0.15);
    z-index: 2000; /* Úplně nahoře nad vším */
    
    /* Výchozí stav: Schované vlevo mimo obrazovku */
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Luxusní plynulý dojezd */
}

.sidebar-menu.active {
    transform: translateX(0);
}

/* Hlavička menu (Logo a křížek) */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 24px;
    border-bottom: 1.5px solid var(--brand-light);
}

.menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
    transition: color 0.2s;
}

.menu-close:hover {
    color: var(--brand-dark);
}

/* Odkazy uvnitř menu */
.menu-links {
    padding: 15px 24px;
}

.menu-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand);
    font-weight: 700;
    margin: 0 0 10px 0;
}

.menu-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.05rem;
    color: var(--text);
    padding: 5px 0;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.menu-links a:hover {
    color: var(--brand-dark);
    transform: translateX(4px); /* Jemné poposkočení při hoveru */
}

.menu-links a i {
    width: 18px;
    height: 18px;
    stroke: var(--brand);
}

.menu-divider {
    height: 1px;
    background: var(--brand-light);
    margin: 10px 0;
    opacity: 0.7;
}

.menu-divider-transparent {
    height: 1px;
    background: var(--bg);
    margin: 10px 0;
    opacity: 0.7;
}

/* --- PATIČKA --- */
footer {
    position: relative;
}

.footer {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    padding: 0 20px;
}

.footer-grid .footer-col:nth-child(1) {
    grid-column: span 3; 
    text-align: left;  
	border: 1px solid #ccc;	
}

.logo-bottom {
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.logo-bottom .site { color: var(--text-muted); font-weight: 400; }
.logo-bottom .domain { color: var(--brand-orange); font-weight: 900; }

.footer-col p.app_description {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 15px auto;
    display: block;
}

.footer-col .title {
    font-size: 1.1rem;
    font-family: 'Playfair Display', sans-serif;
    color: var(--brand);
    font-weight: 700;
    margin-bottom: 15px;
}
.footer-col p.tac {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 3px 0;
}
.footer-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--text);
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--brand); }

.fooI {
    width: 16px;
    height: 16px;
    stroke: var(--brand);
    flex-shrink: 0;
}

/* Ikony sociálních sítí */

.footer .social_networks {
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 15px; 
    margin: 10px 0;
}
.sidebar-menu .social_networks {
	
	position: absolute;
	bottom: 20px;
	left: 40px;
	
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 15px; 
    margin: 10px 0;
}
.apps li a {
	padding: 0 0 0 9px;
}
.social-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
    filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(3000%) hue-rotate(335deg) brightness(85%) contrast(100%);
}
/**
.sidebar-menu .social-icon {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
    filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(3000%) hue-rotate(335deg) brightness(85%) contrast(100%);
}
**/

.sidebar-menu .social-icon {
        width: 30px;
        height: 30px;
        vertical-align: middle;
        transition: transform 0.3s ease, filter 0.3s ease;
        /* Změna barvy na tvou třešňovou/zlatou pomocí filtrů */
        filter: brightness(0) saturate(100%) invert(20%) sepia(85%) saturate(3000%) hue-rotate(335deg) brightness(85%) contrast(100%);
    }
.sidebar-menu .social-icon:hover {
        transform: scale(1.2);
        filter: brightness(0) saturate(100%) invert(65%) sepia(30%) saturate(500%) hue-rotate(350deg);
    }
	
	

.sidebar-menu .social-icon:hover,
.social-icon:hover {
    transform: scale(1.15);
}

/* Platební brány */
.footer .payment-methods {
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    align-items: center;
    margin: 40px 0 20px 0;
    opacity: 0.5;
}

.footer .disclaimer .copyright {
    text-align: center; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    font-weight: 600; 
}

/* --- ASYMETRICKÝ LAYOUT (DESKTOP OD 769px) --- */
@media (min-width: 769px) {
    .app-layout {
        display: flex;
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
		position: relative;
    }

    /* Levá strana (55% obrazovky) vyhrazená aplikaci */
    .app-main {
        flex: 0 0 58%;
        max-width: 58%;
        background-color: var(--bg-luxus-krem);
        padding: 15px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* Hvězdy na pozadí plují pouze v levé klientské části */
        background-image: var(--star-symbol), var(--star-symbol);
        background-position: 6% 15%, 92% 65%;
        background-size: 35px 35px, 28px 28px;
        background-repeat: no-repeat;
    }

    /* Pravá strana (45% obrazovky) - Fixní fotka salonu */
.app-sidebar {
    /* Fixní pozice vytrhne prvek z toku dokumentu */
    position: fixed;
    right: 0;
    top: 0;
    
    /* NATVRDO DEFINOVANÉ ROZMĚRY PRO FIXNÍ PRVEK */
    width: 42vw;  /* Zabere přesně 45 % šířky celé obrazovky */
    height: 100vh; /* Zabere 100 % výšky obrazovky odshora dolů */
    
    // box-shadow: -10px 0 30px rgba(184, 151, 109, 0.05);

    /* Načtení obrázku z klientské zóny (stejná složka) */
    background-image: url("/_img/metal.png"); 
    background-size: 100% auto;       
    background-position: center;   
    background-repeat: no-repeat;
    
    /* Pojistka pro správné vrstvení, aby obrázek nezapadl pod hlavní obsah */
    z-index: 10; 
}

}


/* --- RESPONZIVITA (MOBILNÍ ZAŘÍZENÍ DO 768px) --- */
@media (max-width: 768px) {
    .app-layout { 
        display: block; 
    }
    
.app-sidebar { 
        display: none !important; /* Vynutíme skrytí */
        position: static;         /* Zrušíme position: fixed */
        width: 0 !important;      /* Vynutíme nulovou šířku */
        height: 0 !important;     /* Vynutíme nulovou výšku */
        background-image: none;   /* Pro jistotu vymažeme načítání obrázku na mobilu */
    }
    
    .app-main { 
        width: 100%; 
        max-width: 100%;          /* Pojistka, aby levá strana zabrala celý displej */
        flex: none;               /* Vypneme flexboxové roztažení z desktopu */
        padding: 15px 0; 
    }



    
    /* Skládání prvků patičky pod sebe */
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    
    .footer-grid .footer-col:nth-child(1) { 
        grid-column: span 1; 
    }
    
    .footer-col { 
        text-align: center; 
    }
    
    .footer-col a { 
        justify-content: center; 
    }
}

footer {
    display: none !important;
}