/**
 * Main Stylesheet
 * Sundarban Tourism
 */

/* ===============================================
   GENERAL STYLES
================================================== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #198754;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===============================================
   TOP BAR
================================================== */
.top-bar {
    font-size: 0.9rem;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* ===============================================
   NAVIGATION
================================================== */
.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    color: #333 !important;
}

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

/* ===============================================
   HERO SECTION
================================================== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* ===============================================
   SECTION TITLES
================================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

/* ===============================================
   PACKAGE CARDS
================================================== */
.package-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.package-card img {
    height: 250px;
    object-fit: cover;
}

.package-card .badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
}

.package-card .card-body {
    padding: 20px;
}

.package-card .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark-color);
}

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

.package-card .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

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

/* ===============================================
   DESTINATION CARDS
================================================== */
.destination-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
}

.destination-card .overlay h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

/* ===============================================
   TESTIMONIAL CARDS
================================================== */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial-card .rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-card h5 {
    font-weight: bold;
    margin-bottom: 5px;
}

.testimonial-card .designation {
    color: #999;
    font-size: 0.9rem;
}

/* ===============================================
   GALLERY
================================================== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

/* ===============================================
   BUTTONS
================================================== */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

.btn-warning {
    background-color: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    color: #000;
}

.btn-warning:hover {
    background-color: #ffca2c;
}

/* ===============================================
   FORMS
================================================== */
.form-control {
    border-radius: 5px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* ===============================================
   FOOTER
================================================== */
footer {
    padding: 40px 0 20px;
}

footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

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

.social-links a {
    display: inline-block;
    margin-right: 15px;
}

.social-links a:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-3px);
}

/* ===============================================
   PAGINATION
================================================== */
.pagination {
    margin-top: 30px;
}

.page-link {
    color: var(--primary-color);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

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

/* ===============================================
   UTILITIES
================================================== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

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

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

/* ===============================================
   RESPONSIVE
================================================== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .package-card img {
        height: 200px;
    }
}