/* Shiv Africa Tours & Travels - Master Design Stylesheet */
:root {
    --primary: #d97706;
    --primary-dark: #b45309;
    --primary-light: #fef3c7;
    --secondary: #0f172a;
    --accent: #2563eb;
    --text-dark: #1e293b;
    --text-body: #334155;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --font-heading: 'Muli', 'Outfit', sans-serif;
    --font-body: 'Lato', 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.8;
    font-size: 1rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* TOP BAR */
.top-bar {
    background-color: #364ba9;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: none;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-contact a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact a:hover {
    color: #ffcc00;
}

.top-bar-nav {
    display: flex;
    gap: 15px;
    list-style: none;
}

.top-bar-nav a {
    color: #ffffff;
}

.top-bar-nav a:hover {
    color: #ffcc00;
}

/* MAIN HEADER & NAVBAR */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.site-branding img {
    max-height: 55px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-item.active > .nav-link {
    color: var(--primary-dark);
    background-color: var(--primary-light);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1100;
    border: 1px solid var(--border-color);
}

.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
}

.nav-item:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    padding-left: 24px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* HERO SLIDER SECTION (Full-Width Hero Slider with Gradient Overlays & Typography) */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 560px;
    background-color: #0f172a;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .hero-slider-section {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 380px;
    }
}

@media (max-width: 480px) {
    .hero-slider-section {
        height: 320px;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.78) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 850px;
    padding: 0 20px;
    transform: translateY(10px);
    transition: transform 0.8s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
}

.slide-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #e2e8f0;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .slide-subtitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    display: flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* SECTION COMMONS & BACKGROUND ALTERNATION */
.section {
    padding: 65px 0;
}

.section.bg-white {
    background-color: #ffffff;
}

.section.bg-light {
    background-color: #f8fafc;
}

.section.bg-alt {
    background-color: #f1f5f9;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 15px;
    position: relative;
    color: var(--secondary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 45px;
    line-height: 1.7;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #ffffff;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* BANNER & VIDEO SECTION */
.banner-video-section {
    background-color: var(--secondary);
    color: #ffffff;
    padding: 60px 0;
}

.banner-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.banner-text h2 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.banner-text h3 {
    color: #ffffff;
    font-size: 1.6rem;
    margin-bottom: 20px;

}

.banner-text p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.8;
}

.video-wrapper video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* GALLERY GRID */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

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

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

/* TESTIMONIALS SECTION (Interactive Slider with Panorama Background) */
.testimonials-section {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../images/panorama-banner.jpg') center/cover no-repeat fixed;
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonial-slides-container {
    position: relative;
    min-height: 220px;
}

.testimonial-card {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.testimonial-card.active {
    display: block;
    opacity: 1;
}

.quote-icon {
    font-size: 2.75rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 25px;
    font-style: italic;
}

@media (max-width: 768px) {
    .testimonial-quote {
        font-size: 1.05rem;
    }
}

.testimonial-author {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

.testimonial-arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.testimonial-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-arrow.prev {
    left: 0;
}

.testimonial-arrow.next {
    right: 0;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.t-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* PAGE HEADER BANNER */
.page-header-banner {
    background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)), url('../images/panorama-banner.jpg') center/cover;
    padding: 70px 0;
    text-align: center;
    color: #ffffff;
}

.page-header-banner h1 {
    color: #ffffff;
    font-size: 2.5rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    margin: 0;
}

/* MASTER PARALLAX CALLOUT BANNER */
.parallax-callout-banner {
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

@media (max-width: 768px) {
    .parallax-callout-banner {
        background-attachment: scroll;
        padding: 60px 15px;
    }
}

.parallax-callout-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    line-height: 1.4;
}

.parallax-callout-banner p {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* SAFARI PAGE SPECIFIC STYLING */
.safari-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .safari-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.safari-sidebar-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.safari-sidebar-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.safari-sidebar-images img:hover {
    transform: scale(1.02);
}

.safari-content-body {
    font-family: 'Book Antiqua', Palatino, 'Palatino Linotype', Georgia, serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2d3748;
}

.safari-content-body p {
    margin-bottom: 22px;
    text-align: justify;
}

.safari-heading-title {
    font-family: 'Book Antiqua', Palatino, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 30px;
    margin-bottom: 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
}

.safari-callout-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Book Antiqua', Palatino, serif;
    margin-bottom: 50px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    border-left: 4px solid var(--primary);
}

.safari-callout-banner p {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.7;
}

.safari-callout-banner p:last-child {
    margin-bottom: 0;
}

/* PACKAGE CARDS */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.package-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.package-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.package-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* CONTACT & INQUIRY FORM */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info-card {
    background: var(--secondary);
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 4px;
}

.form-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* MODAL POPUP */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,23,42,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--bg-white);
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* FOOTER */
.site-footer {
    background-color: #364ba9;
    color: #ffffff;
    padding-top: 50px;
    border-top: none;
}

.site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.1fr 1.1fr;
    gap: 35px;
    padding-bottom: 45px;
    align-items: center;
}

@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #ff9900;
}

.footer-widget p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-img {
    max-width: 170px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bottom-bar {
    background-color: #000000;
    padding: 16px 0;
    font-size: 0.85rem;
    color: #cccccc;
    border-top: none;
}

.bottom-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .banner-video-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        display: none;
    }
    
    .nav-item.open > .dropdown-menu {
        display: block;
    }
}
