/* Main Theme Styles */

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.yacht-gradient {
    background: linear-gradient(180deg, rgba(10, 31, 51, 0.8) 0%, rgba(10, 31, 51, 0.4) 100%);
}

.job-card:hover {
    border-left: 4px solid #1ca7a6;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Navigation Menu Styles */
.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0a1f33;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.dark .nav-link {
    color: #f9fafb;
}

.nav-link:hover {
    color: #1CA7A6;
    background-color: rgba(28, 167, 166, 0.1);
}

.dark .nav-link:hover {
    background-color: rgba(28, 167, 166, 0.15);
}

/* Active menu item */
.nav-link.current-menu-item,
.nav-link.current_page_item {
    color: #1CA7A6;
    font-weight: 600;
}

.nav-link.current-menu-item::after,
.nav-link.current_page_item::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.375rem;
    height: 0.375rem;
    background-color: #1CA7A6;
    border-radius: 50%;
}

/* Mobile Navigation Styles */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #0a1f33;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.dark .mobile-nav-link {
    color: #f9fafb;
}

.mobile-nav-link:hover {
    color: #1CA7A6;
    background-color: rgba(28, 167, 166, 0.1);
    padding-left: 1.25rem;
}

.dark .mobile-nav-link:hover {
    background-color: rgba(28, 167, 166, 0.15);
}

.mobile-nav-link.current-menu-item,
.mobile-nav-link.current_page_item {
    color: #1CA7A6;
    font-weight: 600;
    background-color: rgba(28, 167, 166, 0.1);
    border-left: 3px solid #1CA7A6;
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

#mobile-menu.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu icon animation */
#mobile-menu-toggle.active #menu-icon {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Hero Slider Styles */
.hero-slider-section {
    position: relative;
    min-height: 600px;
    z-index: 0; /* Arkaplan slider'ı için */
}

@media (min-width: 768px) {
    .hero-slider-section {
        min-height: 700px;
    }
}

@media (min-width: 1024px) {
    .hero-slider-section {
        min-height: 800px;
    }
}

/* Background slider container - fills entire section */
.hero-slider-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    will-change: opacity;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1 !important;
    z-index: 1;
}

.hero-slide:not(.active) {
    opacity: 0 !important;
    z-index: 0;
}

/* Slider Navigation Dots */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: rgba(255, 255, 255, 1) !important;
    width: 2rem;
}

/* Slider Navigation Buttons */
.slider-nav {
    cursor: pointer;
    backdrop-filter: blur(8px);
}

/* Mobilde navigation butonlarını gizle veya küçült */
@media (max-width: 768px) {
    .slider-nav {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.875rem;
    }
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
}

.slider-nav:active {
    transform: translateY(-50%) scale(0.95);
}

/* Slider fade transition */
.hero-slide.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.hero-slide.fade-out {
    animation: fadeOut 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Candidate slider (Top Available Talent) */
.candidate-slider {
    position: relative;
    min-height: 360px; /* sabit yükseklik ile sayfa kaymasını engelle */
    z-index: 1; /* Section içinde normal akış */
}

/* Mobil slide'lar (1'er 1'er kart) - sadece mobilde görünür */
.candidate-slider .candidate-slide-mobile {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
    display: block; /* Mobilde görünür */
}

.candidate-slider .candidate-slide-mobile.active {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop'ta mobil slide'ları gizle */
@media (min-width: 1024px) {
    .candidate-slider .candidate-slide-mobile {
        display: none !important;
    }
}

/* Desktop slide'lar (5'er 5'er kart) - sadece desktop'ta görünür */
.candidate-slider .candidate-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    z-index: 1;
    display: none; /* Mobilde gizli */
}

.candidate-slider .candidate-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Desktop'ta desktop slide'ları göster */
@media (min-width: 1024px) {
    .candidate-slider .candidate-slide {
        display: block !important;
    }
}

/* Mobilde dinamik yükseklik */
@media (max-width: 1023px) {
    .candidate-slider {
        min-height: 400px; /* Mobilde tek kart için yeterli yükseklik */
    }
}

.candidate-slider .candidate-slide .candidate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
}

.candidate-slider .candidate-slide.active .candidate-card {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.candidate-slider .candidate-slide.active .candidate-card:nth-child(1) {
    transition-delay: 0s;
}
.candidate-slider .candidate-slide.active .candidate-card:nth-child(2) {
    transition-delay: 0.08s;
}
.candidate-slider .candidate-slide.active .candidate-card:nth-child(3) {
    transition-delay: 0.16s;
}
.candidate-slider .candidate-slide.active .candidate-card:nth-child(4) {
    transition-delay: 0.24s;
}
.candidate-slider .candidate-slide.active .candidate-card:nth-child(5) {
    transition-delay: 0.32s;
}

/* User Dropdown Menu Styles */
.user-dropdown {
    position: relative;
}

#user-dropdown-menu {
    animation: slideDown 0.2s ease-out;
}

#user-dropdown-menu.show {
    display: block;
}

/* Register Form Role Selection Styles */
input[type="radio"][name="user_role"]:checked + div {
    border-color: #1CA7A6;
    background-color: rgba(28, 167, 166, 0.1);
}

.dark input[type="radio"][name="user_role"]:checked + div {
    background-color: rgba(28, 167, 166, 0.2);
}

input[type="radio"][name="user_role"] + div:hover {
    border-color: #1CA7A6;
    transition: all 0.2s ease;
}

/* Article / page content typography */
.article-content {
    font-size: 1rem;
    line-height: 1.85;
}

.article-content p {
    margin-bottom: 1.35em;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-weight: 800;
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: inherit;
}

/* Support Gutenberg heading blocks explicitly */
.article-content .wp-block-heading {
    font-weight: 800;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

.article-content h2.wp-block-heading,
.article-content h2.wp-block-heading strong {
    font-size: 2rem;
}

.article-content h3.wp-block-heading,
.article-content h3.wp-block-heading strong {
    font-size: 1.6rem;
}

.article-content h1 {
    font-size: 2.25rem;
}

.article-content h2 {
    font-size: 1.875rem;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

.article-content h5 {
    font-size: 1.1rem;
}

.article-content h6 {
    font-size: 1rem;
}

.article-content strong,
.article-content b {
    font-weight: bold;
}

.article-content em,
.article-content i {
    font-style: italic;
}

.article-content u {
    text-decoration: underline;
}

/* Gutenberg separators between bölümler */
.article-content hr.wp-block-separator {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid #cbd5e1; /* slate-300 */
}

.dark .article-content hr.wp-block-separator {
    border-top-color: #475569; /* slate-600 */
}

.article-content ul,
.article-content ol {
    margin: 1em 0;
    padding-left: 2em;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content a {
    color: #0ea5e9;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0284c7;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em 0;
}

/* WordPress image alignment (alignleft/center/right) */
.article-content img.aligncenter,
.article-content .aligncenter,
.article-content .wp-block-image .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-content img.alignleft,
.article-content .alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.article-content img.alignright,
.article-content .alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.article-content blockquote {
    border-left: 4px solid #0ea5e9;
    padding-left: 1em;
    margin: 1.5em 0;
    font-style: italic;
    color: #64748b;
}

.article-content code {
    background-color: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.article-content pre {
    background-color: #f1f5f9;
    padding: 1em;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Additional custom styles can be added here */
