/* ===================================
   ATP Photo Agency - Modern CSS
   =================================== */

/* Root Variables */
:root {
    --primary-color: #c41e3a;
    --secondary-color: #1a1a1a;
    --accent-color: #f5f5f5;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-accept,
.btn-decline,
.btn-more {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-accept {
    background: var(--primary-color);
    color: var(--white);
}

.btn-accept:hover {
    background: #a01829;
}

.btn-decline {
    background: #666;
    color: var(--white);
}

.btn-decline:hover {
    background: #555;
}

.btn-more {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    display: inline-block;
    text-decoration: none;
}

.btn-more:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--primary-color);
}

.language-switch {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.language-switch:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    overflow: hidden;
    margin-top: 80px;
}

/* Protect hero images from download */
.hero-slide img,
.protected-image,
.about-image img,
.gallery-wide-image img,
.contact-portrait img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Re-enable pointer events for clickable galleries */
.gallery-wide-image {
    pointer-events: auto;
}

.gallery-wide-image img {
    pointer-events: none;
}

/* Disable right-click on hero images */
.hero-slider,
.about-images-grid,
.gallery-wide-image,
.contact-portrait {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
    pointer-events: none;
}

/* Additional protection layer */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Watermark for Hero Images */
.hero-slide::after {
    content: '© ATP Photo Agency';
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    user-select: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    background: #a01829;
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(196, 30, 58, 0.4);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

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

.slider-btn {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--accent-color);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.8;
    text-align: justify;
    hyphens:none;
}

.award-highlight {
    background: var(--white);
    padding: 30px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.award-highlight h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About Images Slider */
.about-images-slider {
    position: sticky;
    top: 100px;
}

/*.about-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
} */

.about-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.about-caption {
    margin-top: 15px;
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.5;
}

/* Timeline */
.timeline {
    margin-top: 60px;
}

.timeline h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
}

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

.timeline-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.timeline-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Gallery Preview */
.gallery-preview {
    background: var(--white);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 260px);
    gap: 6px;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.mosaic-item {
    position: relative;
    overflow: hidden;
}

.mosaic-item.mosaic-wide {
    grid-column: span 2;
}

.mosaic-item.mosaic-wide img {
    object-position: center 60%;
}

.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, opacity 0.7s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.mosaic-item:hover img {
    transform: scale(1.06);
}

.mosaic-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.mosaic-item:hover .mosaic-overlay {
    background: rgba(0, 0, 0, 0.18);
}

.gallery-cta {
    text-align: center;
}

.gallery-note {
    margin-top: 20px;
    color: var(--text-light);
    font-style: italic;
}

/* Contact Section */
.contact {
    background: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-map {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 65px;
}

.contact-portrait {
    text-align: center;
    width: 100%;
    max-width: 300px;
}
.contact-portrait img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto 20px;
    display: block;
}

.portrait-caption {
    text-align: center;
}

.portrait-caption h4 {
    color: var(--secondary-color);
    font-size: 1.5rem;
        margin-bottom: 5px;
}

.portrait-caption p {
    color: var(--text-light);
    font-style: italic;
    font-size: 1.0rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-tribute {
    margin-top: 15px;
    font-style: italic;
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 20px;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-content: center;       
    }
    
    .about-images-slider {
        position: relative;
        top: 0;
    }
    
    /*
    .about-slider-container {
        height: 50vh;
        max-width: 70%; 
        margin: 0 auto;      
    }
    */

    .about-slider-container {
        max-width: 70%;
        margin: 0 auto;
        height: 50vh;          /* 👈 wichtig */
        aspect-ratio: 2 / 4;   /* etwas entspannter für Portraits */
    }
    
    .about-slide img {
    object-position: center 20%;
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-map {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-slider-container {
        height: 40vh;
    }

    .about-slide img {
    object-position: center 20%;
    }
    
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }

    .mosaic-item.mosaic-wide {
        grid-column: span 2;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 220px);
    }

    .mosaic-item.mosaic-wide {
        grid-column: span 1;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-accept,
    .btn-decline,
    .btn-more {
        width: 100%;
    }
}

/* Smooth Scroll Offset */
html {
    scroll-padding-top: 100px;
}