/* Shared Section styles */
.section-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 0px;
    box-sizing: border-box;
}


.section-label {
    font-family: 'Synonym';
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-orientation: mixed;
    font-size: 4rem;
    letter-spacing: 0.18em;
    color: #fff;
    font-weight: 200;
    margin-right: 48px;
    line-height: 1;
    text-align: center;
    min-width: 60px;
    user-select: none;
    position: sticky;
    left: 0;
    top: 0;
    align-self: flex-start;
    z-index: 2;
}

@font-face {
    font-family: 'Synonym';
    src: url('/fonts/synonym/Synonym-Variable.woff2') format('woff2');
    font-weight: 200 700;
    /* full range provided by the file */
    font-style: normal;
    font-display: swap;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Synonym';
}

section {
    margin: 0;
    padding: 0;
}


.main {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: #222;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}



/* Contact Section */
.contact {
    width: 100vw;
    min-height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 45px;

}

.contact-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}



.contact-content {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 48px;
    align-items: flex-start;
}

.contact-info {
    color: #eaeaea;
    font-size: 1rem;
    min-width: 200px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 2px;
}

.contact-role {
    font-size: 0.98rem;
    color: #bdbdbd;
    margin-bottom: 16px;
}

.contact-details {
    font-size: 0.98rem;
    color: #eaeaea;
    margin-bottom: 16px;
}

.contact-details a {
    color: #eaeaea;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-rep {
    font-size: 0.98rem;
    color: #eaeaea;
    margin-top: 8px;
}

.contact-rep-label {
    font-size: 0.98rem;
    color: #eaeaea;
    margin-bottom: 16px;
}

.contact-image {
    max-width: 520px;
    width: 100%;
    border-radius: 4px;
    align-self: flex-start;
    margin-left: 32px;
    margin-top: 16px;
}

.contact-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}








.footer {
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8px 16px 48px;
    box-sizing: border-box;
    font-size: 0.85rem;
    color: #bdbdbd;
    background: #232323;
    /* margin-top: 32px; */
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}





/* Reviews Section */
.reviews {
    width: 100vw;
    min-height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.reviews-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 45px;
}

.reviews-content {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 48px;
    align-items: flex-start;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 64px;
    flex: 1;
}

.review-card {
    background: none;
    color: #eaeaea;
    padding: 0 0 0 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 800px;
    margin-bottom: 0;
}

.review-title {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    color: #fff;
}

.review-text {
    font-family: 'Synonym';
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #eaeaea;
}

.review-source {
    font-family: 'Synonym';
    font-size: 0.85rem;
    color: #bdbdbd;
    letter-spacing: 0.12em;
    text-align: right;
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
}

/* .review-source:after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #bdbdbd;
    margin: 8px 0 0 auto;
    opacity: 0.5;
} */



/* Calender Section Layout */
.calender-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 45px;
}

.calender-content {
    display: flex;
    flex-direction: row;
    flex: 1;
    /* gap: 48px; */
    align-items: flex-start;
}

.calender-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 2;
    min-width: 200px;
}

.calender-event {
    font-family: 'Synonym';
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
}

.event-date {
    font-family: 'Synonym';
    color: #eaeaea;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    min-width: 90px;
    margin-top: 2px;
}

.event-details {
    font-family: 'Synonym';
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.event-title {
    font-family: 'Synonym';
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    margin-bottom: 2px;
}

.event-location {
    color: #bdbdbd;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.event-link {
    color: #eaeaea;
    font-size: 0.92rem;
    text-decoration: underline;
    margin-top: 2px;
    width: fit-content;
    transition: color 0.2s;
}

.event-link:hover {
    color: #680e0e;
}

.calender-image-placeholder {
    width: 20px;
    height: 320px;
    background: #888;
    opacity: 0.45;
    border-radius: 2px;
    flex: 1;
    align-self: flex-start;
    margin-left: 32px;
}

/* Calender Section */
.calender {
    width: 100vw;
    min-height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}
















/* Projects Section */
.projects {
    width: 100vw;
    min-height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;

}

.projects-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 45px;
}

.projects-content {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 48px;
    align-items: flex-start;

}


