/* 
   Shemeza Safari Website Styles
   Main stylesheet for the safari website
*/

/* ---------- Base Styles ---------- */
:root {
    /* Colors */
    --primary-color: #D4A017;
    --primary-dark: #B8860B;
    --secondary-color: #2F4F4F;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f8f8;
    --border-color: #e0e0e0;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 80px;
    --container-padding: 15px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-sm: 4px;
}

/* Dark Mode Variables */
.dark-mode {
    --text-color: #f0f0f0;
    --text-light: #b0b0b0;
    --light-bg: #1a1a1a;
    --border-color: #444444;
    background-color: #121212;
    color: var(--text-color);
}

/* Dark mode form controls */
.dark-mode input,
.dark-mode select,
.dark-mode textarea {
    background-color: #2a2a2a;
    border-color: #444;
    color: #f0f0f0;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.testimonials .container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--heading-font);
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
    transition: var(--transition);
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    visibility: hidden;
    transform: translateX(100%);
}

.testimonial.active {
    opacity: 1;
    position: relative;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.testimonial-content {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    position: relative;
    padding: 0 20px;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content::before {
    top: -15px;
    left: -10px;
}

.testimonial-content::after {
    content: '\201D';
    bottom: -35px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.author-info p {
    margin: 0 0 8px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.rating {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-controls button {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    color: white;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Animation for slider */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimonial {
        padding: 30px 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author img {
        margin: 0 0 15px 0;
    }
    
    .testimonial-controls {
        margin-top: 30px;
    }
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
    color: #888;
}

/* Dark mode cards */
.dark-mode .card,
.dark-mode .accommodation-card,
.dark-mode .testimonial {
    background-color: #1e1e1e;
    border: 1px solid #333;
}

/* Dark mode buttons */
.dark-mode .btn-outline {
    border-color: #555;
    color: #f0f0f0;
}

.dark-mode .btn-outline:hover {
    background-color: #333;
    border-color: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
}

.dark-mode {
    background-color: #121212;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: var(--text-light);
}

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

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

ul {
    list-style: none;
}

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

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

.section-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

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

/* ---------- Header & Navigation ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 70px;
}

.dark-mode header {
    background-color: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.75rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-links .mobile-signin {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .btn.btn-primary {
    display: inline-block;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* ---------- Hero Section ---------- */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat p {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* ---------- Featured Destinations ---------- */
.featured-destinations {
    padding: var(--section-spacing) 0;
}

.featured-destinations h2,
.safari-experiences h2 {
    text-align: center;
    margin-bottom: 15px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.destination-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background-color: var(--white);
}

.dark-mode .destination-card {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.destination-image {
    position: relative;
    height: 200px;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location, .rating {
    position: absolute;
    bottom: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
}

.dark-mode .location, 
.dark-mode .rating {
    background-color: rgba(30, 30, 30, 0.9);
}

.location {
    left: 15px;
}

.rating {
    right: 15px;
    color: var(--primary-color);
}

.rating i {
    margin-right: 3px;
}

.destination-content {
    padding: 20px;
}

.destination-content h3 {
    margin-bottom: 10px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tag {
    background-color: var(--light-bg);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
}

.destination-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.view-all {
    text-align: center;
    margin-top: 30px;
}

/* ---------- Safari Experiences ---------- */
.safari-experiences {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.dark-mode .safari-experiences {
    background-color: #1a1a1a;
}

.experiences-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 30px;
}

.experience-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 24px rgba(0,0,0,0.10);
    max-width: 340px;
    min-width: 270px;
    width: 100%;
    margin: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}

.experience-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.experience-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.experience-content {
    flex: 1;
    padding: 22px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.experience-content h3 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.experience-content p {
    margin-bottom: 12px;
    color: #555;
    font-size: 1rem;
}

.experience-details {
    margin: 10px 0 0 0;
}

.detail {
    margin-bottom: 7px;
    font-size: 0.97rem;
}

.label {
    font-weight: 600;
    margin-right: 5px;
    color: var(--primary-color);
}

.detail ul {
    display: block;
    margin-top: 5px;
    padding-left: 18px;
}

.detail ul li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.detail ul li i {
    color: var(--primary-color);
    margin-right: 7px;
}

.experience-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 900px) {
    .experiences-grid {
        gap: 18px;
    }
    .experience-card {
        max-width: 100%;
        min-width: 220px;
    }
}

@media (max-width: 700px) {
    .experiences-grid {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .experience-card {
        max-width: 98vw;
        min-width: 0;
    }
    .experience-image {
        height: 150px;
    }
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--section-spacing) 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-mode .testimonial {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.rating i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev, .next {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.prev:hover, .next:hover {
    color: var(--primary-color);
}

.dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

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

.dot.active {
    background-color: var(--primary-color);
}

/* ---------- Newsletter ---------- */
.newsletter {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.dark-mode .newsletter {
    background-color: #1a1a1a;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin: 30px 0 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.dark-mode .newsletter-form input {
    background-color: #1e1e1e;
    color: var(--text-color);
    border-color: #444;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.privacy-note {
    font-size: 0.8rem;
}

/* ---------- Footer ---------- */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.footer-logo .logo-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-logo .logo-text h3::after {
    display: none;
}

.footer-logo .logo-text p {
    font-size: 0.7rem;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.footer-column p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.footer-column ul li a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.contact-info li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #b0b0b0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 0.9rem;
}

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

/* ---------- Responsive Styles ---------- */
@media (max-width: 1200px) {
    .destinations-grid,
    .experiences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-spacing: 60px;
    }
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    header {
        height: 60px;
    }
    nav {
        min-height: 60px;
        padding: 5px 0;
    }
    .logo img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
    }
    
    /* Fix mobile header spacing */
    header {
        padding: 15px 0;
    }
    
    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .destinations-grid,
    .accommodations-grid {
        grid-template-columns: 1fr;
    }
    
    .accommodation-content {
        grid-template-columns: 1fr;
    }
    
    .accommodation-gallery {
        order: -1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .page-banner {
        margin-top: 70px;
        height: 40vh;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .detail ul {
        grid-template-columns: 1fr;
    }
}
