/*
Theme Name: Puppenhaus
Theme URI: https://mobilespuppenhaus.at
Author: Klaus
Description: Custom Theme für Mobiles Puppenhaus - Friseur
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: puppenhaus
*/

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

html {
    font-size: 16px;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #fff;
    background: #bdb9b8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Page Body */
.page-body {
    position: relative;
    flex: 1;
}

/* Background Slideshow */
.background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-slideshow .slide.active {
    opacity: 1;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 4px solid #fff;
    max-width: 1024px;
    width: 100%;
    margin: 20px auto;
    padding: 30px 40px;
}

/* Header */
.site-header {
    width: 100%;
}

.header-bar {
    background: #000;
    border: 3px solid #ff0080;
    display: flex;
    align-items: center;
    padding: 8px 20px;
    width: 100%;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
    margin-right: 25px;
}

.site-logo .logo-img,
.site-logo .custom-logo {
    max-width: 180px;
    height: auto;
    display: block;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.main-navigation a {
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 5px 10px;
    transition: color 0.3s;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #ff0080;
    text-decoration: underline;
    text-decoration-color: #ff0080;
}

/* Main Content */
.site-main {
    padding: 20px 0;
}

.page-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
}

.entry-content h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin: 1.25rem 0 0.5rem;
}

/* Price List — 3-column */
.price-list {
    max-width: 480px;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.price-list td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.price-list tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.price-list .price {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
}

.price-list .detail {
    color: rgba(255, 255, 255, 0.7);
}

.price-note {
    margin-top: 10px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Contact Info */
.contact-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    margin: 20px 0;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-info p {
    margin: 8px 0;
}

.contact-info a {
    color: #ff0080;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 12px 20px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #ff0080;
}

.footer-sep {
    margin: 0 10px;
    opacity: 0.4;
}

.footer-copyright {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1040px) {
    .content-wrapper {
        margin: 20px 20px;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        margin: 10px;
        padding: 20px;
        border-width: 3px;
    }

    .header-bar {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 10px;
    }

    .site-logo {
        margin-right: 0;
    }

    .site-logo .logo-img,
    .site-logo .custom-logo {
        max-width: 150px;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        gap: 5px;
    }

    .footer-sep {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .gallery-item img {
        height: 150px;
    }

    .price-list td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .content-wrapper {
        margin: 5px;
        padding: 15px;
        border-width: 2px;
    }
}
