/* Main Styles for Travel Vlogger Portfolio */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --text-color: #333;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.display-4 {
    font-weight: 800;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

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

/* Navigation */
.navbar {
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(44, 62, 80, 0.98);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
}

.navbar-brand i {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Sections */
.hero-section,
.portfolio-hero,
.blog-hero,
.about-hero,
.contact-hero,
.detail-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7)),
                 url("../assets/images/bgimage.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding-top: 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section {
    min-height: 100vh;
}

.hero-image-wrapper {
    position: relative;
}

.video-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.2);*/
    cursor: pointer;
    transition: var(--transition);
}

.video-badge:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.vlog-card,
.portfolio-card,
.blog-card,
.blog-post-card {
    height: 100%;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

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

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

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.card:hover .card-overlay {
    opacity: 1;
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Buttons */
.btn {
    border-radius: 30px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.btn-lg {
    padding: 0.75rem 2rem;
}

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

.btn-warning:hover {
    background: #e67e22;
    border-color: #e67e22;
    color: white;
    transform: translateY(-2px);
}

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

.btn-outline-warning:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Progress Bars */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--secondary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--secondary-color);
}

.timeline-date {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.timeline-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-filter .btn {
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
}

.portfolio-filter .btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

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

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
}

.form-floating label {
    color: #666;
}

/* Footer */
/* footer {
    background: var(--dark-color);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

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

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    z-index: 1000;
    opacity: 0;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(243, 156, 18, 0.1);
    color: var(--secondary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(243, 156, 18, 0.25);
    border-color: var(--secondary-color);
}

/* Video Wrapper */
.video-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .hero-section,
    .portfolio-hero,
    .blog-hero,
    .about-hero,
    .contact-hero {
        min-height: 60vh;
        padding-top: 80px;
        background-attachment: scroll;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .portfolio-filter {
        justify-content: center;
    }

    .portfolio-filter .btn {
        margin-bottom: 10px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .hero-section .row {
        text-align: center;
    }

    .social-links a {
        margin-right: 10px;
        font-size: 1rem;
    }
}

/* Custom Utilities */
.bg-warning {
    background-color: var(--secondary-color) !important;
}

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

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error Messages */
.alert-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    color: #27ae60;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
    color: #c0392b;
}

/* Vlog Hero Section */
.vlog-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0 60px;
    color: white;
    position: relative;
    margin-top: -76px; /* Compensate for navbar height */
}

.vlog-hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.vlog-hero .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

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

.vlog-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.vlog-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

.vlog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Vlog Meta */
.vlog-meta span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.vlog-tags .badge {
    font-size: 0.85rem;
    padding: 8px 15px;
    font-weight: 500;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Section Titles */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Country Cards */
.country-card {
    transition: all 0.3s ease;
    background-color: white;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color) !important;
}

.country-card h5 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* Equipment Cards */
.equipment-section .card {
    transition: transform 0.3s ease;
    background-color: white;
}

.equipment-section .card:hover {
    transform: translateY(-5px);
}

.equipment-section .card-title {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Statistics */
.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px;
}

/* Related Vlogs */
.related-vlog {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.related-vlog:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-vlog:hover {
    transform: translateX(5px);
}

.related-vlog h6 {
    color: var(--secondary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-vlog:hover h6 {
    color: var(--primary-color);
}

.related-vlog img {
    transition: transform 0.3s ease;
}

.related-vlog:hover img {
    transform: scale(1.05);
}

/* Social Sharing */
.social-sharing .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-sharing .btn:hover {
    transform: translateY(-3px);
    color: white !important;
}

.social-sharing .btn-outline-primary:hover {
    background-color: #4267B2;
    border-color: #4267B2;
}

.social-sharing .btn-outline-info:hover {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
}

.social-sharing .btn-outline-danger:hover {
    background-color: #FF0000;
    border-color: #FF0000;
}

.social-sharing .btn-outline-warning:hover {
    background-color: #E1306C;
    border-color: #E1306C;
}

.social-sharing .btn-outline-success:hover {
    background-color: #25D366;
    border-color: #25D366;
}

/* Download Buttons */
.download-options .btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-options .btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Comments Section */
.comments-section .card {
    background-color: white;
}

.comments-section img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.comment-form textarea {
    resize: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}

.comment-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .vlog-hero {
        padding: 80px 0 40px;
        background-attachment: scroll;
    }

    .vlog-hero h1 {
        font-size: 2.2rem;
    }

    .vlog-hero .lead {
        font-size: 1.1rem;
    }

    .vlog-meta {
        flex-direction: column;
        gap: 10px !important;
    }

    .vlog-meta span {
        width: 100%;
        text-align: center;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .country-card {
        padding: 15px 10px !important;
    }

    .country-card h5 {
        font-size: 1rem;
    }

    .social-sharing {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-sharing .btn {
        width: 35px;
        height: 35px;
    }
}

/* Print Styles */
@media print {
    .back-to-top,
    .video-container,
    .social-sharing,
    .comment-form,
    .download-options {
        display: none !important;
    }

    .vlog-hero {
        background: none !important;
        color: black !important;
        padding: 20px 0 !important;
    }

    .vlog-hero h1,
    .vlog-hero .lead,
    .vlog-meta span {
        color: black !important;
    }
}
