/**
 * Via Turquia - Custom Styles
 * Turkey Tourism Portal
 */

:root {
    --primary-color: #005A8D;
    --secondary-color: #F4A261;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

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

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    background-color: var(--white) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

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

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgb(0 90 141 / 9%), rgba(0, 90, 141, 0.8)), url('../images/hero-bg.jpg') center / cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Cards */
.tour-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

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

.tour-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .card-img-top {
    transform: scale(1.05);
}

.tour-card .card-body {
    padding: 1.5rem;
}

.tour-card .price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.tour-card .duration {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    position: absolute;
    top: 10px;
    right: 10px;
}

.tour-card .rating {
    color: #ffc107;
}

/* Category Cards */
.category-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.category-card:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card:hover i {
    color: var(--white);
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #004a73;
    border-color: #004a73;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #e69245;
    border-color: #e69245;
}

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

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

/* Forms */
.form-control,
.form-select {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 5px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 90, 141, 0.25);
}

/* Tour Detail Page */
.tour-detail-header {
    background-color: var(--light-color);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.tour-gallery {
    margin-bottom: 2rem;
}

.tour-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.booking-widget {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.booking-widget .price-display {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Reviews */
.review-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-rating {
    color: #ffc107;
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-date {
    color: #999;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: #2c3e50 !important;
    color: var(--white);
}

footer h5 {
    color: var(--white);
    font-weight: 600;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer a.text-white-50:hover {
    color: var(--white) !important;
    text-decoration: none !important;
}

footer .social-links a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer .social-links a:hover {
    color: var(--secondary-color) !important;
    opacity: 1;
}

.payment-icon {
    height: 30px;
    opacity: 0.7;
}

/* WhatsApp Floating Button */
#whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

#whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: white;
    text-decoration: none;
}

#whatsapp-button i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .tour-card .card-img-top {
        height: 200px;
    }
    
    .booking-widget {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .tour-card .price {
        font-size: 1.25rem;
    }
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 5px;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #ddd;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

/* Custom Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 8px 12px rgba(0,0,0,0.15) !important;
}