/* ============================================
   JOONGO TOURS - RESPONSIVE BOOTSTRAP 5 THEME
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #58721b;
    --secondary-color: #9dbf4d;
    --accent-color: #ffc107;
    --dark-color: #293f01;
    --light-color: #f8f9fa;
    --text-dark: #333;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #ffffff 0%, #f5fbf0 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }

p {
    line-height: 1.8;
    color: var(--text-muted);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 114, 27, 0.3);
}

.btn-primary:active {
    background-color: var(--dark-color);
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-warning {
    background-color: var(--accent-color);
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #ffb300;
    color: #000;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Forms */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(88, 114, 27, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 20px rgba(88, 114, 27, 0.15);
}

.card-body {
    padding: 1.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.text-muted {
    color: var(--text-muted);
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Sections */
section {
    padding: 4rem 0;
}

section.py-5 {
    padding: 3rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section h1 {
    color: white;
    line-height: 1.2;
}

.hero-section p {
    color: white;
}

/* Page Hero */
.page-hero {
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 1;
    color: white;
}

/* Hover Effects */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(88, 114, 27, 0.15);
}

/* Gallery */
.gallery-item {
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(88, 114, 27, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin-right: 1rem;
    transition: color 0.3s ease;
    color: white !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
}

.dropdown-item {
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #293f01 0%, #3d5c18 100%);
    color: white;
    margin-top: 5rem;
}

footer h5 {
    color: var(--accent-color);
    font-weight: 600;
}

footer a {
    color: white;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
}

footer ul li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

footer ul li a {
    font-size: 0.95rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section { height: 80vh; }
    
    .navbar-nav { margin-top: 1rem; }
    
    .navbar-nav .nav-link { margin-right: 0; margin-bottom: 0.5rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    section { padding: 2rem 0; }
    
    .hero-section { height: 60vh; }
    
    .display-3 { font-size: 2rem; }
    .display-4 { font-size: 1.75rem; }
    .display-5 { font-size: 1.5rem; }
    
    .gallery-item { height: 200px; }
    
    .gallery-overlay { font-size: 2rem; }
    
    .btn-group { flex-direction: column; }
    .btn-group .btn { width: 100%; margin-bottom: 0.5rem; }
    
    .whatsapp-btn {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer ul { text-align: center; }
    
    .social-icon { margin: 0 0.25rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.5rem; }
    
    .container { padding: 0 0.75rem; }
    
    .hero-section { height: 50vh; }
    
    .display-3 { font-size: 1.5rem; }
    .display-4 { font-size: 1.25rem; }
    .display-5 { font-size: 1.1rem; }
    
    .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
    
    .gallery-item { height: 150px; }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.slideIn {
    animation: slideIn 0.6s ease-out;
}

/* Utility Classes */
.cursor-pointer {
    cursor: pointer;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.object-fit-cover {
    object-fit: cover;
}

.sticky-top {
    position: sticky;
}

/* Print Styles */
@media print {
    .navbar, footer, .whatsapp-btn, .sticky-buttons {
        display: none !important;
    }
}
