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

:root {
    --primary-color: #a8c9a0;
    --dark-color: #2a2a2a;
    --light-gray: var(--primary-color);
    --medium-gray: #888888;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    font-weight: 400;
    margin-left: 250px;
}

/* Page Logo */
.page-logo {
    display: none;
}

/* Navigation */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    z-index: 1000;
    background-color: #f6f7ec;
    border-right: 1px solid #f0f0f0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-title {
    font-family: 'Montserrat', serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
    text-align: center;
    color: var(--primary-color);
    display: block;
}

.nav-title:hover {
    color: var(--primary-color);
}

.nav-title {
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.page-section .page-container h1 {
    position: relative;
    padding-left: 50px;
}

.hamburger span {
    width: 20px;
    height: 2.5px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Logo in navbar */
.nav-logo {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px auto;
}

/* Small logo for hero */
.hero-logo {
    display: block;
    width: 200px;
    height: auto;
    margin: 0 auto 18px auto;
}

.nav-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

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

.nav-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-social-icon {
    color: var(--dark-color);
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-social-icon:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    margin-top: 0;
    height: 600px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    padding: 60px 40px;
    color: var(--white);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Montserrat', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Hero Section - Simple */
.hero-simple {
    padding: 80px 40px;
    background-color: var(--white);
}

.hero-simple .hero-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-simple .hero-content h2 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero-simple .hero-content p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--medium-gray);
}

/* Featured Gallery */
.featured-gallery {
    padding: 60px 40px;
    background-color: var(--white);
}

.featured-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    auto-rows: 300px;
}