.projects-gallery {
    width: 100%;
    /* match the projects-container width */
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.projects-gallery img {
    display: block;
    width: 100%;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    transition: height 0.4s ease;
}

.projects-gallery img:hover {
    height: 200px
}

/* .projects-gallery img:not(:hover) {
    transition-delay: 0.2s;
} */

.project-image {
    position: relative;
    display: inline-block;
}

.project-image,
.project-image a {
    display: block;
    width: 100%;
}

.project-title {
    font-family: 'Synonym';
    font-weight: 200;
    position: absolute;
    bottom: 16px;
    right: 24px;
    color: #fff;
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.project-image:hover .project-title {
    opacity: 1;
}

#tosca {
    object-fit: cover;
    object-position: 20% 40%;
}

#lovelease {
    object-fit: cover;
    object-position: 20% 75%;
}

#fledermaus {
    object-fit: cover;
    object-position: 20% 35%;
}

#boheme {
    object-fit: cover;
    object-position: 20% 55%;
}

#bayreuth {
    object-fit: cover;
    object-position: 60% 48%;
}

/* answering_machine was adjusted later with final overrides */














/* Biography Section */
.biography {
    width: 100vw;
    min-height: 100vh;
    background: #181818;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.bio-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 45px;
}




.bio-content {
    display: flex;
    flex-direction: row;
    flex: 1;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
}

.bio-text {
    color: #eaeaea;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 420px;
}

.bio-text p:first-child {
    margin-top: 0;
}

.bio-photo img {
    display: block;
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    /* box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
    background: #111; */
}










/* Hero Section */
.main-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    /* display: block; */
    filter: grayscale(1) contrast(1.1);
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;

}

.main-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 2;
}

.main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.10);
    /* adjust opacity here */
    z-index: 3;
    pointer-events: none;
}

.main-title {
    position: absolute;
    left: 52px;
    bottom: 60px;
    color: #111;
    z-index: 4;
    pointer-events: auto;
}

.main-title .name {
    font-family: 'Synonym';
    font-size: 4rem;
    letter-spacing: 0.12em;
    font-weight: 400;
    color: #111;
}

.main-title .subtitle {
    font-family: 'Synonym';
    font-size: 2rem;
    color: #444;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.menu-btn {
    position: fixed;
    top: 32px;
    right: 32px;
    color: #fff;
    background: none;
    padding: 8px 24px;
    border-radius: 2px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    cursor: pointer;
    z-index: 100;
    pointer-events: auto;
    transition: background 0.2s;
    border: none;
    text-transform: uppercase;
    font-family: 'Synonym';
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.089);
}

.menu-btn.open {
    display: none;
}

.close-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    color: #fff;
    background: none;
    padding: 8px 24px;
    border-radius: 2px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    cursor: pointer;
    z-index: 1001;
    pointer-events: auto;
    transition: background 0.2s;
    border: none;
    text-transform: uppercase;
    font-family: 'Synonym';
}

.close-btn:hover {
    color: #bdbdbd;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 20vw;
    height: 100vh;
    background: rgba(17, 17, 17, 0.5);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.2s ease-in-out;
    z-index: 999;
}

.drawer.open {
    right: 0;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 1rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.drawer-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.drawer-nav a:hover {
    color: #bdbdbd;
}

/* Language toggle button styled like a link */
.drawer-nav .lang-toggle {
    background: none;
    border: none;
    color: #fff;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0;
}

.drawer-nav .lang-toggle:hover {
    color: #bdbdbd;
}










/* DEBUG */
/* * {
    outline: 1px solid magenta !important;
}

.drawer {
    outline: none !important;
}

.section-container,
.projects-container,
.reviews-container,
.calender-container,
.contact-container {
    border: 2px dashed lime !important;
}

.menu-btn .bar {
    display: none;
}

#viewport-size {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 10000;
} */

/* Project image crop overrides — keep last so they always win */
.projects-gallery img#answering_machine {
    object-fit: cover;
    /* ~40px lower crop without calc() for better Safari/WebKit support */
    object-position: 10% 22%;
}

.projects-gallery img#tosca {
    object-fit: cover;
    object-position: 20% 40%;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 100;
    display: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 32px;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    background: none;
    box-shadow: none;
    border: none;
}

#backToTop:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}