/*
 *  WonderCMS 3.0.0 Parallax Theme
 *  by Stephan Stanisic
 *
 *  This is my first theme I've build, ever. Most times I
 *  just grap a theme from my friends at pixelarity.com
 *  They make awesome themes, and you get them all for
 *  a small monthly substription.
 *  They also have a Creative Commons Licenced version of
 *  some of their work available at html5up.net. Just wanted
 *  to give these guys some credit.
 *
 *  Anyhow, don't be too picky here. Most of this has been put
 *  together without planning.
 */


/* Some resets */

    *:focus {
        outline: none;
    }

    body {
        font-family: "Lato", sans-serif;
    }

    .row {
        /* Stupid bootstrap */
        margin-left: 0;
        margin-right: 0;
    }

    .navbar-default {
        background: transparent;
        border: 0;
        margin: 0;
        position: absolute;
    }

    img {
        max-width: 100%;
    }



/* Navigation */

    nav.navbar-default , #adminPanel {
        position: absolute;

        height: auto;
        padding: 1em 2em;

        transition: margin 1s;
    }

    nav.navbar-default  {
        width: 100%;
        z-index: 2;
    }

    /* Quick hack for higher priority */
    body #adminPanel {
        right: 0;

        width: 15em;
        z-index: 1050;

        background: transparent;
    }

    .navbar-default .navbar-nav > .active > a,
    .navbar-default .navbar-nav > .active > a:focus,
    .navbar-default .navbar-nav > .active > a:hover {
        background: transparent;
        color: #fff;
        border-bottom: 1px solid #fff;
    }

    /* Make the nav panel shorter when logged in  */
    /* This to make space for the settings button */
    #adminPanel + nav {
        width: calc(100% - 15em);
    }
    #adminPanel + nav.sticky {
        width: 100%;
    }

    nav.sticky {
        position: fixed;

        width: 100%;
        border-radius: 0;

        animation: animatetop 0.4s;

        background: #37474F;
    }

    nav.background {
        background: #37474F;
        border-radius: 0;
        position: relative;
    }


    nav.no-animation {
        animation: none;
    }

    nav.background:after {
        content: "";

        position: absolute;
        top: 0;
        right: -15em;

        width: 15em;
        height: 5.7em;

        background: #37474F;
    }

    nav:not(.sticky) .container {
        width: 100%;
    }

    nav:not(.sticky) .nav > li > a,
    nav:not(.sticky) .navbar-brand {
        text-shadow: 0 0 1em #000;
    }

    nav.navbar-default .navbar-brand {
        color: #fff;

        font-size: 1.5em;
    }

    .navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
        color: #fff;
    }

    .navbar-default .nav > li > a {
        color: #fff;
        border-bottom: 1px solid transparent;
    }

    .navbar-default .nav > li > a:focus,
    .navbar-default .nav > li > a:hover {
        color: #fff;
        border-bottom: 1px solid #fff;

        /* Stupid bootstrap */
        background: transparent;
    }

    .navbar-default .navbar-toggle {
        border-color: transparent;
        position: fixed;
        right: 1em;
        z-index: 999999999;
        filter: drop-shadow(0 0 2px #000);
    }

    .navbar-default .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
        background-color: rgba(0,0,0,0);
    }

    .navbar-collapse.collapse.in,
    .navbar-collapse.collapsing {
        opacity: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        background: rgba(0,0,0,0.9);
        text-align: center;
        display: flex;
        border: 0;
    }

    .navbar-collapse.collapse.in ul.nav.navbar-nav.navbar-right,
    .navbar-collapse.collapsing ul.nav.navbar-nav.navbar-right {
        margin: auto;
        font-size: 1.2em;
    }

    .navbar-collapse.collapse.in .nav>li,
    .navbar-collapse.collapsing .nav>li {
        margin: 2em;
        min-width: 30vw;
    }

    .navbar-collapse.collapse.in .nav>li.active a,
    .navbar-collapse.collapsing .nav>li.active a {
        border-bottom: 0;
    }

    .navbar-collapse.collapse.in ul.nav.navbar-nav.navbar-right:before,
    .navbar-collapse.collapsing ul.nav.navbar-nav.navbar-right:before {
        content: "Menu";
        display: block;
        font-size: 1.2em;
        border-bottom: 1px solid #fff;
        padding-bottom: 1em;
        color: #fff;
    }

    div#bs-example-navbar-collapse-1 {
        transition: opacity 0.5s, height 0.5s;
        opacity: 1;
    }

    div#bs-example-navbar-collapse-1.navbar-collapse.collapsing {
        opacity: 0;
        height: 0 !important;
    }

    button.navbar-toggle {
        transition: 1s;
    }
    button.navbar-toggle .icon-bar {
        transition: 0.5s;
    }

    button.navbar-toggle:not(.collapsed) .icon-bar:nth-child(1) {
        transform: rotate(-45deg);
        display: block;
        position: relative;
    }

    .navbar-toggle:not(.collapsed) > span.icon-bar:nth-child(2) {
        transform: rotate(45deg) translateX(25%) translateY(200%);
    }

    .navbar-toggle:not(.collapsed) > span.icon-bar:nth-child(4) {
        transform: rotate(-45deg) translateX(20%) translateY(-150%);
    }

    .navbar-toggle:not(.collapsed) > span.icon-bar:nth-child(3) {
        opacity: 0;
    }

    #adminPanel > .padding20 {
        padding: 15px;
        position: relative;
        z-index: 1;
    }

    .modal-open #adminPanel > .padding20 {
        opacity: 0.5;
    }

    #adminPanel > .text-right {
        text-align: left;
    }

    #adminPanel > .text-right a {
        padding: 15px 15px 15px 0;

        color: #fff;
        text-shadow: 0 0 1em #000;
    }

    /* Make sure that the admin modal still sits on top */

    .modal, .alert {
        z-index: 500000;
    }

    .modal-dialog {
        margin-top: 100px;
    }



