/* Hero Slider */
.hero-slider .carousel-item {
    height: 600px;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slider .carousel-item img {
    height: 100%;
    object-fit: cover;
}

.hero-slider .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    text-align: center;
    width: 100%;
    z-index: 2;
}

.hero-slider .carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Modern Falcı Card System */
.falci-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Popular Fortune Tellers */
.popular-card {
    border: 2px solid var(--primary-color);
    position: relative;
    box-shadow: 0 0 20px rgba(var(--primary-rgb, 107, 70, 193), 0.1);
}

.popular-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(var(--primary-rgb, 107, 70, 193), 0.2);
}

.popularity-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 0 0 10px 10px;
    font-size: 18px;
    z-index: 10;
    font-weight: 600;
    background: rgba(var(--primary-rgb, 107, 70, 193), 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb, 107, 70, 193), 0.2);
}

/* Different colors for top 3 - using theme colors */
.popular-card:nth-child(1) .popularity-badge {
    background: var(--primary-gradient);
    box-shadow: 0 2px 15px rgba(var(--primary-rgb, 107, 70, 193), 0.5);
    color: white;
    border: none;
}

.popular-card:nth-child(2) .popularity-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 2px 15px rgba(var(--primary-rgb, 107, 70, 193), 0.4);
    color: white;
    border: none;
}

.popular-card:nth-child(3) .popularity-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 2px 15px rgba(var(--primary-rgb, 107, 70, 193), 0.3);
    color: white;
    border: none;
}

/* Popularity Details */
.popularity-details {
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.popularity-details small {
    line-height: 1.8;
}

.popularity-details .progress {
    background-color: rgba(var(--primary-rgb, 107, 70, 193), 0.1);
    border: 1px solid rgba(var(--primary-rgb, 107, 70, 193), 0.2);
}

.popularity-details .progress-bar {
    transition: width 0.6s ease;
    min-width: 2%;
}


.popular-card .falci-card-body {
    padding-bottom: 1rem;
}

.popular-card .falci-stats {
    margin-bottom: 0;
}

/* Falcı Status Indicator */
.falci-status-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.falci-status-indicator i {
    font-size: 0.5rem;
    margin-right: 0.5rem;
}

.falci-status-indicator.online {
    background: #d4edda;
    color: #155724;
}

.falci-status-indicator.online i {
    color: #28a745;
    animation: pulse 2s infinite;
}

.falci-status-indicator.busy {
    background: #fff3cd;
    color: #856404;
}

.falci-status-indicator.busy i {
    color: #ffc107;
}

.falci-status-indicator.offline {
    background: #f8d7da;
    color: #721c24;
}

.falci-status-indicator.offline i {
    color: #dc3545;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.falci-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.falci-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.falci-card-modern:hover::before {
    opacity: 1;
}

/* Card Header */
.falci-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.falci-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.falci-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.falci-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.falci-header-info {
    flex: 1;
    min-width: 0;
}

.falci-card-modern .falci-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.falci-company {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.falci-rating {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Card Body */
.falci-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.falci-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--primary-gradient);
    color: white;
}

.stat-item i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.stat-item:hover i {
    color: white;
}

.stat-item span {
    font-size: 0.8rem;
    font-weight: 500;
}

.falci-services {
    flex: 1;
}

.services-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-badge {
    background: #e7f3ff;
    color: #0066cc;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.service-badge.more {
    background: #f8f9fa;
    color: #6c757d;
}

/* Card Footer */
.falci-card-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.falci-card-footer .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.falci-card-footer .btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.falci-card-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.3);
}

.falci-card-footer .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: white;
}

.falci-card-footer .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Fal Türü Card */
.fal-turu-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.fal-turu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.fal-turu-image {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fal-turu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fal-turu-content {
    padding: 1.5rem;
}

.fal-turu-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    gap: 1rem;
}

.fal-turu-info .price {
    color: var(--primary-color);
    font-weight: 600;
}

.fal-turu-info .duration {
    color: #6B7280;
}

/* Modern Company Card */
.company-card-modern {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.company-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.company-card-header {
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.company-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.company-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.company-logo-placeholder {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.company-logo-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.company-verified {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 5px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
}

.company-verified i {
    color: #10b981;
}

.company-card-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.company-card-modern .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.company-description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.company-stats .stat {
    text-align: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.company-stats .stat:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
}

.company-stats .stat i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.company-card-footer {
    padding: 0 2rem 2rem;
}

.company-card-footer .btn {
    width: 100%;
    padding: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.company-card-footer .btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.company-card-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
}

.company-card-footer .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: white;
}

.company-card-footer .btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Minimal Blog Card Design */
.blog-card-minimal {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card-minimal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Minimal Image Section */
.blog-minimal-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.blog-minimal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
    filter: brightness(0.95);
}

.blog-card-minimal:hover .blog-minimal-image img {
    transform: scale(1.05);
    filter: brightness(1);
}

.blog-minimal-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.blog-minimal-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.blog-minimal-placeholder i {
    font-size: 3rem;
    color: white;
    z-index: 1;
    position: relative;
}

/* Category Tag */
.blog-minimal-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-rgb, 107, 70, 193), 0.2);
    transition: all 0.3s ease;
}

.blog-card-minimal:hover .blog-minimal-category {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Content Section */
.blog-minimal-content {
    padding: 2rem;
    position: relative;
}

.blog-minimal-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.blog-minimal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card-minimal:hover .blog-minimal-title {
    color: var(--primary-color);
}

.blog-minimal-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Arrow Indicator */
.blog-minimal-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.8) translateX(-10px);
    transition: all 0.3s ease;
}

.blog-card-minimal:hover .blog-minimal-arrow {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.blog-minimal-arrow i {
    transition: transform 0.3s ease;
}

.blog-card-minimal:hover .blog-minimal-arrow i {
    transform: translateX(2px);
}

/* Hover Line Effect */
.blog-card-minimal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blog-card-minimal:hover::after {
    transform: scaleX(1);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-minimal-image {
        height: 160px;
    }
    
    .blog-minimal-content {
        padding: 1.5rem;
    }
    
    .blog-minimal-title {
        font-size: 1.05rem;
    }
    
    .blog-minimal-excerpt {
        font-size: 0.85rem;
    }
    
    .blog-minimal-arrow {
        width: 35px;
        height: 35px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* FAQ */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background: white;
    color: var(--text-color);
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider .carousel-item {
        height: 400px;
    }
    
    .hero-slider .carousel-caption h1 {
        font-size: 2rem;
    }

    .hero-slider .carousel-caption {
        padding: 1rem;
    }
    
    /* Falcı Cards Mobile */
    .falci-card-header {
        padding: 1.5rem;
    }
    
    .falci-avatar {
        width: 60px;
        height: 60px;
    }
    
    .falci-card-modern .falci-name {
        font-size: 1.1rem;
    }
    
    .falci-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }
    
    .stat-item {
        padding: 0.5rem 0.25rem;
    }
    
    .stat-item i {
        font-size: 1.2rem;
    }
    
    .stat-item span {
        font-size: 0.7rem;
    }
}