/*
Theme Name: Fotografie Portfolio
Theme URI: https://example.com/fotografie-theme
Author: Ihr Name
Author URI: https://example.com
Description: Ein minimalistisches WordPress-Theme für Fotografie-Portfolios mit hellem, weißen Design
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fotografie-theme
Tags: photography, portfolio, minimal, white, clean
*/

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2c2c2c;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    margin-top: -80px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 200;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease;
}

.slide-content h2 {
    font-size: 56px;
    font-weight: 200;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.slide-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background-color: transparent;
}

.slide-btn:hover {
    background-color: white;
    color: #2c2c2c;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

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

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background-color: white;
    width: 40px;
    border-radius: 6px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background-color: #f8f8f8;
    transition: transform 0.4s ease;
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover::before {
    background-color: rgba(0, 0, 0, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 100px 50px;
    background-color: #fafafa;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
    color: #666;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 100px 50px;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    margin-top: 50px;
}

.contact-info a {
    display: inline-block;
    margin: 10px 20px;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.6;
}

/* WordPress Content */
.content-area {
    padding: 150px 50px 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-area h1,
.content-area h2,
.content-area h3 {
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.content-area p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* Blog Posts */
.post {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #f0f0f0;
}

.post-title {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.post-title a {
    color: #2c2c2c;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.post-title a:hover {
    opacity: 0.6;
}

.post-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.post-thumbnail {
    margin-bottom: 30px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid #2c2c2c;
    color: #2c2c2c;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #2c2c2c;
    color: #ffffff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: 5vh auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    animation: scaleIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 40px;
    color: #2c2c2c;
    cursor: pointer;
    font-weight: 200;
    transition: opacity 0.3s ease;
}

.close-modal:hover {
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

footer p {
    font-size: 14px;
    font-weight: 300;
    color: #999;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); }
    to { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 20px 25px;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Slider Responsive */
    .hero-slider {
        margin-top: 60px;
        height: 70vh;
    }

    .slide-content h2 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .slide-content p {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .slide-btn {
        padding: 12px 30px;
        font-size: 12px;
    }

    .slider-nav {
        font-size: 24px;
        padding: 10px 15px;
    }

    .slider-nav.prev {
        left: 10px;
    }

    .slider-nav.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
        gap: 10px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 30px;
    }

    .gallery-section {
        padding: 60px 25px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 50px;
    }

    .about-section,
    .contact-section {
        padding: 60px 25px;
    }

    .content-area {
        padding: 120px 25px 60px;
    }

    .close-modal {
        top: 20px;
        right: 25px;
        font-size: 30px;
    }
}
