/*
Theme Name: PersonalCockpit Cloud
Theme URI: https://personalcockpit.cloud
Author: PersonalCockpit
Author URI: https://personalcockpit.cloud
Description: Ein modernes, minimalistisches WordPress-Theme für PersonalCockpit Cloud. Optimiert für Elementor Page Builder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: personalcockpit
Tags: elementor, one-column, custom-menu, custom-logo, full-width-template, translation-ready

PersonalCockpit Cloud Theme - Designed for hair salons and service businesses.
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111827;
    background-color: #ffffff;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: black;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: black !important;
}

a {
    color: black;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
}

/* ==========================================================================
   ELEMENTOR COMPATIBILITY
   ========================================================================== */

/* Full-width support for Elementor */
.elementor-page .site-content,
.elementor-page .entry-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* Elementor Canvas Template */
.elementor-template-canvas .site-header,
.elementor-template-canvas .site-footer {
    display: none;
}

/* Elementor Full Width Template */
.elementor-template-full-width .site-content {
    max-width: 100%;
    padding: 0;
}

/* Remove default WordPress margins from Elementor pages */
.elementor-page .entry-content>.elementor {
    margin-top: 0;
    margin-bottom: 0;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.site-content {
    min-height: calc(100vh - 200px);
}

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

/* ==========================================================================
   WORDPRESS CORE CLASSES
   ========================================================================== */

.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ==========================================================================
   PAGE SETTINGS - HIDE ELEMENTS
   ========================================================================== */

/* Hide page title */
body.pc-hide-title .entry-title,
body.pc-hide-title .page-title,
body.pc-hide-title .entry-header {
    display: none !important;
}

/* Hide header (fallback CSS - PHP handles main logic) */
body.pc-hide-header .site-header {
    display: none !important;
}

/* Hide footer (fallback CSS - PHP handles main logic) */
body.pc-hide-footer .site-footer {
    display: none !important;
}