.featured-item {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-cta {
    max-width: 1400px;
    margin: 60px auto 0;
    text-align: center;
    padding: 0 40px;
}

.gallery-cta p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.featured-item-1,
.featured-item-4 {
    grid-column: span 1;
}

.featured-item-2,
.featured-item-3,
.featured-item-5,
.featured-item-6 {
    grid-column: span 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        auto-rows: 250px;
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        auto-rows: auto;
    }

    .hero-simple .hero-content h2 {
        font-size: 1.8rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    order: 2;
}

.about-text h2 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.about-text h3 {
    font-family: 'Montserrat', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.techniques-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.techniques-list span {
    font-size: 0.9rem;
    color: var(--medium-gray);
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.about-image {
    order: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Page */
.gallery-page {
    padding: 60px 40px;
    min-height: calc(100vh - 250px);
}

.gallery-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-page-container h1 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: center;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.gallery h2 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 1px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 1;
}

.gallery-item:nth-child(2) {
    grid-column: span 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4), transparent);
    color: var(--white);
    padding: 50px 25px 25px;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

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

.gallery-info h3 {
    font-family: 'Montserrat', serif;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.gallery-info p {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.4;
}

.gallery-item a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    z-index: 1;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: #f6f7ec;

}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact h2 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.contact-intro {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #d0d0d0;
    background-color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(168, 201, 160, 0.1);
}

.btn {
    padding: 12px 30px;
    border: 1px solid var(--dark-color);
    background-color: var(--dark-color);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 40px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Montserrat', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 0;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* Artwork Detail Pages */
.artwork-detail {
    padding: 60px 40px;
    min-height: calc(100vh - 250px);
}

.artwork-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.artwork-image {
    position: sticky;
    top: 40px;
}

.artwork-image img {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-content h1 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.artwork-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    font-style: italic;
}

.artwork-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item h4 {
    font-family: 'Montserrat', serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.artwork-fulltext {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.btn-back {
    display: inline-block;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-bottom: 1px solid var(--primary-color);
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--primary-color);
}

/* Page Sections */
.page-section {
    padding: 80px 40px;
    min-height: calc(100vh - 250px);
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-container h1 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.page-container h2 {
    font-family: 'Montserrat', serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

/* Legal / Impressum / Privacy pages */
.legal-page {
    padding: 80px 40px;
    min-height: calc(100vh - 250px);
}

.legal-page .container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-family: 'Montserrat', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content h2, .legal-content h3 {
    color: var(--dark-color);
}

.legal-content p, .legal-content li {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.process-step {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.process-step h3 {
    font-family: 'Montserrat', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.process-step p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

.process-philosophy {
    background-color: #f6f7ec;
    padding: 3rem;
    margin-top: 3rem;
}

.process-philosophy p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
}

/* Commission Sections */
.commission-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    font-style: italic;
}

.commission-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.option {
    padding: 2rem;
    border: 1px solid #e0e0e0;
    background-color: #f6f7ec;
}

.option h3 {
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.option p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--medium-gray);
}

.commission-process {
    margin-bottom: 3rem;
}

.step {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.step h4 {
    font-family: 'Montserrat', serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.step p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--medium-gray);
}

.commission-cta {
    background-color: #f6f7ec;
    padding: 3rem;
    text-align: center;
}

.commission-cta h2 {
    margin-top: 0;
}

.commission-cta p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        justify-content: flex-start;
    }

    .nav-social {
        margin-left: 0;
    }

    .hero {
        margin-top: 0;
        height: 400px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .gallery-container {
        padding: 0 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        auto-rows: auto;
    }

    .contact-container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    /* Artwork Detail Responsive */
    .artwork-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .artwork-image {
        position: static;
    }

    .artwork-content h1 {
        font-size: 1.8rem;
    }

    .artwork-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Page Sections Responsive */
    .page-section {
        padding: 40px 20px;
    }

    .page-container h1 {
        font-size: 1.8rem;
    }

    .page-container h2 {
        font-size: 1.4rem;
        margin-top: 2rem;
    }

    .commission-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .option {
        padding: 1.5rem;
    }

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .navbar {
        position: fixed;
        left: -250px;
        top: 0;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        background-color: #f6f7ec;
        border-right: 1px solid #f0f0f0;
        padding: 20px;
        display: flex;
        flex-direction: column;
        transition: left 0.3s ease;
    }

    .navbar.active {
        left: 0;
    }

    body {
        margin-left: 0;
    }

    /* Mobile menu overlay to close on click */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    body.menu-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    .nav-container {
        padding-top: 10px;
    }

    /* Mobile Page Logo */
    .page-logo {
        display: block;
        position: relative;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: auto;
        z-index: 999;
    }

    .hero {
        margin-top: 0;
        height: 350px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        auto-rows: auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-simple {
        padding: 40px 20px;
    }

    .featured-gallery {
        padding: 40px 20px;
        justify-content: center;
    }

    .gallery-page {
        padding: 60px 0;
        min-height: auto;
        justify-content: center;
    }

    .gallery-page-container {
        padding: 0 20px;
        width: 100%;
        max-width: 500px;
    }

    .gallery-page-container h1 {
        font-size: 1.5rem;
    }

    .artwork-detail {
        padding: 60px 0;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .artwork-container {
        padding: 0 20px;
        width: 100%;
        max-width: 500px;
    }

    .legal-page {
        padding: 60px 0;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .legal-page .container {
        padding: 0 20px;
        width: 100%;
        max-width: 500px;
    }

    .page-section {
        padding: 60px 0;
        min-height: auto;
        display: flex;
        justify-content: center;
    }

    .page-container {
        max-width: 100%;
        padding: 0 20px;
        width: 100%;
        max-width: 500px;
    }

    .page-container h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding-left: 0;
    }

    .page-container h2 {
        font-size: 1.3rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .page-container p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    /* Mobile Process Steps */
    .process-steps {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .process-step {
        padding-bottom: 1.5rem;
    }

    .process-step h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .process-step p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin: 0;
    }

    .process-philosophy {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .process-philosophy h2 {
        margin-top: 0;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .process-philosophy p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin: 0;
    }

    /* Mobile Techniques List */
    .techniques-list {
        gap: 0.75rem 1.5rem;
    }

    .techniques-list span {
        font-size: 0.8rem;
        padding-bottom: 0.25rem;
    }

    /* Mobile CTA buttons on about page */
    .page-container a.btn {
        display: block;
        margin: 0.75rem 0;
    }

    .page-container a.btn:first-of-type {
        margin-top: 0;
    }

    /* Mobile Gallery CTA */
    .gallery-cta {
        width: 100%;
        max-width: 500px;
        margin: 40px auto 0;
        padding: 0 20px;
        text-align: center;
    }

    .gallery-cta p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .gallery-cta .btn {
        display: block;
        width: 100%;
        padding: 12px 30px;
        text-align: center;
    }

    .footer {
        padding: 40px 20px 30px;
    }

    .footer-content {
        margin-bottom: 20px;
    }

    .copyright {
        font-size: 0.75rem;
    }
}

