/*==================================================
 LensHub
 Main Stylesheet
 Version : Sprint 1 Fixed
==================================================*/

:root {
    --primary: #0d6efd;
    --secondary: #1f2937;
    --dark: #111827;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #555;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #111;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #777;
    max-width: 700px;
    margin: auto;
}

/*==================================================
NAVBAR
==================================================*/

.glass-nav {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: .4s;
    padding: 15px 0;
    z-index: 9999;
}

.navbar-brand {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.navbar-brand:hover {
    color: #fff;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 10px;
    transition: .3s;
}

.nav-link:hover {
    color: #ffc107;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==================================================
   HERO SECTION (MASAI MARA FULL WIDTH)
   ================================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Sets your Masai Mara photo as the full-width background */
    background: url("../images/hero/hero.jpg") no-repeat center center / cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Shifts the darker side of the gradient to the right to match your text placement */
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.20) 0%, 
        rgba(0, 0, 0, 0.50) 50%, 
        rgba(0, 0, 0, 0.80) 100%
    );
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    color: #ffffff;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 60px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons .btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/*==================================================
CATEGORIES
==================================================*/

.categories {
    padding: 80px 0;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    height: 340px;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    transition: .4s;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .8s;
}

.category-card:hover img {
    transform: scale(1.12);
}

.category-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    padding: 30px;
}

.category-card .overlay i {
    color: #fff;
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card .overlay h3 {
    color: #fff;
    font-size: 30px;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

/*==================================================
FEATURED VIDEO SECTION (FIXED & RESIZED)
==================================================*/

/*==================================================
FEATURED VIDEO SECTION
==================================================*/

.video-section{

    padding:100px 0;
    background:#f5f5f5;
    overflow:hidden;

}

.video-section .container-fluid{

    max-width:100%;
    padding:0;

}

/*=========================
ROW
=========================*/

.marquee{

    width:100%;
    overflow:hidden;
    position:relative;
    margin:25px 0;

}

.marquee-track{

    display:flex;
    align-items:center;
    gap:22px;
    width:max-content;

    animation:scrollLeft 60s linear infinite;

}

.reverse .marquee-track{

    animation:scrollRight 60s linear infinite;

}

.marquee:hover .marquee-track{

    animation-play-state:paused;

}

/*=========================
CARD
=========================*/

.video-card{

    width:340px;
    height:220px;

    flex:0 0 auto;

    position:relative;

    border-radius:20px;

    overflow:hidden;

    background:#000;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    transition:.35s;

}

.video-card:hover{

    transform:translateY(-8px);

}

.video-card img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;

}

.video-card:hover img{

    transform:scale(1.08);

}

/*=========================
OVERLAY
=========================*/

.video-overlay{

    position:absolute;
    inset:0;

    background:linear-gradient(
    to top,
    rgba(0,0,0,.82),
    rgba(0,0,0,.08));

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    padding:18px;

}

/*=========================
PLAY BUTTON
=========================*/

.play-btn{

    width:70px;
    height:70px;

    margin:auto;

    border-radius:50%;

    background:rgba(255,255,255,.20);

    backdrop-filter:blur(12px);

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;

    font-size:28px;

    transition:.3s;

}

.video-card:hover .play-btn{

    background:#0d6efd;

    transform:scale(1.15);

}

/*=========================
DETAILS
=========================*/

.video-details{

    color:#fff;

}

.video-details .badge{

    font-size:12px;
    margin-bottom:12px;

}

.video-details h5{

    font-size:22px;
    margin-bottom:6px;
    font-weight:600;

}

.video-details p{

    margin:0;
    opacity:.9;
    font-size:15px;

}

.video-time{

    margin-top:10px;
    font-size:14px;

}

/*=========================
ANIMATION
=========================*/

@keyframes scrollLeft{

0%{

transform:translateX(0);

}

100%{

transform:translateX(-50%);

}

}

@keyframes scrollRight{

0%{

transform:translateX(-50%);

}

100%{

transform:translateX(0);

}

}

/*=========================
RESPONSIVE
=========================*/

@media(max-width:992px){

.video-card{

width:300px;
height:190px;

}

}

@media(max-width:768px){

.video-card{

width:260px;
height:165px;

}

.play-btn{

width:55px;
height:55px;

font-size:22px;

}

.video-details h5{

font-size:18px;

}

}

@media(max-width:576px){

.video-card{

width:220px;
height:145px;

}

.video-details h5{

font-size:16px;

}

.video-details p{

font-size:13px;

}

}

/* MARQUEE ANIMATIONS */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-50% - 10px));
    }
    100% {
        transform: translateX(0);
    }
}

