/* General body styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', Arial, sans-serif;
    background-color: #000000;
    color: #fff;
    box-sizing: border-box; /* Ensure padding is included in element width */
}

/* Landing page styling with background image */
.landing-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background-image: url(/images/landingbackground.webp); /* Replace with your image path */
    background-size: cover;
    background-position: center;
}

/* Landing page heading */
.landing-page h1 {
    font-size: 3rem; /* Use rem for better scaling */
    margin-bottom: 2.5rem; /* Use rem for consistent spacing */
    font-weight: bold;
    color: #000;
}

/* Section links container */
.section-links {
    display: flex; /* Use flexbox to align links in a row */
    justify-content: center; /* Center the links horizontally */
    flex-wrap: wrap; /* Allow wrapping of links */
    gap: 20px; /* Add spacing between the links */
    max-width: 60%;
    width: 100%;
}

/* Individual section link styling */
.section-links a {
    flex: 1 1 200px; /* Allow items to grow/shrink and set a base width */
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    color: #000; /* Initial text color */
    background-color: transparent; /* Ensure there's no background by default */
    font-size: 1.5em;
    transition: transform 0.3s, color 0.3s; /* Add transition for transform and color */
}

/* Scale up the link on hover */
.section-links a:hover {
    color: #ff3e24; /* Change text color on hover */
    transform: scale(1.2); /* Scale up the link by 20% */
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000cc;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000; /* Ensure it's above other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
}

.cookie-consent-banner button {
    margin-left: 10px;
    padding: 5px 10px;
    background-color: #000000;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.cookie-consent-banner button:hover {
    background-color: transparent; /* Darker shade on hover */
    color: #656565;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) { /* Medium screens */
    .section-links a {
        flex: 1 1 30%; /* 3 links per row */
    }
}

@media (max-width: 900px) { /* Small screens */
    .section-links a {
        flex: 1 1 45%; /* 2 links per row */
    }
}

@media (max-width: 600px) { /* Extra small screens */
    .section-links a {
        flex: 1 1 100%; /* 1 link per row */
    }
}

.imprint a {
    position: fixed;
    bottom: 20px;
    right: 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none;
    color:#000000;
    transition: transform 0.3s, color 0.3s; 
}

.imprint a:hover {
    transform: scale(1.1);
}

/* Instagram Icon Styling */
.instagram-icon {
    position: fixed; /* Fix position to the viewport */
    bottom: 20px; /* Distance from the bottom */
    left: 20px; /* Distance from the right */
    width: 35px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    z-index: 100; /* Ensure it stays above other elements */
}

.instagram-icon img {
    width: 100%; /* Make the icon fill the anchor element */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s; /* Smooth hover effect */
}

/* Scale icon on hover */
.instagram-icon:hover img {
    transform: scale(1.1); /* Scale up by 10% */
}

/* Hide sections initially */
section {
    display: none; /* Hide all sections initially */
}
/* Back to Home button */
.back-home {
    display: block;
    background-color: transparent;
    color: #656565;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.back-home:hover {
    background-color: transparent;
    color: #000;
}

/* Imprint Page Specific Styling */
.imprint.content {
    padding: 50px;
    text-align: left; /* Align all text to the left except the title */
}

.imprint a.back-home {
    position: relative; /* Override fixed position */
    bottom: auto;
    right: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
    text-decoration: none;
    font-size: 1em;
    color: #656565; /* Ensures visibility */
    margin-top: 40px;
}

.imprint a.back-home:hover {
    transition: none;
    background-color: transparent;
    color: #000;
}


/* Responsive layout adjustments */
@media (max-width: 1024px) {
    .imprint.content h3, 
    .imprint.content p {
        width: 80%; /* Confine to 80% width for tablets */
    }
}

/* Responsive Layout for Mobile */
@media (max-width: 768px) {
    .imprint.content h3, 
    .imprint.content p {
        max-width: 85%; /* Fill 90% of the screen on smaller screens */
    }
}


@media (max-width: 480px) {
    .imprint.content h3,
    .imprint.content p {
        width: 90%; /* Full width for mobile screens */
        padding: 10px;
    }
}
    
/* about*/
section:target {
    display: block; /* Show the section that matches the target */
    padding: 50px;
}

/* General body styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    background-color: #000000; /* Dark background */
    color: #fff; /* Light text */
}

