/* Ana site stilleri (layouts/app.blade.php içinden taşındı) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-purple: #4f46e5;
    --accent-purple-hover: #4338ca;
    --accent-emerald: #059669;
    --card-border: rgba(0, 0, 0, 0.08);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar Layout */
header {
    background-color: rgba(15, 23, 42, 0.9); /* Premium dark slate blue */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 80px;
    max-width: 1280px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .navbar {
    height: 64px;
}

.logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo {
    font-size: 21px;
}

.logo i {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    height: auto;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo img {
    max-height: 42px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin-left: auto;
    flex-wrap: nowrap;
}

@media (min-width: 1081px) and (max-width: 1220px) {
    .logo img {
        max-height: 44px;
    }
    .nav-menu {
        gap: 14px;
    }
    .nav-link {
        font-size: 13.5px;
    }
    .nav-btn {
        padding: 9px 18px;
        font-size: 13.5px;
    }
}

.nav-menu > li {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 500;
    color: #cbd5e1;
    padding: 8px 0;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: #ffffff; /* Pop on hover */
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #0f172a; /* Slate 900 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    display: block;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-left: 24px;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover));
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Responsive Navbar */
.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
}

/* Hero / Page Banner */
.subpage-banner {
    padding: 160px 0 90px;
    background-color: #0f172a; /* Premium deep dark slate */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.12) 0%, transparent 50%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Floating background blob 1 */
.subpage-banner::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    animation: float-blob 12s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

/* Floating background blob 2 */
.subpage-banner::after {
    content: "";
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    filter: blur(45px);
    animation: float-blob 15s infinite alternate-reverse ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.subpage-banner .container {
    position: relative;
    z-index: 2;
}

.subpage-banner h1 {
    font-size: 38px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: -0.5px !important;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.subpage-banner p {
    color: #94a3b8 !important;
}

.subpage-banner .breadcrumbs {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8 !important;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(15px);
}

.subpage-banner .breadcrumbs a {
    color: #94a3b8 !important;
    transition: color 0.3s ease;
}

.subpage-banner .breadcrumbs a:hover {
    color: #818cf8 !important; /* Light Indigo hover color */
}

.subpage-banner .breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: #475569;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.15); }
    100% { transform: translate(-20px, -40px) scale(0.9); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Section */
footer {
    background-color: #0b0f19;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px;
    margin-top: 80px;
    color: #9ca3af;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    color: #ffffff;
}

footer .logo {
    background: linear-gradient(135deg, #a5b4fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-desc p {
    color: #9ca3af;
    margin: 20px 0;
    max-width: 320px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #1f2937;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.social-link:hover {
    background-color: var(--accent-purple);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-purple);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9ca3af;
    font-size: 15px;
}

.footer-column ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ca3af;
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--accent-purple);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #9ca3af;
}

/* Buttons & Forms */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover));
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* Slide drawer overlay and active body styles */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
body.menu-open {
    overflow: hidden;
}
body.menu-open header {
    z-index: 2005 !important;
}
body.menu-open .nav-overlay {
    z-index: 2004 !important;
}

/* Responsive breakpoints */
@media (max-width: 1080px) {
    .navbar {
        height: 70px;
    }
    .nav-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background-color: #0b0f19 !important;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 24px;
        gap: 15px;
        align-items: flex-start;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }
    .nav-menu > li {
        width: 100%;
        display: block;
    }
    .nav-menu.active {
        right: 0;
    }
    .mobile-menu-header {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 15px;
    }
    .nav-item {
        width: 100%;
    }
    .nav-menu .nav-link {
        font-size: 15px !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 10px 0 !important;
        color: #f1f5f9 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
        transition: all 0.3s ease !important;
    }
    .nav-menu .nav-link:hover, .nav-menu .nav-item.active > .nav-link {
        padding-left: 8px !important;
        color: #818cf8 !important;
    }
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 15px !important;
        background-color: transparent !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .nav-menu .dropdown-menu a {
        display: block !important;
        padding: 8px 0 !important;
        font-size: 14px !important;
        color: #cbd5e1 !important;
        transition: all 0.3s ease !important;
    }
    .nav-menu .dropdown-menu a:hover {
        color: #ffffff !important;
        padding-left: 5px !important;
        background-color: transparent !important;
    }
    .nav-menu .nav-btn {
        display: block;
        text-align: center;
        width: 100%;
        margin-top: 15px;
        padding: 12px 24px;
    }
    .nav-toggle {
        display: block;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Subpage Banner Mobile Styles */
    .subpage-banner {
        padding: 100px 0 45px !important;
    }
    .subpage-banner h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .subpage-banner p {
        font-size: 13.5px !important;
        padding: 0 15px !important;
        margin-top: 10px !important;
    }
}
 
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .subpage-banner {
        padding: 90px 0 35px !important;
    }
    .subpage-banner h1 {
        font-size: 21px !important;
    }
}

/* Visually hidden for users, visible for screen readers & search engines (SEO) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Premium Pagination Styles */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 12px 20px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background-color: var(--bg-secondary);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    background-color: var(--accent-purple);
    color: #ffffff;
    border-color: var(--accent-purple);
    transform: translateY(-1px);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: var(--text-muted);
}

