/*
Theme Name: Billman
Author: Szécsényi Zoltán
Author URI: https://szecsenyizoltan.hu
Description: Such as services and landing pages, making it ideal for building per
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 8.2
Version: 1.0
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: billman
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-varia
*/


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    overflow-x: hidden;
    max-width: auto;
    margin: 0 auto;        
}

body.admin-bar .main-nav {
    top: 32px; /* desktop admin bar magasság */
}

#wpadminbar {
    z-index: 100 !important;
}

article {
    display: block;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    padding: 0;
}

article.flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 20px;
}

article.flex > h1 {
    flex: 0 0 100%;
}

article.flex > div {
    flex: 0 0 50%;
    width: 50%;
    padding: 20px;
}
article.flex div p {
    margin: 0;
}




article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
    text-align: left !important;
    margin-top: 2rem;
    margin-bottom: 1rem;
    
}

article p {
    text-align: justify !important;
    font-size: clamp(16px, 1.2vw + 0.5rem, 1.5rem);
    line-height: clamp(1.5rem, 1.8vw + 0.75rem, 2.25rem);
    margin-bottom: 2rem;
    hyphens: auto;
    overflow-wrap: break-word;
}

article a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

article a:visited,
article a:hover,
article a:active,
article a:focus {
  color: #000;
  text-decoration: none;
}

article a:hover {
  opacity: .7;
}

p {
 margin-bottom: 1.5rem;
}

.padding25 {
    padding: 25px;
}

/* Navigation */
nav {
    background: #181818;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: min(1.5rem, 5vw) min(2rem, 5vw);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main.container {
    padding: min(5rem, 10vw);
    border-radius: 1.5rem;
    margin: 6rem auto 0 auto;
    max-width: min(calc(100% - 2rem), 1200px);
}

main.container-article {
    width: 100%;
    color: #444 !important;
    background-color: #ffffff !important;
}

main.container-article article h1 {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu, .main-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a,  .main-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #950404;
}

nav .current-menu-item > a,
nav .current_page_item > a,
nav .menu-item > a:hover,
nav .page_item > a:hover {
  color: #950404 !important;
}

nav .current-menu-item > a:hover,
nav .current_page_item > a:hover {
    color: #fff !important;
}



.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #c084fc;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 0;
}

section * {
    text-align: center !important;
}

main {
    min-height: 100vh;
    display: block;
    align-items: center !important;
    justify-content: center !important;
    padding: 5rem 2rem;
}



.container {
    margin-top: 180px;
    max-width: 1200px;
    width: 100%;
    min-height: none;
}

.landing {
    background-color: #fff; 
    color: #000;
    border-radius: 1.5rem;
    text-align: justify !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.landing h1 {
    text-align: left;
    color: #000;
    -webkit-text-fill-color: #000;
}

/* Hero Section */
#home {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 2rem;
    margin-bottom: 2rem;
    color: #e9d5ff;
}

h1 {
    font-size: clamp(2.0rem, 8vw, 3rem);
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 50%, #fce7f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border: none;
    border-radius: 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Services Section */
h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    /* text-align: center; */
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(192, 132, 252, 0.5);
    transform: translateY(-8px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card img {
    max-width: 360px;
    width: 100%;
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 1.25rem 0 0.5rem 0;
}

.service-card p {
    color: #9ca3af;
}

.service-card > p.read-more {
    margin: auto 0 0 0;
}


/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    border-color: rgba(192, 132, 252, 0.5);
    transform: scale(1.02);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-item p {
    color: #9ca3af;
}

/* About Section */
#about .container {
    max-width: 900px;
    text-align: center;
}

.about-text {
    font-size: 1.25rem;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c084fc;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
}

/* Contact Section */
#contact .container {
    max-width: 700px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input,
textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #c084fc;
}

textarea {
    resize: none;
    min-height: 150px;
}

button, 
input[type="button"], 
input[type="submit"], 
input[type="reset"] {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    border: none;
    border-radius: 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    color: #9ca3af;
}


/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}


.news-item {
    display: flex;
    gap: 15px;
}

.news-thumb {
    width: 50%;
    flex-shrink: 0;
}

.news-thumb-100 {
    width: 100%;
    margin: 3rem auto;
    flex-shrink: 0;
}

.news-thumb img, .news-thumb-100 img {
    width: 100%;
    height: auto;
    display: block;
}


ul.wp-block-list {
    margin-left: 0;
    padding: 0 1rem 1rem 1rem;
}

h2.wp-block-heading {
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

button#mobileToggle {
    width: auto;
    padding-right: 0;
}

button#mobileToggle:hover {
    box-shadow: none;
}


/* Mobile Responsive */
@media (max-width: 1024px) {
    article.flex {
        flex-direction: column;
    }

    h1.padding25 {
        padding: 0;
    }
    
    article.flex > div, article.flex > h1 {
        width: 100%;
        padding: 0;
    }

    .news-thumb {
        width: 100%;
        flex-shrink: 0;
    }

    .nav-menu, .main-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    section {
        padding: 3rem 1rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    li.menu-item {
        padding: 0.7rem;
    }
}