/*
Theme Name: KRYSTAL Theme
Theme URI: https://aa-pluss.com
Description: High-End Line Array hangrendszer bemutató sablon - Professzionális egyoldalas landing page a KRYSTAL audio rendszerekhez
Version: 1.0.0
Author: Applied Acoustic Pluss LTD
Author URI: https://aa-pluss.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: krystal-theme
Tags: one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

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

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

:root {
    --color-white: #ffffff;
    --color-primary: #00468C;
    --color-secondary: #268787;
    --color-dark-1: #000305;
    --color-dark-2: #131413;
    --color-border: rgba(255, 255, 255, 0.20);
    
    --font-exo: 'Exo', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-montserrat);
    color: var(--color-white);
    background: var(--color-dark-1);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.container-narrow {
    width: 100%;
    max-width: 964px;
    margin: 0 auto;
    padding: 0 64px;
}

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

h1, h2, h3 {
    font-family: var(--font-exo);
    font-weight: 400;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    line-height: 57.6px;
    margin-bottom: 24px;
}

.section-description {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

/* Technology section specifikus méret */
.section-header .section-title {
    font-size: 60px;
    line-height: 72px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(16deg, #00468C 35%, #268787 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    background: linear-gradient(16deg, #268787 35%, #00468C 100%);
    transform: translateY(-2px);
}

/* ==========================================
   HEADER & LOGO
   ========================================== */

.header {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 75px;
}

.logo {
    width: 80px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-icon {
    width: 84px;
    height: 36px;
    position: relative;
    overflow: hidden;
}

.logo-shape {
    position: absolute;
    background: var(--color-white);
}

.logo-shape-1 {
    width: 18.81px;
    height: 15.95px;
    left: 57.49px;
    top: 10.87px;
}

.logo-shape-2 {
    width: 19.44px;
    height: 24.68px;
    left: 41px;
    top: 11.32px;
}

.logo-shape-3 {
    width: 18.81px;
    height: 15.95px;
    left: 25.22px;
    top: 10.87px;
}

.logo-shape-4 {
    width: 21.60px;
    height: 16.19px;
    left: 6.67px;
    top: 10.24px;
}

.logo-shape-5 {
    width: 15.13px;
    height: 9.29px;
    left: 7.82px;
    top: 0px;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    position: relative;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 64px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 2;
}

.hero .header,
.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 794px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 65px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-title {
    font-size: 64px;
    font-weight: 400;
    line-height: 76.8px;
}

.hero-description {
    font-size: 20px;
    line-height: 30px;
}

/* ==========================================
   INTRO SECTION
   ========================================== */

.intro {
    padding: 80px 64px;
    background: linear-gradient(90deg, #131413 0%, #000305 100%);
    overflow: hidden;
}

.intro-text {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 35px;
    max-width: 998px;
    margin: 0 auto;
}

/* ==========================================
   TECHNOLOGY SECTION
   ========================================== */

.technology {
    padding: 100px 64px 120px;
    background: linear-gradient(270deg, #131413 0%, #000305 100%);
    overflow: hidden;
}

.section-header {
    max-width: 640px;
    margin-bottom: 85px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-icon {
    width: 40px;
    height: 40px;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-title {
    font-size: 25px;
    line-height: 32.5px;
}

.feature-description {
    font-size: 18px;
    line-height: 27px;
}

/* ==========================================
   PRODUCT SECTIONS
   ========================================== */

.product {
    padding: 100px 64px 120px;
    overflow: hidden;
}

.product-01 {
    background: linear-gradient(90deg, #131413 0%, #000305 100%);
}

.product-02 {
    background: linear-gradient(270deg, #131413 0%, #000305 100%);
}

.product-layout {
    display: flex;
    align-items: flex-start;
    gap: 64px;
    margin-bottom: 40px;
}

.product-layout-reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 0 0 auto;
    max-width: 400px;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-title {
    font-size: 48px;
    line-height: 57.6px;
}

.product-subtitle {
    font-size: 20px;
    line-height: 30px;
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.specs-list li {
    font-size: 18px;
    line-height: 27px;
    padding-left: 30px;
    position: relative;
}

.specs-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 24px;
    line-height: 27px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.product-details {
    font-size: 18px;
    line-height: 27px;
}

/* ==========================================
   SERVICE SECTION
   ========================================== */

.service {
    padding: 100px 64px 120px;
    background: linear-gradient(90deg, #131413 0%, #000305 100%);
    overflow: hidden;
}

.service-content {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

.service-description {
    font-size: 20px;
    line-height: 30px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: 100px 64px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.contact-header {
    max-width: 768px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 668px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 10px 0;
}

.contact-label {
    font-size: 25px;
    line-height: 32.5px;
    min-width: 140px;
}

.contact-link {
    font-size: 18px;
    line-height: 27px;
    color: var(--color-white);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-primary);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: 45px 64px;
    background: var(--color-dark-1);
    overflow: hidden;
}

.footer-content {
    text-align: center;
}

.footer-text {
    font-size: 16px;
    line-height: 24px;
}

.footer-link {
    color: var(--color-white);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

/* ==========================================
   PAGE & POST STYLES
   ========================================== */

.page-hero {
    padding: 60px 64px 40px;
    background: linear-gradient(90deg, #131413 0%, #000305 100%);
}

.page-content,
.post-content,
.error-404 {
    padding: 60px 64px 100px;
    background: var(--color-dark-1);
    min-height: 60vh;
}

.error-404 {
    padding: 80px 64px 120px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.post-content .content-wrapper {
    max-width: 800px;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

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

@media (max-width: 1024px) {
    .container,
    .container-narrow {
        padding: 0 32px;
    }
    
    .hero {
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 57.6px;
    }
    
    .section-header .section-title,
    .service .section-title,
    .contact .section-title {
        font-size: 48px;
        line-height: 57.6px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
    
    .product-layout {
        gap: 40px;
    }
    
    .product-image {
        flex: 0 0 35%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .header {
        padding-top: 0;
    }
    
    .container {
        padding: 0;
    }
    
    .container-narrow {
        padding: 0 24px;
    }
    
    .hero {
        min-height: 700px;
        padding: 0 24px;
    }
    
    .page-hero {
        padding: 40px 24px 30px;
    }
    
    .page-content,
    .post-content,
    .error-404 {
        padding: 40px 24px 60px;
    }
    
    .error-404 {
        padding: 50px 24px 80px;
    }
    
    .hero-video {
        display: none;
    }
    
    .hero-image {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
        line-height: 43.2px;
    }
    
    .hero-description,
    .section-description,
    .product-subtitle,
    .service-description {
        font-size: 18px;
        line-height: 27px;
    }
    
    .section-header .section-title,
    .product-title,
    .service .section-title,
    .contact .section-title {
        font-size: 36px;
        line-height: 43.2px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .product-layout,
    .product-layout-reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .product-image {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }
    
    .product-footer {
        gap: 30px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .intro,
    .technology,
    .product,
    .service,
    .contact {
        padding: 60px 24px;
    }
    
    .footer {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 35px;
        line-height: 45px;
    }
    
    .section-header .section-title,
    .product-title,
    .service .section-title,
    .contact .section-title {
        font-size: 28px;
        line-height: 33.6px;
    }
    
    .hero-content {
        gap: 40px;
    }
}

/* ==========================================
   SMOOTH SCROLLING
   ========================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

a:focus,
button:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ==========================================
   PAGE & POST STYLES
   ========================================== */

.page-article,
.single-post,
.blog-post {
    color: var(--color-white);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-exo);
}

.entry-content h2 {
    font-size: 36px;
    line-height: 43.2px;
}

.entry-content h3 {
    font-size: 28px;
    line-height: 33.6px;
}

.entry-content h4 {
    font-size: 24px;
    line-height: 28.8px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: var(--color-secondary);
}

.entry-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    font-style: italic;
}

.entry-content table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.entry-content table th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.entry-content code {
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.entry-content pre {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow-x: auto;
}

.entry-content pre code {
    padding: 0;
    background: none;
}

/* Post Navigation */
.post-navigation,
.posts-pagination {
    margin-top: 60px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Comments */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.comment-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.comment-author {
    font-weight: 600;
    color: var(--color-white);
}

/* Search Form */
.search-form input[type="search"] {
    color: var(--color-white);
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