/* Content container */
.content {
    padding: 50px; /* Add padding for content */
    text-align: center; /* Center text */
}

/* Common Heading Style */
h2 {
    font-size: 2.5em; /* Size for headings */
    margin-bottom: 20px; /* Space below headings */
    color: #ffffff; /* Color for headings */
    text-align: center; /* Center align the heading */
}

/* Imprint Page Title Centered */
.imprint.content h2 {
    text-align: center; /* Center the title */
    font-size: 2.5em;
    color: #ffffff; /* White color for title */
    margin-bottom: 40px;
}

h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2em; /* Reduced size */
    margin-bottom: 40px;
    color: #fff; /* Set color */
    text-align: center; /* Left-align */
    max-width: 75%; /* Central 50% on desktop */
    margin: 0 auto; /* Center it horizontally */
}

.imprint.content h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2em; /* Reduced size */
    margin-bottom: 10px;
    color: #fff; /* Set color */
    text-align: left; /* Left-align */
    max-width: 50%; /* Central 50% on desktop */
    margin: 0 auto; /* Center it horizontally */
}

h4 {
        font-size: 1.2em; /* Size for paragraphs */
        line-height: 1.5; /* Line height for readability */
        max-width: 800px; /* Limit width for better reading */
        margin: 20 auto; /* Center paragraphs */
        margin-bottom: 20px;
        text-align: left;
} 

h5 {
    font-size: 2.5em; /* Size for paragraphs */
    line-height: 1.5; /* Line height for readability */
    max-width: 800px; /* Limit width for better reading */
    margin: 20 auto; /* Center paragraphs */
    margin-bottom: 20px;
    text-align: left;
} 

/* Paragraph Style */
p {
    font-size: 1.2em; /* Size for paragraphs */
    line-height: 1.5; /* Line height for readability */
    max-width: 800px; /* Limit width for better reading */
    margin: 20 auto; /* Center paragraphs */
    margin-bottom: 20px;
}

/* Paragraphs in Imprint */
.imprint.content p {
    font-size: 0.9em; /* Smaller font size */
    color: #cecece; /* Set color */
    line-height: 1.5; /* For readability */
    max-width: 50%; /* Central 50% on desktop */
    margin: 0 auto 20px auto; /* Centered with space below */
    text-align: justify; /* Left-align */
}

/* Image Styling */
.about-photo {
    max-width: 60%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    margin-top: 20px; /* Space above the image */
    margin-bottom: 10px
}

.about.content p {
    font-size: 1.2em; /* Size for paragraphs */
    line-height: 1.5; /* Line height for readability */
    max-width: 60%; /* Limit width for better reading */
    margin: 20 auto; /* Center paragraphs */
    margin-bottom: 20px;
}

/* Responsive layout adjustments */
@media (max-width: 1024px) {
    .about-photo {
        width: 80%; /* Confine to 80% width for tablets */
    }
}

/* Responsive Layout for Mobile */
@media (max-width: 768px) {
    .about-photo {
        max-width: 90%; /* Fill 90% of the screen on smaller screens */
    }
    .about.content p {
        font-size: 1em
    }
}


@media (max-width: 480px) {
    .about-photo {
        width: 100%; /* Full width for mobile screens */
        padding: 10px;
    }
    .about.content p {
        font-size: 0.8em
    }
}

/*camerawork*/
/* General body styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', Arial, sans-serif;
    background-color: #000; /* Dark background */
    color: #fff; /* Light text */
}
/* Content container */
.content {
    padding: 50px; /* Add padding for content */
    text-align: center; /* Center text */
}

/* Common Heading Style */
h2 {
    font-size: 2.5em; /* Size for headings */
    margin-bottom: 20px; /* Space below headings */
    color: #ffffff; /* Color for headings */
    text-align: center; /* Center align the heading */
}
/* Paragraph Style */
p {
    font-size: 1.2em; /* Size for paragraphs */
    line-height: 1.5; /* Line height for readability */
    max-width: 800px; /* Limit width for better reading */
    margin: 0 auto; /* Center paragraphs */
}    

/* Filter Buttons */
.filter-buttons {
    margin: 20px auto;
    text-align: center;
}

.filter-button {
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    color: #cecece;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s; /* Add transform transition */
    font-size: 1.2em; /* Increase font size */
    font-weight: bold; 
}

