/*
Theme Name: Didoda Tema
Theme URI: https://didoda.com
Author: Didoda
Description: Didoda Custom WordPress Theme converted from React
Version: 1.0
Author URI: https://didoda.com
Text Domain: didoda
*/

/* =========================================
   Global Scrollbar Hiding
   ========================================= */
/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
    overflow-x: hidden !important;
}

/* Universal scrollbar hiding */
* {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* =========================================
   Footer Styles (Migrated from Footer.jsx)
   ========================================= */
.footer {
    background-color: #0f172a;
    /* slate-900 */
    color: #94a3b8;
    /* slate-400 */
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: #64748b;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: all 0.25s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: #94a3b8;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #3b82f6;
    /* blue-500 */
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Services Styles (Migrated from Services.jsx)
   ========================================= */
.sectors-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.sectors-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: white;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sectors-nav-btn:hover {
    background-color: #0f172a;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sector-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.sector-card-link:hover,
.sector-card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.sector-card {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sector-card-link:hover .sector-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.sector-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sector-card-link:hover .sector-bg {
    transform: scale(1.05);
}

.sector-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
    transition: all 0.3s ease;
}

.sector-card-link:hover .sector-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4), transparent);
}

.sector-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.sector-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .sectors-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   Activities Styles (Migrated from Activities.jsx)
   ========================================= */
.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.25s ease;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #3b82f6;
}

.expertise-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    /* bg-secondary */
    border-radius: 0.5rem;
    color: #3b82f6;
    /* primary-color */
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.expertise-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.expertise-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card ul li {
    font-size: 0.9rem;
    color: #475569;
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.expertise-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1rem;
    top: 0.2rem;
}

.swiper-pagination-bullet-active {
    background-color: #3b82f6 !important;
}

/* =========================================
   Modern Navbar Styles
   ========================================= */

/* Header - Initial State (Solid Background) */
#masthead {
    background: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header - Scrolled State (Glassmorphism) */
#masthead.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Scrolled State - Text Colors */
#masthead.scrolled .site-branding a,
#masthead.scrolled nav ul li a {
    color: #0f172a !important; /* slate-900 */
}

#masthead.scrolled nav ul li a:hover {
    color: #7c3aed !important; /* violet-600 */
}

/* Scrolled State - Dropdown Arrow */
#masthead.scrolled .menu-item-has-children > a::after {
    color: #0f172a;
}

/* Logo Styling */
.site-branding a {
    transition: opacity 0.3s ease;
}

.site-branding a:hover {
    opacity: 0.8;
}

/* Desktop Menu Items */
#masthead nav ul li {
    position: relative;
}

#masthead nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

#masthead nav ul li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Mega Menu Dropdown Styles */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Mega Menu Container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: transparent;
    padding: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    display: flex;
    gap: 1rem;
    min-width: 240px;
}

.menu-item-has-children:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Cards */
.mega-menu-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 200px;
    transition: all 0.3s ease;
}

.mega-menu-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.mega-menu-card h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.75rem 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mega-menu-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-card ul li {
    padding: 0;
    margin: 0;
}

.mega-menu-card ul li a {
    color: #0f172a !important;
    padding: 0.4rem 0 0.4rem 1.25rem !important;
    display: block;
    position: relative;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

/* CSS Arrow */
.mega-menu-card ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.mega-menu-card ul li a:hover {
    color: #7c3aed !important;
    padding-left: 1.5rem !important;
}

.mega-menu-card ul li a:hover::before {
    opacity: 1;
    left: 0.25rem;
}

/* Old Sub-menu (keeping for mobile compatibility) */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
    margin: 0;
}

.sub-menu li a {
    color: #0f172a !important;
    padding: 0.75rem 1.5rem !important;
    display: block;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.sub-menu li a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed !important;
    padding-left: 2rem !important;
}

/* CTA Button */
.nav-cta-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #3730a3 100%);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    color: white;
}

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Navigation */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav > ul > li {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-nav > ul > li > a,
.mobile-nav > ul > li > .mobile-dropdown-trigger {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.mobile-nav > ul > li > a:hover,
.mobile-nav > ul > li > .mobile-dropdown-trigger:hover {
    color: #7c3aed;
}

/* Mobile Dropdown Styling */
.mobile-menu-item-dropdown {
    position: relative;
}

.mobile-dropdown-trigger {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-menu-item-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    visibility: visible;
    transition: all 0.3s ease;
    margin-top: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-item-dropdown.active .mobile-submenu {
    opacity: 1;
    max-height: 300px;
    padding: 0.5rem 0;
}

.mobile-submenu li {
    padding: 0;
    margin: 0;
}

.mobile-submenu li a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.1rem !important;
    padding: 0.5rem 1rem !important;
    display: block;
    transition: all 0.2s ease;
}

.mobile-submenu li a:hover {
    background: rgba(124, 58, 237, 0.15);
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Mobile CTA Button */
.mobile-cta-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #3730a3 100%);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.mobile-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.5);
    color: white;
}

/* Close Button Animation */
#mobile-menu-close {
    transition: all 0.3s ease;
}

#mobile-menu-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #7c3aed;
}