/*==================================================
WHY JOIN
==================================================*/

.why-join {
    padding: 100px 0;
    background: #ffffff;
}

.why-image {
    overflow: hidden;
    border-radius: 25px;
}

.why-image img {
    width: 100%;
    border-radius: 25px;
    transition: .6s;
}

.why-image:hover img {
    transform: scale(1.05);
}

.why-join h6 {
    letter-spacing: 2px;
    font-size: 14px;
}

.why-join h2 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    margin-bottom: 20px;
}

.why-join p {
    font-size: 17px;
    line-height: 1.8;
    color: #666;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: .3s;
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/*==================================================
TOURS
==================================================*/

.tour-section {
    background: #f8fafc;
    padding: 100px 0;
}

.tour-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    transition: .4s;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-8px);
}

.tour-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: .6s;
}

.tour-card:hover img {
    transform: scale(1.06);
}

.tour-content {
    padding: 25px;
}

.tour-date {
    color: var(--primary);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.tour-content h3 {
    font-size: 24px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
}

.tour-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/*==================================================
COMPETITIONS
==================================================*/

.competition-section {
    padding: 100px 0;
}

.competition-card {
    background: #fff;
    border-radius: 22px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: .4s;
}

.competition-card:hover {
    transform: translateY(-8px);
}

.competition-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.competition-card p {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

/*==================================================
LATEST PHOTOS
==================================================*/

.latest-gallery {
    padding: 100px 0;
}

.photo-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    transition: .4s;
    height: 100%;
}

.photo-card:hover {
    transform: translateY(-8px);
}

.photo-image {
    overflow: hidden;
}

.photo-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: .7s;
}

.photo-card:hover img {
    transform: scale(1.08);
}

.photo-details {
    padding: 22px;
}

.photo-details h4 {
    font-size: 22px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 12px;
}

.photo-details p {
    color: #666;
    font-size: 14px;
}

.photo-details i {
    color: var(--primary);
    margin-right: 8px;
}

/*==================================================
FEATURED PHOTOGRAPHER
==================================================*/

.featured-photographer {
    padding: 100px 0;
}

.featured-photographer img {
    border-radius: 25px;
    width: 100%;
    object-fit: cover;
}

.featured-photographer h2 {
    font-size: 46px;
    font-family: 'Playfair Display', serif;
}

.featured-photographer p {
    color: #666;
    line-height: 1.8;
}

.featured-photographer h3 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 5px;
}

/*==================================================
NEWSLETTER
==================================================*/

.newsletter {
    background: #f3f4f6;
    padding: 80px 0;
}

.newsletter-box {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}

.newsletter h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.newsletter p {
    color: #666;
    margin-bottom: 0;
}

.newsletter .form-control {
    height: 55px;
    border-radius: 50px 0 0 50px;
    border: 1px solid #e2e8f0;
    padding-left: 20px;
}

.newsletter .btn {
    border-radius: 0 50px 50px 0;
    padding: 0 30px;
}

/*==================================================
RESPONSIVE MEDIA QUERIES
==================================================*/

@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .section-title { font-size: 36px; }
    .video-card { width: 280px; height: 165px; }
    .why-join h2 { font-size: 36px; }
    .featured-photographer { text-align: center; }
    .featured-photographer img { margin-bottom: 30px; }
}

@media (max-width: 768px) {
    .hero { height: auto; padding: 120px 0 60px; }
    .hero-title { font-size: 38px; }
    .video-card { width: 240px; height: 140px; }
    .play { width: 45px; height: 45px; font-size: 20px; }
    .video-info h5 { font-size: 15px; }
    .video-info span { font-size: 12px; }
    .newsletter .input-group { display: flex; flex-direction: column; gap: 10px; }
    .newsletter .form-control, .newsletter .btn { border-radius: 50px; width: 100%; height: 50px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 32px; }
    .section-title { font-size: 28px; }
    .video-card { width: 210px; height: 125px; }
}
/* ==================================================
NAVBAR STYLES FOR INNER PAGES
================================================== */

/* Dark navbar theme for inner pages with light backgrounds */
.navbar-dark-custom {
    background: rgba(17, 24, 39, 0.92) !important; /* Dark slate header background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-dark-custom .navbar-brand,
.navbar-dark-custom .nav-link {
    color: #ffffff !important;
}

.navbar-dark-custom .nav-link:hover {
    color: #ffc107 !important; /* Yellow hover accent */
}

/* Fix mobile toggler button visibility */
.navbar-dark-custom .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-dark-custom .navbar-toggler-icon {
    filter: invert(1);
}