.filter-button:hover {
    background-color: transparent;
    color: #656565; /* Keep color the same on hover */
    font-weight: bold; 
    transform: scale(1.2); /* Increase size on hover */
}
.filter-button.active {
    color: #000; /* Active button text color */
    font-weight: bold; /* Optional: Make the active button bold */
    transform: scale(1.2); /* Keep it slightly larger */
}
/* Works Container */
.works-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns for desktop */
    gap: 20px; /* Space between items */
    justify-items: center; /* Center items within the grid cells */
    margin-top: 30px;
    max-width: 1024px; /* Set a max-width for the container */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Padding on the sides to give some space */
}

/* Responsive Grid for Mobile/Tablet */
@media (max-width: 1024px) {
    .works-container {
        grid-template-columns: repeat(2, 1fr); /* 2 projects per row for tablets */
    }
}

@media (max-width: 768px) {
    .works-container {
        grid-template-columns: 1fr; /* 1 project per row for mobile screens */
    }
}

/* Work Item - Initial State */
.work-item {
    text-align: left; /* Align the title to the left */
    margin-bottom: 20px;
    display: inline-block;
    vertical-align: top;
    width: 320px;  /* Maintain 4:5 ratio */
    opacity: 1; /* Fully visible */
    transform: scale(1); /* Initial scale */
    transition: opacity 0.5s ease-in-out; /* Adjust duration as needed */
}

/* When hiding items (filtered out) */
.work-item.hide {
    opacity: 0; /* Fade out hidden items */
    transform: scale(0.8); /* Slightly shrink filtered out items */
    pointer-events: none; /* Make hidden items unclickable */
    position: absolute; /* Removes it from the layout flow */
    transition: 0s;
}

/* When showing items (filtered in) */
.work-item.show {
    opacity: 1; /* Fade in the remaining items */
    transform: scale(1); /* Full size */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth fade and scale transition */
}

/* Smooth transition for the grid layout reordering */
.works-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns for desktop */
    gap: 20px; /* Space between items */
    justify-items: center; /* Center items within the grid cells */
    margin-top: 30px;
    max-width: 1024px; /* Set a max-width for the container */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Padding on the sides to give some space */
    transition: all 0.5s ease-in-out; /* Smooth grid layout reordering */
}

/* Image Styling */
.work-item img {
    width: 100%;
    height: 400px; /* Maintain 4:5 ratio */
    object-fit: cover; /* Crop the image to fit the 4:5 ratio */
    transition: transform 0.3s ease;
}