/* Header */

    .parallax-wrapper {
        overflow-y: hidden;
    }

    .parallax {
        position: relative;

        display: flex;
        flex-direction: column;
        justify-content: center;

        height: 100vh;
        min-height: 37em;
        max-height: 100vh;
        padding-top: 5em;

        text-align: center;

        background-position: center;
        background-size: cover;
        text-shadow: 0 0 1em #000;
    }

    .parallax .inner {
        display: inline-block;

        margin: auto;
        padding: 5em;

        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }
    .parallax .inner h1,
    .parallax .inner p ,
    .parallax .inner .note-editable,
    .parallax .inner .editText {
        margin: 0;

        color: #fff;
    }

    .parallax .inner h1 {
        text-transform: uppercase;

        font-size: 3em;
        font-weight: 300;
        line-height: 2;
    }
    .parallax .inner h1:after {
        display: block;

        width: 150px;
        height: 2px;
        margin: 0.2em auto 0.7em auto;

        content: "";

        background: #fff;
    }


    .parallax .inner p,
    .parallax .inner .note-editable {
        font-size: 1.2em;
        line-height: 2;
    }

    .parallax .scrolly {
        position: absolute;
        bottom: 1em;
        left: 50%;

        display: block;

        transform: translateX(-50%);

        color: #fff;

        font-size: 1.2em;

        tetx-decoration: none;
    }

    .parallax .scrolly svg {
        height: 1.2em;
        margin-top: 1em;
        filter: drop-shadow(0px 0px 5px #000);
    }



/* Content */

    #content {
        padding: 4em 0;
    }



/* Elements */

    h1 {
        color: #37474F;
    }

    h3 {
        color: #636363;
    }

    hr {
        width: 50px;
        margin: 2em auto;

        border: 1px solid rgba(0,0,0,0.2);
    }



