/* Page Header styles are now in main.css */

/* Bireysel Umre Uçak Tarihleri */
.individual-umre-flights {
    padding: 4rem 0;
    background: #f8f9fa;
}

.flight-categories {
    margin-bottom: 2rem;
}

.flight-categories .category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.flight-categories .category-tab {
    background: white;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.flight-categories .category-tab:hover {
    border-color: #1976d2;
    color: #1976d2;
    transform: translateY(-2px);
}

    .flight-categories .category-tab.active {
        background: #1976d2;
        border-color: #1976d2;
        color: white;
    }

    .city-tabs {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .city-tab {
        background: white;
        border: 2px solid #e9ecef;
        color: #666;
        padding: 0.6rem 1.2rem;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
        font-size: 0.85rem;
    }

    .city-tab:hover {
        border-color: #28a745;
        color: #28a745;
        transform: translateY(-2px);
    }

    .city-tab.active {
        background: #28a745;
        border-color: #28a745;
        color: white;
    }

.flights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.flight-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.flight-card.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flight-header {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flight-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.flight-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.flight-dates {
    padding: 1.5rem;
}

.flight-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.flight-date:hover {
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
}

.flight-date:last-child {
    border-bottom: none;
}

.date-info {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.date-info .date {
    font-weight: 600;
    color: #1976d2;
    font-size: 1rem;
}

.date-info .day {
    color: #666;
    font-size: 0.85rem;
}

.flight-details {
    flex: 1;
    margin: 0 1rem;
}

.route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.route .from,
.route .to {
    font-weight: 600;
    color: #333;
}

.route i {
    color: #1976d2;
    font-size: 0.9rem;
}

.time {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

    .airline {
        color: #888;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .duration {
        color: #1976d2;
        font-size: 0.8rem;
        font-weight: 600;
        background: rgba(25, 118, 210, 0.1);
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
        display: inline-block;
        margin-top: 0.3rem;
    }

.price-info {
    text-align: right;
    min-width: 100px;
}

.price-info .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1976d2;
    display: block;
}

.price-info .per-person {
    font-size: 0.75rem;
    color: #666;
}

.flight-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.flight-info .info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.flight-info .info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.flight-info .info-icon i {
    font-size: 1.5rem;
    color: white;
}

.flight-info h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.flight-info ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.flight-info ul li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.flight-info ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1976d2;
    font-weight: bold;
}

.flight-info .contact-info p {
    margin: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.flight-info .contact-info i {
    color: #1976d2;
    width: 16px;
}

/* Responsive Design for Flights */
@media (max-width: 768px) {
    .flights-grid {
        grid-template-columns: 1fr;
    }
    
    .flight-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .flight-details {
        margin: 0;
        width: 100%;
    }
    
    .price-info {
        text-align: left;
        width: 100%;
    }
    
    .route {
        flex-wrap: wrap;
    }
    
    .flight-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .flight-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .flight-dates {
        padding: 1rem;
    }
    
    .flight-info .info-card {
        padding: 1.5rem;
    }
}

/* Tour Categories */
.tour-categories {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    border: 2px solid #e9ecef;
    color: #666;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.category-tab:hover {
    border-color: #1976d2;
    color: #1976d2;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #1976d2;
    border-color: #1976d2;
    color: white;
}

/* Tours Section */
.tours-section {
    padding: 1rem 0;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.tour-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.konya-cikisli {
    position: absolute;
    top: 0px;
    left: 0px;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    color: white;
    padding: 6px 45px;
    font-size: 0.8rem;
    font-weight: 500;
    transform: rotate(-45deg) translateX(-55px) translateY(-8px);
    transform-origin: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 118, 210, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tour-card:hover .tour-overlay {
    opacity: 1;
}

.tour-content {
    padding: 0.5rem;
}

.tour-content h3 {
    color: #1976d2;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.tour-content > p {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.tour-details {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.tour-detail {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #f8f9fa;
    padding: 0.3rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
}

.tour-detail i {
    color: #1976d2;
    font-size: 1rem;
}

.tour-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.tour-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.tour-features i {
    color: #1976d2;
    font-size: 0.8rem;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
    gap: 1rem;
    padding-top: 0.6rem;
    border-top: 1px solid #e9ecef;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.price-separator {
    color: #666;
    font-weight: 400;
}

.price-note {
    font-size: 0.75rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #1976d2;
    font-weight: 500;
}

.room-prices {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.3rem;
    margin-right: -10rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-width: 250px;
    max-width: 350px;
    width: 100%;
}

.room-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
    padding: 0.2rem 0;
}

.room-type {
    font-weight: 500;
}

.room-price {
    font-weight: 600;
    color: #1976d2;
}

.duration {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 500;
}

.tour-price .btn-primary {
    margin-top: 20px;
}

/* Tour Info Section */
.tour-info {
    background: #f8f9fa;
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2, #2196f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.info-icon i {
    font-size: 1.5rem;
    color: white;
}

.info-card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.info-card ul li:before {
    content: '•';
    color: #1976d2;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.info-card ul li:last-child {
    border-bottom: none;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-info i {
    color: #1976d2;
    width: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {

    .category-tabs {
        gap: 0.4rem;
    }

    .category-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.75rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tour-content {
        padding: 1rem;
    }

    .tour-details {
        gap: 0.4rem;
    }

    .tour-detail {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .tour-price {
        gap: 0.5rem;
    }
    
    .tour-price .btn-primary {
        width: 100%;
        height: auto;
        padding: 0.6rem 0.9rem;
        font-size: 0.7rem;
    }
    
    .room-prices {
        padding: 0.4rem;
    }
    
    .room-price-item {
        padding: 0.2rem 0;
        font-size: 0.7rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        background-attachment: scroll;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .category-tab {
        width: 100%;
        max-width: 180px;
        text-align: center;
    }

    .tour-image {
        height: 200px;
    }

    .tour-content h3 {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.4rem;
    }
}

/* Animation for tour cards */
.tour-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple cards */
.tour-card:nth-child(1) { animation-delay: 0.1s; }
.tour-card:nth-child(2) { animation-delay: 0.2s; }
.tour-card:nth-child(3) { animation-delay: 0.3s; }
.tour-card:nth-child(4) { animation-delay: 0.4s; }
.tour-card:nth-child(5) { animation-delay: 0.5s; }
.tour-card:nth-child(6) { animation-delay: 0.6s; }

/* Filter animation */
.tour-card.filtered {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.tour-card.show {
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Search and Filter Section Styles */
.search-filter-section {
    background: #f8f9fa;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.search-filter-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.search-container {
    display: flex;
    justify-content: center;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 0.7rem 2.2rem 0.7rem 2.2rem;
    border: 2px solid #e9ecef;
    border-radius: 18px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 120px;
}

.filter-label {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label i {
    color: #1976d2;
}

.filter-select {
    padding: 0.5rem 0.7rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.clear-filters-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.clear-filters-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.active-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
    min-height: 35px;
}

.filter-tag {
    background: #1976d2;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 18px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: fadeIn 0.3s ease;
}

.filter-tag .remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.filter-tag .remove-filter:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Search and Filter */
@media (max-width: 768px) {
    .search-filter-container {
        gap: 0.8rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        min-width: 160px;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .tours-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
    }
    
    .tour-content {
        padding: 1.2rem;
    }
    
    .tour-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .search-filter-section {
        padding: 0.7rem 0;
    }
    
    .search-input {
        padding: 0.6rem 2rem 0.6rem 2rem;
        font-size: 0.8rem;
    }
    
    .filter-select {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .clear-filters-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tour-content {
        padding: 0.8rem;
    }
    
    .tour-image {
        height: 130px;
    }
    
    .tour-content h3 {
        font-size: 1.1rem;
    }
    
    .tour-details {
        gap: 0.3rem;
        margin-bottom: 1rem;
    }
    
    .tour-detail {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .tour-features {
        gap: 0.3rem;
        margin-bottom: 1.2rem;
    }
    
    .tour-features span {
        font-size: 0.8rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .room-prices {
        padding: 0.3rem;
    }
    
    .room-price-item {
        padding: 0.15rem 0;
        font-size: 0.65rem;
    }
    
    .tour-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        align-items: stretch;
    }

    .price-info {
        width: 100%;
    }

    .room-prices {
        margin-top: 0.5rem;
    }

    .room-price-item {
        font-size: 0.85rem;
    }

    .price-range {
        font-size: 1.1rem;
    }

    .price-note {
        font-size: 0.7rem;
    }
    
    .tour-price .btn-primary {
        width: 100%;
        height: auto;
        padding: 0.5rem 0.8rem;
        font-size: 0.65rem;
        margin-top: 0.25rem;
    }
}

/* No Results Message Styles */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #dee2e6;
    margin: 2rem 0;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-results-content h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-results-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.no-results-content .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}