/* On hover, show full-size image and enlarge by 10% */
.work-item:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Title/Captions Below the Image */
.work-item p {
    margin-top: 10px;
    font-size: 1.1em;
    color: #cecece;
    font-family: 'Helvetica', Arial, sans-serif;
    transition: transform 0.3s ease;
}
/* On hover, show full-size image and enlarge by 10% */
.work-item:hover p {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Project Links */
.work-item a {
    color: #cecece; 
    text-decoration: none; /* Remove underline */
    font-size: 1.2em; /* Adjust font size */
    font-family: 'Helvetica', Arial, sans-serif; /* Set font family */
    font-weight: bold;
    transition: color 0.3s, transform 0.3s; /* Transition effects */
}

/* Styles when hovering over the link */
.work-item a:hover {
    color: #cecece; /* Change color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Responsive layout adjustments */
@media (max-width: 1024px) {
    .works-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-item img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .works-container {
        grid-template-columns: 1fr;
    }
    .work-item img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .works-container {
        width: 100%;
        padding: 10px;
    }
    .work-item img {
        height: 200px;
    }
}

/* Center the gallery within the middle 50% of the page */
.gallery-wrapper {
    width: 75%;              /* Confine to the central 50% of the screen */
    margin: 0 auto;          /* Center the gallery horizontally */
    padding: 20px;           /* Optional padding for spacing */
}

/* Masonry grid layout */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between images */
    justify-items: center;
    align-items: center;
}

.gallery-container p {
    font-size: 0.7em;
    text-align: justify;
    width: 27.5%;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Image styling */
.gallery-image {
    height: 400px;            /* Fixed height for desktop */
    object-fit: cover;        /* Crop images to fit the 400px height */
    transition: transform 0.3s ease;
}

/* Hover effect to reveal full image dimensions */
.gallery-image:hover {
    object-fit: contain;      /* Show the full image within the 400px height on hover */
    transform: scale(1.1);    /* Slight zoom effect */
}

/* Responsive layout adjustments */
@media (max-width: 1024px) {
    .gallery-wrapper {
        width: 80%; /* Confine to 80% width for tablets */
    }
    .gallery-image {
        height: 300px; /* Reduce height for smaller screens */
    }
}

@media (max-width: 768px) {
    .gallery-wrapper {
        width: 90%; /* Confine to 90% width for smaller tablets and large phones */
    }
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Smaller columns */
    }
    .gallery-image {
        height: 250px; /* Further reduce height */
    }
}

@media (max-width: 480px) {
    .gallery-wrapper {
        width: 100%; /* Full width for mobile screens */
        padding: 10px;
    }
    .photo-gallery {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
    .gallery-image {
        height: 200px; /* Smallest height for mobile */
    }
}

/* Wrapper for the centered gallery layout */
.lotta-gallery-wrapper {
    width: 50%; 
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column; /* Align images in a single column */
    align-items: center; /* Center-align items */
}

/* Image styling */
.lotta-gallery-image {
    width: auto; /* Let images retain their natural width */
    max-width: 100%; /* Ensure images don't exceed container width */
    height: auto; /* Maintain original height */
    margin-bottom: 20px; /* Space between images */
    transition: transform 0.3s ease;
}

/* Hover effect to show full image dimensions */
.lotta-gallery-image:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lotta-gallery-wrapper {
        width: 80%; /* Reduce width for smaller screens */
    }
}

@media (max-width: 480px) {
    .lotta-gallery-wrapper {
        width: 90%; /* Full width for mobile */
        padding: 10px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

/* Arrows Styling */
.lightbox-arrow {
    color: white;
    font-size: 2.5em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.left-arrow {
    left: 5%;
}

.right-arrow {
    right: 5%;
}

/* Disabled arrow state */
.lightbox-arrow.disabled {
    color: #656565; /* Greyed-out color for disabled arrows */
    cursor: default;
    pointer-events: none;
}

/* General container for writing section */
.writing-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 0;
    background-color: #000; /* Background color for contrast */
}

/* Writing Banner */
.writing-banner {
    width: 75%; /* Center 75% width */
    height: 200px;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden; /* To clip the overlay */
}

.writing-image {
    width: 100%;
    height: auto; /* Responsive image */
    transition: transform 0.3s ease-in-out;
}

/* Hover effect to darken the image */
.writing-banner:hover .writing-image {
    transform: scale(1.05); /* Slight zoom effect */
    filter: brightness(50%); /* Darken on hover */
}

/* Overlay for the title */
.writing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

/* Show overlay and title on hover */
.writing-banner:hover .writing-overlay {
    opacity: 1;
}

.banner-credit {
    position: absolute;
    bottom: 10px; /* Adjust as needed */
    right: 20px; /* Align to the right */
    font-size: 0.8em; /* Smaller font for credits */
    color: white; /* Credit color */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s; /* Smooth transition for hover effect */
    z-index: 1; /* Make sure credit is above the image */
    text-decoration: none;
}

.writing-banner:hover .banner-credit {
    opacity: 1; /* Show credits on hover */
}

.writing-title {
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    padding: 20px;
    color: #fff;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .writing-banner {
        height: 200px;
        width: 80%; /* Increase width for smaller screens */
    }
}

@media (max-width: 768px) {
    .writing-title {
        font-size: 1.5em; /* Adjust font size */
    }
    .writing-banner {
        height: 200px;
        width: 85%;
    }
}

@media (max-width: 480px) {
    .writing-banner {
        height: 200px;
        width: 90%;
    }
}

/* Article Page Styling */
.article-content {
    max-width: 75%;
    margin: 0 auto;
    padding: 50px 20px;
    color: #fff;
    font-family: 'Helvetica', Arial, sans-serif;
    line-height: 1.6;
}

.article-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
    text-align: justify;
}

.article-content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
    text-align: justify;
}

.article-body h5 {
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 1.5em;
    color: #fff;
}

.article-body p {
    text-align: justify;
    margin-bottom: 10px;
    margin-top: 10px;
}

.published-info h4 {
    font-size: 1.1em;
    text-align: justify;
    margin-bottom: 30px;
    color: #cecece;
}

.published-info a {
    color: #ff3e24;
    text-decoration: none;
}

.published-info a:hover {
    text-decoration: underline;
}
