/* Custom CSS - Portal Turismo Jaú-SP */
:root {
    --primary-color: #0f5132;
    --primary-hover: #0a3622;
    --accent-color: #ffc107;
    --accent-hover: #e0a800;
    --dark-bg: #1e2229;
    --light-bg: #f8f9fa;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    background-color: #fdfdfd;
    overflow-x: hidden;
}

/* Header & Navbar */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

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

.bg-white .nav-link,
.always-white .nav-link,
.navbar-light .nav-link {
    color: #444 !important;
}

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

.navbar-brand-title {
    transition: color 0.3s ease;
}

.navbar-dark .navbar-brand-title {
    color: #ffffff !important;
}

.navbar-light .navbar-brand-title,
.always-white .navbar-brand-title {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.55;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 81, 50, 0.4) 0%, rgba(30, 34, 41, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-search-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
}

.hero-search-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding-left: 1.5rem;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.hero-search-input:focus {
    box-shadow: none;
    background: transparent;
    color: #fff;
}

.hero-search-btn {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #111;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    background-color: var(--accent-hover);
    transform: scale(1.03);
}

/* Category Cards */
.category-card {
    border: none;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-align: center;
    padding: 1.5rem 1rem;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    background: linear-gradient(135deg, var(--primary-color) 0%, #198754 100%);
}

.category-card:hover h6 {
    color: #fff !important;
}

.category-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Tourism Item Cards */
.tourism-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-column: column;
}

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

.tourism-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.tourism-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tourism-card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark-bg);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer styling */
.footer-public {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.footer-public a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-public a:hover {
    color: var(--accent-color);
}

/* Map placeholder */
.map-container {
    height: 400px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