/* Call to action */

    .CTA {
        padding: 5em 0;

        color: #fff;
        background: #37474F;
    }

    .CTA h3,
    .CTA a {
        color: #fff;
    }

    .CTA a:hover {
        text-decoration: none;
        border-bottom: 1px solid #fff;
    }



/* Animations */

    @keyframes animatetop {
        from {
            top: -300px;
            opacity: 0;
        }
        to {
            top: 0;
            opacity: 1;
        }
    }
.auto-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.gallery-card {
    overflow: hidden;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    width: 100%;
    height: 300px; /* Sabit yükseklik, istersen 'auto' yapabilirsin */
    object-fit: cover; /* Resimleri kutuya sığdırır ve kesmez */
    cursor: pointer;
}
.artwork-info {
    padding: 15px 5px;
    text-align: left; /* Sanatçı künyeleri genellikle sola hizalıdır */
}

.art-title {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #111;
    font-weight: 400;
}

.art-details, .art-size {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
    font-style: italic; /* Teknik bilgiler için hafif bir vurgu */
}

.gallery-card {
    background: transparent !important; /* Arka plandaki beyaz kutuyu kaldırıp sadeleştiriyoruz */
    box-shadow: none !important;
    border-bottom: 1px solid #eee; /* Eserler arasına ince bir ayraç */
    margin-bottom: 20px;
}
/* Sadece mobil ekranlar için (768px altı) */
@media (max-width: 768px) {
	#content {
        padding: 1.5em 0 !important; /* Mobilde ana içerik boşluğunu iyice kısaltır */
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .art-title {
        font-size: 0.85rem !important; /* Başlık daha da küçüldü */
        line-height: 1.2;
    }
    .art-details, .art-size {
        font-size: 0.7rem !important; /* Künye bilgileri minimal seviyeye çekildi */
        line-height: 1.3;
    }
    .artwork-info {
        padding: 8px 2px; /* Boşluklar daraltıldı */
    }
}
/* Menü Okunabilirlik Kalkanı */
nav.navbar-default {
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%) !important;
    border: none !important;
    padding-top: 15px !important; /* Menüyü biraz daha ferahlatır */
}

/* Menü Linkleri ve Logo Rengi */
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-brand {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8); /* Yazıyı arka plandan tamamen koparır */
    transition: color 0.3s ease;
}

/* Mouse Üzerine Gelince Hafif Solma Efekti */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-brand:hover {
    color: #b8b8b8 !important;
}
/* İletişim Üst Bilgi Estetiği ve Boşluk */
.contact-info-header {
    margin-bottom: 45px; /* Form ile e-postalar arasına net bir boşluk açar */
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 25px;
}
.contact-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}
.contact-emails a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-emails a:hover {
    color: #888;
}
.email-divider {
    margin: 0 10px;
    color: #ccc;
}

/* Premium Form Estetiği */
.karya-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Elemanlar arası ferahlık */
}

/* Yan Yana Form Düzeni */
.form-row {
    display: flex;
    gap: 20px;
}
.form-row .form-group {
    flex: 1; /* Alanı eşit böler */
    margin: 0 !important;
}

.karya-contact-form input,
.karya-contact-form textarea {
    width: 100%;
    padding: 14px 18px; /* İç boşluklar artırıldı */
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: #fbfbfb;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

/* Odaklanma (Focus) Anındaki Etki */
.karya-contact-form input:focus,
.karya-contact-form textarea:focus {
    border-color: #111;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); /* Çevreye yayılan şık bir halka efekti */
}

/* Buton Estetiği ve Dinamik Hover */
.karya-contact-form .btn-submit {
    background: #111;
    color: #fff;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.karya-contact-form .btn-submit:hover {
    background: #333;
    transform: translateY(-2px); /* Üzerine gelince hafifçe havaya kalkma hissi */
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Mobil Uyum (768px altında yan yana form alanlarını alt alta alır) */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}