.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.pagination-page:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--card-border);
}

.pagination-page.active {
    background-color: var(--accent-purple);
    color: #ffffff;
    border-color: var(--accent-purple);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.pagination-dots {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 4px;
}

/* Premium Input & Dropdown System (Teklif Al) */
.premium-input-group {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 5px 24px;
    background: #ffffff;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    height: 56px;
    position: relative;
}

.premium-input-group:focus-within,
.custom-select-wrapper.open .custom-select-trigger {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

.premium-input-icon-box {
    font-size: 18px;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
}

.premium-input-separator {
    color: #cbd5e1;
    margin: 0 16px;
    font-weight: 300;
    font-size: 18px;
    user-select: none;
    flex-shrink: 0;
}

.premium-input-field {
    border: none;
    background: transparent;
    font-size: 15px;
    width: 100%;
    height: 100%;
    outline: none;
    color: #1e293b;
    font-family: var(--font-body);
}

.premium-input-field::placeholder {
    color: #94a3b8;
}

.premium-input-right-badge {
    margin-left: 8px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Custom Select elements */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 5px 24px;
    background: #ffffff;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    height: 56px;
    cursor: pointer;
    justify-content: space-between;
    user-select: none;
}

.custom-select-trigger:hover {
    border-color: rgba(239, 68, 68, 0.4);
}

.custom-select-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    overflow: hidden;
}

.custom-select-text {
    font-size: 15px;
    color: #94a3b8; /* default placeholder color */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-body);
}

.custom-select-text.has-value {
    color: #ef4444; /* color chosen in the user's screenshot for select value! */
    font-weight: 600;
}

.custom-select-arrow {
    color: #475569;
    font-size: 14px;
    transition: transform 0.3s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-arrow {
    transform: rotate(180deg);
}

.custom-options-container {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    padding: 8px 0;
    z-index: 1100;
    max-height: 285px;
    overflow-y: auto;
    display: none;
}

/* Customize scrollbar for options dropdown */
.custom-options-container::-webkit-scrollbar {
    width: 6px;
}
.custom-options-container::-webkit-scrollbar-track {
    background: transparent;
}
.custom-options-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-options-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-option {
    padding: 12px 24px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.custom-option:hover {
    background: #f1f5f9;
    color: #ef4444;
    padding-left: 28px;
}

.custom-option.selected {
    background: rgba(239, 68, 68, 0.05);
    font-weight: 600;
    color: #ef4444;
}

/* Option header / placeholder option style */
.custom-option.option-placeholder {
    color: #94a3b8;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 4px;
}

.custom-option.option-placeholder:hover {
    background: transparent;
    color: #94a3b8;
    padding-left: 24px;
    cursor: default;
}

@media (max-width: 600px) {
    .pagination-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
