/*
Theme Name: Akademi
Theme URI: https://example.com/akademi
Author: AI
Author URI: https://example.com
Description: A modern education theme using Tailwind CSS.
Version: 1.0.0
Text Domain: akademi
*/

/* ==========================================================================
   Animations & Smooth Scroll (Lenis)
   ========================================================================== */

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Custom AOS-like animations */
.will-animate {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-duration: 800ms;
}

.will-animate.fade-up {
    transform: translateY(40px);
}

.will-animate.fade-in {
    transform: translateY(0);
}

.will-animate.zoom-in {
    transform: scale(0.95);
}

.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Optional staging delays based on child index or data-delay */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
   Custom Global Styles
   ========================================================================== */

/* CF7 Form Styles - Making inputs colorful and soft */
.wpcf7 form p {
    margin-bottom: 24px;
}

.wpcf7 form .flex {
    gap: 24px !important;
}

.wpcf7 form .flex > div {
    flex: 1 1 0% !important;
    width: 100% !important;
}

.wpcf7 form .grid {
    gap: 24px !important;
}

/* CF7 Spinner Fix */
.wpcf7-spinner {
    display: none !important;
}

form.submitting .wpcf7-spinner,
form.wpcf7-submitting .wpcf7-spinner {
    display: inline-block !important;
    vertical-align: middle;
    margin-left: 10px;
    opacity: 0.8;
}

.wpcf7 form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #1b1b1b;
    margin-bottom: 8px;
    width: 100%;
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap select,
.wpcf7-form-control-wrap textarea {
    width: 100%;
    background-color: #f6f3eb !important;
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    color: #1b1b1b !important;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
}

/* Custom Dropdown Arrow */
.wpcf7-form-control-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231b1b1b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 16px !important;
    padding-right: 48px !important;
    cursor: pointer;
}

.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap select:focus,
.wpcf7-form-control-wrap textarea:focus {
    outline: none !important;
    border-color: #d3d4f5 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(211, 212, 245, 0.4) !important;
}

.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px !important;
    background-color: #1b1b1b !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 30px !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
}

.wpcf7-submit:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f5c4a1 !important;
    border-radius: 12px;
    background-color: rgba(245, 196, 161, 0.2);
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #c5d6c6 !important;
    border-radius: 12px;
    background-color: rgba(197, 214, 198, 0.2);
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f6f3eb; 
}
 
::-webkit-scrollbar-thumb {
    background: #d3d4f5; 
    border-radius: 10px;
    border: 3px solid #f6f3eb;
}

::-webkit-scrollbar-thumb:hover {
    background: #c5d6c6; 
}

/* Menu Action Button */
.btn-menu-action a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 24px !important;
    background-color: #1b1b1b !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
}

.btn-menu-action a:hover {
    background-color: #d3d4f5 !important;
    color: #1b1b1b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* WordPress Comment Form Styles */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background-color: #f6f3eb;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 14px 20px;
    color: #1b1b1b;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #d3d4f5;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(211, 212, 245, 0.4);
}

.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background-color: #1b1b1b;
    color: #ffffff;
    font-weight: bold;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.comment-form .submit:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.comment-form label {
    font-weight: bold;
    color: #1b1b1b;
    font-size: 14px;
}

.comment-form .comment-notes,
.comment-form .logged-in-as {
    color: #5e5e5e;
    font-size: 14px;
    margin-bottom: 24px;
}

.comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d3d4f5;
}

/* Custom Logo Styling */
.site-branding .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-branding img.custom-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.site-branding img.custom-logo:hover {
    opacity: 0.9;
}

.footer-logo img.custom-logo,
.footer-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* ==========================================================================
   1080x1080 (1:1 Square) Workshop Images
   ========================================================================== */
.atolye-card-image {
    aspect-ratio: 1 / 1 !important;
    position: relative !important;
    overflow: hidden !important;
}

@media (min-width: 768px) {
    .atolye-card-image {
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
        height: 210px !important;
    }
}

.atolye-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
}

/* Single Atolye Hero 1080x1080 Square Display */
.atolye-single-hero-image {
    aspect-ratio: 1 / 1 !important;
    max-width: 600px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.atolye-single-hero-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
    display: block !important;
}

/* ==========================================================================
   Atölye Durum & Format Rozetleri (Explicit CSS)
   ========================================================================== */
.bg-red-600,
.badge-status-basladi {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.badge-status-tamamlandi {
    background-color: #374151 !important;
    color: #ffffff !important;
}

.badge-format-fiziki {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
}

.badge-format-online {
    background-color: #f0f9ff !important;
    color: #0369a1 !important;
}

.badge-format-hibrit {
    background-color: #faf5ff !important;
    color: #6b21a8 !important;
}

/* Dummy Avatar Circles */
.dummy-avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* ==========================================================================
   Inline Related Posts Shortcode [inline_related_posts]
   ========================================================================== */
.akademi-inline-related {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

@media (min-width: 768px) {
    .akademi-inline-related.md\:float-right {
        float: right !important;
        width: 320px !important;
        max-width: 340px !important;
        margin-left: 2rem !important;
        margin-bottom: 1.5rem !important;
        clear: right !important;
    }
    .akademi-inline-related.md\:float-left {
        float: left !important;
        width: 320px !important;
        max-width: 340px !important;
        margin-right: 2rem !important;
        margin-bottom: 1.5rem !important;
        clear: left !important;
    }
}

.akademi-inline-related a {
    text-decoration: none !important;
}

.akademi-inline-related svg {
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;
    min-height: 12px !important;
    max-height: 12px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    margin-right: 4px !important;
    vertical-align: middle !important;
}

.akademi-inline-related img,
.akademi-inline-related .related-thumb img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 !important;
}

/* ==========================================================================
   Yazı & İçerik Paragraf Boşlukları (Article Paragraph Spacing)
   ========================================================================== */
.entry-content p,
article .entry-content p,
.prose p {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.85 !important;
}

.entry-content > p:first-child {
    margin-top: 0 !important;
}

.entry-content ul,
.entry-content ol {
    margin-top: 1rem !important;
    margin-bottom: 1.25rem !important;
    padding-left: 1.5rem !important;
}

.entry-content li {
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.75 !important;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2.25rem !important;
    margin-bottom: 0.85rem !important;
    line-height: 1.35 !important;
}

.entry-content blockquote {
    margin-top: 1.75rem !important;
    margin-bottom: 1.75rem !important;
}




