/*
Theme Name: RIST Interiors
Theme URI: https://ristinteriors.com
Author: RIST Interiors
Author URI: https://ristinteriors.com
Description: Ein elegantes, minimalistisches schwarzes Theme für RIST Interiors Möbelhändler. Präsentiert Marken und Referenzprojekte.
Version: 2.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: rist-interiors
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, portfolio, dark-theme
*/

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #cccccc;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #000000;
    border-bottom: 1px solid #333333;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

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

.site-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-title a {
    color: #ffffff;
}

.site-title a:hover {
    color: #cccccc;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #cccccc;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
    color: #ffffff;
}

/* ==========================================================================
   Hero Section - Carousel
   ========================================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-static-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    width: 90%;
    max-width: 1400px;
    pointer-events: none;
}

.carousel-static-headline h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.03em;
    margin: 0;
}

@media (max-width: 1200px) {
    .carousel-static-headline h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .carousel-static-headline h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-static-headline h1 {
        font-size: 1.8rem;
    }
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: #000000;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 7rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.carousel-controls {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover,
.carousel-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* ==========================================================================
   Brands Section
   ========================================================================== */

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 5rem 0;
}

.brand-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.brand-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.brand-description {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.6;
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 5rem 0;
}

.project-item {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    transition: all 0.3s ease;
    border: 1px solid #1a1a1a;
}

.project-item:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08);
    border-color: #333333;
}

.project-image {
    position: relative;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: #000000;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
    opacity: 0.85;
}

.project-content {
    padding: 2.5rem 2rem 2rem 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.project-category {
    font-size: 0.85rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.project-excerpt {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 5rem 0;
}

.section-dark {
    background-color: #000000;
    color: #ffffff;
}

.section-light {
    background-color: #0a0a0a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.section-dark .section-title {
    color: #ffffff;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-dark .section-subtitle {
    color: #cccccc;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
}

.btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary {
    background-color: #ffffff;
    color: #000000;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.btn-white {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-white:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 0.75rem;
}

.footer-widget a {
    color: #cccccc;
    font-size: 0.95rem;
}

.footer-widget a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #999999;
}

.footer-copyright {
    color: #999999;
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 0.75rem;
    color: #cccccc;
}

.footer-contact-info a {
    color: #cccccc;
}

.footer-contact-info a:hover {
    color: #ffffff;
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: #999999;
    font-size: 0.9rem;
}

.footer-navigation a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Single Pages & Posts
   ========================================================================== */

.entry-header {
    margin-bottom: 3rem;
    text-align: center;
}

.entry-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.entry-meta {
    font-size: 0.9rem;
    color: #666666;
    letter-spacing: 0.05em;
}

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-navigation.toggled {
        display: block;
        margin-top: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #333333;
    }
    
    .main-navigation a {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .brands-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
