/* Custom Styles for Krakow Tourist Information */

/* Custom Colors */
:root {
    --primary-red: #DC143C;
    --primary-white: #FFFFFF;
    --accent-gold: #FFD700;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F5F5F5;
    --bg-dark: #1a1a1a;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom font imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Font families */
.font-heading {
    font-family: 'Playfair Display', serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

/* Hero section gradient overlay */
.hero-gradient {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.8) 0%, rgba(26, 26, 26, 0.7) 100%);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button styles */
.btn-primary {
    background-color: var(--primary-red);
    color: var(--primary-white);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b01030;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Navigation styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Back to top button */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Blog card styles */
.blog-card {
    overflow: hidden;
}

.blog-card img {
    transition: transform 0.5s ease;
}

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

/* Product card styles */
.product-card {
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.1);
}

/* Affiliate badge */
.affiliate-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* FAQ accordion */
.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-question {
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
}

/* Form styles */
.form-input {
    border: 1px solid #d1d5db;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
    outline: none;
}

/* Footer disclaimer */
.disclaimer-box {
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 1rem;
    margin-top: 2rem;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Image placeholder styles */
.img-placeholder {
    background: linear-gradient(135deg, #e5e5e5 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Section divider */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-gold), var(--primary-red));
    border-radius: 2px;
}

/* Social media icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--accent-gold);
}

/* Table styles */
.data-table {
    border-collapse: collapse;
    width: 100%;
}

.data-table th,
.data-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.data-table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

.data-table tr:hover {
    background-color: rgba(220, 20, 60, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, rgba(220, 20, 60, 0.9) 0%, rgba(26, 26, 26, 0.8) 100%);
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
