/*=============================================
=            BAOBAB LODGES STYLE             =
=============================================*/
:root {
    --primary: #94713c; /* Golden earth tone */
    --primary-hover: #b89153;
    --dark: #1f251c; /* Deep forest green / almost black */
    --light: #f9f8f6;
    --text: #4a4a4a;
    --white: #ffffff;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
}

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

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

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

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--dark); color: var(--white); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-primary h2, .bg-primary h3, .bg-primary h4 { color: var(--white); }
.text-white { color: var(--white); }
.section-padding { padding: 80px 0; }

.sub-title {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-text {
    font-size: 18px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

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

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

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

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

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

/* HEADER */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-logo {
    height: 70px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu > li > a {
    color: var(--white);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu > li > a:hover {
    color: var(--primary);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    border-bottom: 1px solid #eee;
}

.dropdown li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.header-actions .btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    color: var(--white);
    font-size: 24px;
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--white);
    font-size: 64px;
    margin-bottom: 40px;
}

/* FEATURES GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.feature-card img {
    height: 60px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-body);
}

/* CAMPS COLLECTION */
.camps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.camp-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.camp-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: 0.5s transform;
}

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

.camp-info {
    padding: 30px;
    text-align: center;
    position: relative;
    background: var(--white);
}

.camp-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.camp-info p {
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* SPLIT SECTION */
.split-row {
    display: flex;
    flex-wrap: wrap;
}

.split-row.reverse {
    flex-direction: row-reverse;
}

.split-content, .split-img {
    width: 50%;
}

.split-content {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.split-img {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

/* FACILITIES */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.facility-item img {
    height: 80px;
    margin: 0 auto 15px;
}

.facility-item h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

/* REVIEWS */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.review-stars {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

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

.review-author {
    font-weight: 600;
    color: var(--dark);
}

/* FOOTER */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-text {
    color: #aaa;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    margin-right: 10px;
}

.social-icons a:hover {
    background: var(--primary);
}

.footer-widget h3 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 15px;
    color: #aaa;
}

.footer-widget ul li a {
    color: #aaa;
}

.footer-widget ul li a:hover {
    color: var(--primary);
}

.footer-widget ul li i {
    color: var(--primary);
    margin-right: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #aaa;
    font-size: 14px;
}

.legal-links a {
    color: #aaa;
    margin-left: 20px;
}

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

/* FLASH MESSAGE */
.flash-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 25px;
    background: var(--dark);
    color: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease forwards;
}

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

/* RESPONSIVE */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .split-content, .split-img { width: 100%; }
    .split-img { height: 400px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-menu, .header-actions .btn-outline { display: none; }
    .mobile-toggle { display: block; }
    .hero-subtitle { font-size: 42px; }
    .camps-grid, .reviews-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .split-content { padding: 50px 20px; }
}
  
/* Fix for booking page header overlap */  
body:not(.home-page) .site-header { position: relative; background-color: #222; padding-bottom: 20px; }  
body:not(.home-page) main { padding-top: 40px; } 
