/**
 * Gezimanyagi.com.tr - UI Bileşenleri
 */

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: var(--text-sm);
}

.btn-lg {
    padding: 16px 40px;
    font-size: var(--text-lg);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

.btn-block {
    width: 100%;
}

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--space-md);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
}

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--secondary-dark);
}

.card-title a {
    color: inherit;
}

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

.card-text {
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.card-meta i {
    color: var(--primary);
}

/* Destination Card */
.destination-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-xl);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: var(--white);
}

.destination-card-content h3 {
    color: var(--white);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.destination-card-content p {
    opacity: 0.8;
    font-size: var(--text-sm);
}

.destination-card .badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

/* Tour Card */
.tour-card .card-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.tour-card .price-current {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
}

.tour-card .price-old {
    font-size: var(--text-base);
    color: var(--gray-500);
    text-decoration: line-through;
}

.tour-card .price-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* Hotel Card */
.hotel-card .hotel-stars {
    color: #FFC107;
    margin-bottom: var(--space-sm);
}

.hotel-card .hotel-amenities {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.hotel-card .hotel-amenities i {
    color: var(--accent);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
}

.navbar.scrolled .navbar-brand {
    color: var(--primary);
}

.navbar-brand span {
    color: var(--primary);
}

.navbar.scrolled .navbar-brand span {
    color: var(--secondary);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.navbar-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: var(--text-base);
    transition: color var(--transition-base);
    position: relative;
}

.navbar.scrolled .navbar-nav a {
    color: var(--gray-700);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary);
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.navbar-nav a:hover::after,
.navbar-nav a.active::after {
    width: 100%;
}

/* ========== DROPDOWN MENU ========== */
.navbar-nav .has-dropdown {
    position: relative;
}

.navbar-nav .has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.navbar-nav .has-dropdown>a i {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.navbar-nav .has-dropdown:hover>a i {
    transform: rotate(180deg);
}

.navbar-nav .has-dropdown>a::after {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.navbar-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700) !important;
    font-weight: 500;
    transition: all var(--transition-base);
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary) !important;
    padding-left: 25px;
}

.dropdown-menu a::after {
    display: none !important;
}

/* Dark mode dropdown */
[data-theme="dark"] .dropdown-menu {
    background: var(--gray-50);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dropdown-menu a {
    color: var(--gray-800) !important;
}

[data-theme="dark"] .dropdown-menu a:hover {
    background: var(--gray-100);
    color: var(--primary) !important;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar-toggle {
    display: none;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.navbar.scrolled .navbar-toggle span {
    background: var(--secondary);
}

/* Mobile Nav */
@media (max-width: 992px) {
    .navbar-toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .navbar.menu-open {
        z-index: 1100;
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: #0D1B2A !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        gap: 15px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .navbar-nav.active {
        right: 0;
    }

    .navbar-nav a {
        color: #FFFFFF !important;
        font-size: 1.1rem;
        font-weight: 500;
        padding: 12px 0;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav a:hover {
        color: #FF6B35 !important;
    }

    .navbar-nav a::after {
        display: none;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Hamburger to X animation */
    .navbar-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: #FFFFFF;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .navbar.scrolled .navbar-toggle span {
        background: #1E3A5F;
    }

    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: #FFFFFF !important;
    }

    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background: #FFFFFF !important;
    }

    /* Navbar actions mobil */
    .navbar-actions {
        gap: 8px;
    }

    .navbar-actions .btn-sm {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .navbar-actions .hide-mobile {
        display: none !important;
    }

    /* Mobile Dropdown */
    .navbar-nav .has-dropdown {
        width: 100%;
    }

    .navbar-nav .has-dropdown>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .has-dropdown>a i {
        transition: transform 0.3s;
    }

    .navbar-nav .has-dropdown.open>a i {
        transform: rotate(180deg);
    }

    .navbar-nav .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
    }

    .navbar-nav .has-dropdown.open .dropdown-menu {
        max-height: 500px;
    }

    .navbar-nav .dropdown-menu a {
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
        border-bottom: none !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .navbar-nav .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--primary) !important;
        padding-left: 20px !important;
    }
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.7) 0%, rgba(30, 58, 95, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: var(--space-xl);
}

.hero-content h1 {
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: var(--text-xl);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    margin-top: var(--space-xl);
}

.search-form {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.search-form .form-group {
    flex: 1;
    min-width: 200px;
}

.search-form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
}

.search-form input,
.search-form select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-form input:focus,
.search-form select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.search-form select option {
    color: var(--gray-800);
    background: var(--white);
}

.search-form .btn {
    min-width: 180px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: var(--text-4xl);
    }

    .search-form {
        flex-direction: column;
    }

    .search-form .form-group {
        min-width: 100%;
    }

    .search-form .btn {
        width: 100%;
    }
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: var(--text-base);
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--secondary-dark);
    color: var(--white);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-brand {
    margin-bottom: var(--space-lg);
}

.footer-brand h3 {
    font-size: var(--text-2xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-brand h3 span {
    color: var(--primary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer h4 {
    color: var(--white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-newsletter {
    margin-top: var(--space-lg);
}

.footer-newsletter .input-group {
    display: flex;
    gap: var(--space-sm);
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
}

.footer-newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    margin-top: var(--space-3xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== MODAL ========== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--gray-100);
    color: var(--gray-600);
    transition: all var(--transition-base);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* ========== TABS ========== */
.tabs {
    display: flex;
    gap: var(--space-sm);
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: var(--space-xl);
}

.tab-btn {
    padding: var(--space-md) var(--space-lg);
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    transition: all var(--transition-base);
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    font-weight: 500;
    transition: all var(--transition-base);
}

.pagination a:hover,
.pagination span.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--gray-600);
    padding: var(--space-md) 0;
}

.breadcrumb a {
    color: var(--gray-600);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--gray-400);
}

/* ========== FAVORITE BUTTON ========== */
.btn-favorite {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.btn-favorite:hover,
.btn-favorite.active {
    color: var(--danger);
    background: var(--white);
}

.btn-favorite.active i {
    animation: heartBeat 0.5s ease;
}

@keyframes heartBeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* ========== FEATURE BOX ========== */
.feature-box {
    text-align: center;
    padding: var(--space-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-size: var(--text-3xl);
}

.feature-box h4 {
    margin-bottom: var(--space-sm);
}

.feature-box p {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* ========== TESTIMONIAL ========== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    font-size: var(--text-3xl);
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 0;
    font-size: var(--text-base);
}

.testimonial-author p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
}

/* ========== COUNTER ========== */
.counter-box {
    text-align: center;
    padding: var(--space-lg);
}

.counter-number {
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.counter-label {
    font-size: var(--text-base);
    color: var(--gray-600);
    margin-top: var(--space-sm);
}

/* ========== BADGE COUNT ========== */
.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: white;
    background: var(--primary);
    border-radius: 9px;
}

/* ========== UTILITIES ========== */
.hide-mobile {
    display: inline-flex;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

/* Position relative for badge parent */
.btn-icon {
    position: relative;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}

.toast {
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast i {
    font-size: 1.25rem;
}

.toast-success {
    border-left: 4px solid var(--success);
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-left: 4px solid var(--danger);
}

.toast-error i {
    color: var(--danger);
}

.toast-info {
    border-left: 4px solid var(--secondary);
}

.toast-info i {
    color: var(--secondary);
}

/* ========== COOKIE CONSENT ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    color: white;
    padding: 20px;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-actions a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.cookie-actions a:hover {
    color: white;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        flex-direction: column;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ========== GUIDE CARDS (Rehber Kartları) ========== */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.guide-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: block;
}

.guide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.guide-card:hover .guide-card-image img {
    transform: scale(1.08);
}

.guide-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.guide-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-region {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.guide-card-body h3 {
    font-size: 1.25rem;
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

.guide-card-body h3 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition-base);
}

.guide-card-body h3 a:hover {
    color: var(--primary);
}

.guide-card-body p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.875rem;
    color: var(--gray-500);
}

.guide-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.guide-meta i {
    color: var(--primary);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
}

.category-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.category-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.category-tab i {
    font-size: 1.1rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .guides-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .category-tab {
        justify-content: center;
    }
}