/* ==========================================================================
   TARZAN GARDENS - MAIN STYLESHEET
   Color Scheme: Green & White
   ========================================================================== */

:root {
    --brand-green: #72B842;
    --brand-hover: #5d9635; /* Darker green for button hovers */
    --brand-dark: #111f29; /* Keeping the elegant dark background for contrast */
}

body {
    font-family: 'Roboto', sans-serif;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}

/* --- Global Link Reset (Kills the default Bootstrap Blue) --- */
a {
    color: var(--brand-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-hover);
}

/* --- Top Bar & Header --- */
.top-bar {
    background-color: var(--brand-green); /* Changed to green */
    font-size: 14px;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link {
    color: #333 !important;
    margin-right: 15px;
    font-size: 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--brand-green) !important;
}

/* --- Buttons (Overriding Bootstrap's Default Blue) --- */
.btn-primary {
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: #fff !important;
}

/* Switch to darker green on hover */
.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active {
    background-color: var(--brand-hover) !important;
    border-color: var(--brand-hover) !important;
    color: #fff !important;
}

.btn-outline-primary {
    color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
}

/* Switch to solid green on hover */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: #fff !important;
}

/* ==========================================================================
   HERO SLIDER & IMAGE DIMMING OVERLAY
   ========================================================================== */
.carousel-item {
    height: 75vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); /* Dims the image */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}

.carousel-caption h1 {
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: #fff; /* Changed from Gold to White */
}

.carousel-caption p {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* --- Section Styling --- */
.section-title {
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-green); /* Changed from Gold to Green */
}

/* --- Cards (Our Spaces) --- */
.space-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.space-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.space-card img {
    height: 250px;
    object-fit: cover;
}

.card-title {
    color: var(--brand-green);
}

/* --- Footer --- */
footer {
    background-color: var(--brand-dark);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    line-height: 2.5;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-green); /* Changed from Gold to Green */
}