:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #8c6d46;
    --light-color: #f9f9f9;
    --dark-color: #222;
    --transition: all 0.3s ease;
}

/* Custom Bootstrap Overrides */
.btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-dark:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.text-warning {
    color: var(--accent-color) !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Improved Hero Section */
/* Glossy Transparent Hero Section */
.hero {
    background: 
        linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
        url('images/Sibusiso.jpg') no-repeat center center/cover;
    margin-top: 76px;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Add glossy overlay effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

/* Glossy Button */
.btn-glossy {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-glossy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-glossy:hover {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: white;
}

.btn-glossy:hover::before {
    left: 100%;
}

/* Ensure content stays above overlay */
.hero .container {
    position: relative;
    z-index: 2;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 400px;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .btn-glossy {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* Optional: Add media query for better mobile experience */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Even more compact on mobile */
        min-height: 400px;
    }
    
    .hero h1 {
        font-size: 2.5rem; /* Smaller heading on mobile */
    }
}

/* Section Titles */
.title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

/* About Section */
.about-content-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f1f1f1;
}

.about-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.about-content-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.about-content-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

.about-content-scroll::-webkit-scrollbar-thumb:hover {
    background: #7a5f3a;
}

.about-image img {
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Gallery Items */
.gallery-item {
    transition: var(--transition);
    border-radius: 10px !important;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact-form .form-control {
    border: 2px solid #e9ecef;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(140, 109, 70, 0.25);
}

.social-links .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links .btn:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Contact Details Hover Effects */
.contact-details .d-flex {
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 5px;
}

.contact-details .d-flex:hover {
    background-color: rgba(140, 109, 70, 0.1);
    transform: translateX(5px);
}

/* Navbar Styles */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Footer Styles */
footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Animation for page load */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom card hover effects */
.card {
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Button enhancements */
.btn {
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        margin-top: 56px;
        text-align: center;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .about-content-scroll {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .gallery-overlay {
        opacity: 1;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 2rem 0;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    /* Mobile navigation adjustments */
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        text-align: center;
    }
}

/* Additional utility classes */
.text-accent {
    color: var(--accent-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

.border-accent {
    border-color: var(--accent-color) !important;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
/* Gallery Preview Section - Exactly 4 Cards */
.gallery-preview {
    padding: 80px 0;
    background-color: white;
}

.gallery-preview-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.preview-gallery-item {
    transition: all 0.5s ease;
    animation: fadeInUp 0.6s ease;
}

.preview-gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    aspect-ratio: 3/4;
    background: white;
}

.preview-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.preview-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.preview-gallery-card:hover img {
    transform: scale(1.08);
}

.preview-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

.preview-gallery-card:hover .preview-card-overlay {
    opacity: 1;
}

.preview-card-content {
    transform: translateY(20px);
    transition: var(--transition);
}

.preview-gallery-card:hover .preview-card-content {
    transform: translateY(0);
}

.preview-card-content h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 600;
    line-height: 1.3;
}

.preview-card-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.preview-art-size {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation for gallery items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for gallery items */
.preview-gallery-item:hover {
    z-index: 10;
}

/* Responsive adjustments for 4-card layout */
@media (max-width: 1200px) {
    .gallery-preview-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        gap: 30px;
    }
    
    .preview-gallery-card {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .gallery-preview-container {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 25px;
    }
    
    .preview-gallery-card {
        aspect-ratio: 3/4;
    }
    
    .preview-card-overlay {
        padding: 20px;
        opacity: 1;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    }
    
    .preview-card-content {
        transform: translateY(0);
    }
    
    .preview-card-content h3 {
        font-size: 1.4rem;
    }
    
    .preview-gallery-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .gallery-preview {
        padding: 60px 0;
    }
    
    .gallery-preview-container {
        gap: 20px;
    }
    
    .preview-card-content h3 {
        font-size: 1.2rem;
    }
}

/* Ensure perfect spacing */
.gallery-preview .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Center the grid perfectly */
.gallery-preview-container {
    justify-items: center;
}

.preview-gallery-item {
    width: 100%;
    max-width: 280px;
}
/* Logo Styles */
.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Logo responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px !important;
    }
    
    .gallery-header img {
        height: 50px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px !important;
    }
    
    .gallery-header img {
        height: 45px !important;
    }
    
    footer img {
        height: 30px !important;
    }
}

/* Logo in footer */
footer img {
    transition: var(--transition);
}

footer img:hover {
    transform: scale(1.05);
}
/* Circular Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    padding: 5px;
}

.circular-logo {
    width: 50px;
    height: 50px;
    border-radius: 0%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-color), #a58a5e);
    padding: 8px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(140, 109, 70, 0.3);
}

.circular-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(140, 109, 70, 0.4);
}

/* Gallery page logo */
.gallery-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.circular-logo-gallery {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-color), #a58a5e);
    padding: 12px;
    border: 3px solid var(--accent-color);
    box-shadow: 0 6px 20px rgba(140, 109, 70, 0.3);
}

/* Footer logos */
.footer-logo-container,
.gallery-footer-logo {
    display: flex;
    justify-content: flex-start;
}

.circular-logo-footer {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-color), #a58a5e);
    padding: 6px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
}

.circular-logo-footer:hover {
    transform: scale(1.1);
}

/* Logo responsive adjustments */
@media (max-width: 768px) {
    .circular-logo {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
    
    .circular-logo-gallery {
        width: 70px;
        height: 70px;
        padding: 10px;
    }
    
    .circular-logo-footer {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
}

@media (max-width: 576px) {
    .circular-logo {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
    
    .circular-logo-gallery {
        width: 60px;
        height: 60px;
        padding: 8px;
    }
    
    .circular-logo-footer {
        width: 35px;
        height: 35px;
        padding: 4px;
    }
    
    .footer-logo-container,
    .gallery-footer-logo {
        justify-content: center;
    }
}

/* Ensure logo visibility on white background */
.navbar-brand {
    background: transparent;
}

/* Add some spacing around the logo */
.navbar-brand {
    margin-right: 1rem;
}
/* Grey Navbar Background */
.bg-grey {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef;
}

.navbar-scrolled {
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Brown Navigation Items */
.nav-brown {
    color: var(--accent-color) !important;
    transition: var(--transition);
    position: relative;
    margin: 0 0.5rem;
    font-weight: 600;
}

.nav-brown:hover {
    color: #7a5f3a !important;
    transform: translateY(-2px);
}

.nav-brown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-brown:hover::after {
    width: 100%;
}

/* Active state for navigation */
.nav-brown.active {
    color: #7a5f3a !important;
}

.nav-brown.active::after {
    width: 100%;
}

/* Circular Logo with Grey Background */
.circular-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 8px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(140, 109, 70, 0.2);
}

.circular-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(140, 109, 70, 0.3);
    background: var(--accent-color);
}

/* Navbar Toggler Color */
.navbar-toggler {
    border-color: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(140, 109, 70, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28140, 109, 70, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Background */
@media (max-width: 768px) {
    .navbar-collapse {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        margin: 0.3rem 0;
    }
    
    .nav-brown {
        text-align: center;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: var(--transition);
    }
    
    .nav-brown:hover {
        background-color: rgba(140, 109, 70, 0.1);
        transform: translateX(5px);
    }
    
    .nav-brown::after {
        display: none;
    }
}

/* Logo responsive adjustments */
@media (max-width: 768px) {
    .circular-logo {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

@media (max-width: 576px) {
    .circular-logo {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
}

/* Ensure smooth transitions */
.navbar {
    transition: all 0.3s ease;
}

/* Add some spacing for better layout */
.navbar-nav {
    gap: 0.5rem;
}
/* Grey Navbar Background */
.bg-grey {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef;
}

.navbar-scrolled {
    background-color: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Brown Navigation Items */
.nav-brown {
    color: var(--accent-color) !important;
    transition: var(--transition);
    position: relative;
    margin: 0 0.5rem;
    font-weight: 600;
}

.nav-brown:hover {
    color: #7a5f3a !important;
    transform: translateY(-2px);
}

.nav-brown::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-brown:hover::after {
    width: 100%;
}

/* Active state for navigation */
.nav-brown.active {
    color: #7a5f3a !important;
}

.nav-brown.active::after {
    width: 100%;
}

/* Circular Logo with Grey Background */
.circular-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    padding: 8px;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(140, 109, 70, 0.2);
}

.circular-logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(140, 109, 70, 0.3);
    background: var(--accent-color);
}

/* Navbar Toggler Color */
.navbar-toggler {
    border-color: var(--accent-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(140, 109, 70, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28140, 109, 70, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Background */
@media (max-width: 768px) {
    .navbar-collapse {
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }
    
    .navbar-nav .nav-item {
        margin: 0.3rem 0;
    }
    
    .nav-brown {
        text-align: center;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: var(--transition);
    }
    
    .nav-brown:hover {
        background-color: rgba(140, 109, 70, 0.1);
        transform: translateX(5px);
    }
    
    .nav-brown::after {
        display: none;
    }
}

/* Logo responsive adjustments */
@media (max-width: 768px) {
    .circular-logo {
        width: 45px;
        height: 45px;
        padding: 6px;
    }
}

@media (max-width: 576px) {
    .circular-logo {
        width: 40px;
        height: 40px;
        padding: 5px;
    }
}

/* Ensure smooth transitions */
.navbar {
    transition: all 0.3s ease;
}

/* Add some spacing for better layout */
.navbar-nav {
    gap: 0.5rem;
}