/* =========================================
   Mobile Menu Styles
   ========================================= */
#mobile-menu-dropdown li {
    border-bottom: 1px solid #1e293b;
    /* slate-800 */
    padding-bottom: 0.5rem;
}

#mobile-menu-dropdown li:last-child {
    border-bottom: none;
}

/* =========================================
   Missing Tailwind Classes (Manually Added)
   ========================================= */

/* Emerald Colors */
.from-emerald-500 { --tw-gradient-from: #10b981; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(16, 185, 129, 0)); }
.to-emerald-600 { --tw-gradient-to: #059669; }
.from-emerald-600 { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.to-emerald-700 { --tw-gradient-to: #047857; }
.hover\:from-emerald-600:hover { --tw-gradient-from: #059669; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(5, 150, 105, 0)); }
.hover\:to-emerald-700:hover { --tw-gradient-to: #047857; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-600 { background-color: #059669; }
.text-emerald-600 { color: #059669; }
.hover\:border-emerald-200:hover { border-color: #a7f3d0; }

/* Cyan Colors */
.from-cyan-500 { --tw-gradient-from: #06b6d4; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(6, 182, 212, 0)); }
.to-cyan-600 { --tw-gradient-to: #0891b2; }
.from-cyan-600 { --tw-gradient-from: #0891b2; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(8, 145, 178, 0)); }
.to-cyan-700 { --tw-gradient-to: #0e7490; }
.hover\:from-cyan-600:hover { --tw-gradient-from: #0891b2; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(8, 145, 178, 0)); }
.hover\:to-cyan-700:hover { --tw-gradient-to: #0e7490; }
.bg-cyan-100 { background-color: #cffafe; }
.bg-cyan-600 { background-color: #0891b2; }
.text-cyan-600 { color: #0891b2; }
.hover\:border-cyan-200:hover { border-color: #a5f3fc; }

/* Violet Colors */
.from-violet-500 { --tw-gradient-from: #8b5cf6; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0)); }
.to-violet-600 { --tw-gradient-to: #7c3aed; }
.from-violet-600 { --tw-gradient-from: #7c3aed; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(124, 58, 237, 0)); }
.to-violet-700 { --tw-gradient-to: #6d28d9; }
.hover\:from-violet-600:hover { --tw-gradient-from: #7c3aed; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(124, 58, 237, 0)); }
.hover\:to-violet-700:hover { --tw-gradient-to: #6d28d9; }
.bg-violet-100 { background-color: #ede9fe; }
.bg-violet-600 { background-color: #7c3aed; }
.text-violet-600 { color: #7c3aed; }
.hover\:border-violet-200:hover { border-color: #ddd6fe; }

/* Amber Colors */
.from-amber-500 { --tw-gradient-from: #f59e0b; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(245, 158, 11, 0)); }
.to-amber-600 { --tw-gradient-to: #d97706; }
.from-amber-600 { --tw-gradient-from: #d97706; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(217, 119, 6, 0)); }
.to-amber-700 { --tw-gradient-to: #b45309; }
.hover\:from-amber-600:hover { --tw-gradient-from: #d97706; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(217, 119, 6, 0)); }
.hover\:to-amber-700:hover { --tw-gradient-to: #b45309; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-amber-600 { background-color: #d97706; }
.text-amber-600 { color: #d97706; }
.hover\:border-amber-200:hover { border-color: #fde68a; }

/* Indigo Colors */
.from-indigo-800 { --tw-gradient-from: #3730a3; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(55, 48, 163, 0)); }
.to-indigo-800 { --tw-gradient-to: #3730a3; }

/* Green Colors */
.text-green-500 { color: #22c55e; }
.bg-green-500 { background-color: #22c55e; }

/* Grayscale Filter */
.grayscale { filter: grayscale(100%); }
.hover\:grayscale-0:hover { filter: grayscale(0%); }

/* Object Fit */
.object-contain { object-fit: contain; }

/* Resize */
.resize-none { resize: none; }

/* Translate */
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }

/* Max Width for Logo Container */
.max-w-\[150px\] { max-width: 150px; }

/* =========================================
   Gradient Direction Classes
   ========================================= */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

/* Gradient stops default */
*, ::before, ::after {
    --tw-gradient-from: transparent;
    --tw-gradient-to: transparent;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

/* White with opacity */
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }

/* Text white opacity */
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/90 { color: rgba(255, 255, 255, 0.9); }

/* Border white opacity */
.border-white\/50 { border-color: rgba(255, 255, 255, 0.5); }
.hover\:border-white:hover { border-color: #ffffff; }

/* Blue-100 for badges */
.text-blue-100 { color: #dbeafe; }

/* =========================================
   WordPress Admin Bar - Bottom Placement
   ========================================= */
#wpadminbar {
    top: auto !important;
    bottom: 0;
    position: fixed;
}

html {
    margin-top: 0 !important;
}

body.admin-bar {
    padding-bottom: 32px; /* admin bar yüksekliği */
}
