/*
Theme Name: Q8sy Custom
Theme URI: https://q8sy.com
Description: Custom theme for Q8sy platform with stunning landing page. Child theme of Twenty Twenty-Five.
Author: Q8sy Team
Author URI: https://q8sy.com
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: q8sy-custom
Tags: custom-colors, custom-menu, custom-logo, featured-images, full-site-editing, block-patterns, rtl-language-support, translation-ready, wide-blocks, block-styles, accessibility-ready
*/

/*
* This is a child theme of Twenty Twenty-Five
* All parent theme styles are automatically loaded
* Custom styles are in assets/css/landing.css
*/

/* Fix mobile viewport and width issues */
html {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
}

* {
    box-sizing: border-box;
}

/* Ensure all containers respect viewport width */
.container,
.wp-block-group,
.alignwide,
.alignfull {
    max-width: 100%;
    width: 100%;
}

/* Hide default site title */
.wp-block-site-title,
.site-title,
h1.wp-block-site-title,
h2.wp-block-site-title {
    display: none !important;
}

/* Hide "proudly powered by WordPress" text */
.site-footer .wp-block-paragraph:has(a[href*="wordpress.org"]),
.site-footer p:has(a[href*="wordpress.org"]),
.site-footer a[href*="wordpress.org"],
.site-footer p:contains("WordPress"),
.site-footer p:contains("Designed with") {
    display: none !important;
}

/* Custom logo in header */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
}

.custom-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .custom-logo {
        height: 45px;
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        height: 40px;
        max-width: 140px;
    }
}
