/* Custom Styles for PremiumClean - DeveliHalı Theme */

.glass-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #0066CC, #1ABCFE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Logo: solda hizalı, ortalanmıyor */
.develihali-logo-header {
    display: inline-block;
    line-height: 0;
}
.develihali-logo-header a {
    display: inline-flex;
    align-items: center;
}
.develihali-logo-header img {
    max-width: 200px;
    max-height: 100px;
    display: block;
    vertical-align: middle;
}
.develihali-logo-footer {
    display: inline-block;
    line-height: 0;
}
.develihali-logo-footer a {
    display: inline-flex;
    align-items: center;
}
.develihali-logo-footer img {
    max-width: 200px;
    max-height: 100px;
    display: block;
    vertical-align: middle;
}

/* WordPress menü – ana menü ve footer */
.develihali-primary-menu,
.develihali-primary-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.develihali-primary-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s;
}
.develihali-primary-menu a:hover {
    color: #0066CC;
}
.develihali-primary-menu .current-menu-item a {
    color: #0066CC;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.develihali-mobile-menu a {
    display: block;
}
.develihali-mobile-menu .current-menu-item a {
    color: #0066CC;
}

/* Footer menü */
footer .menu,
footer ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer .menu li {
    margin-bottom: 1rem;
}
footer .menu a:hover {
    color: #0066CC;
}

/* Galeri sayfası – grid ve lightbox (HTML’deki gibi) */
#gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 640px) {
    #gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    #gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    aspect-ratio: 1 / 1;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.5s, transform 0.3s;
}
.gallery-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s;
}
.gallery-item:hover img {
    transform: scale(1.1);
}

#lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    cursor: pointer;
}
#lightbox img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
