/* Custom Variables */
:root {
    --primary-color: #4A5D23;
    /* Olive Green from Logo */
    --secondary-color: #F2E8CF;
    /* Cream/Beige from Logo */
    --dark-color: #212529;
    --light-bg: #f8f9fa;
    --font-playfair: 'Playfair Display', serif;
    --font-roboto: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-roboto);
    color: var(--dark-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-playfair {
    font-family: var(--font-playfair);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('img/hero.jpg') no-repeat center center scroll;
    background-size: cover;
    margin-bottom: 0;
}

/* Fallback if no hero image is present yet - dark wood texture or plain color */
.hero-section {
    background-color: #333;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay with vignette effect */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-section h1,
.hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    /* Rounded / Pill */
    padding: 12px 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #3a4a1b;
    border-color: #3a4a1b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Divider */
.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
}

/* Portfolio Item */
.portfolio-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-img-wrapper {
    height: 300px;
    /* Fixed height for consistency */
    overflow: hidden;
}

.portfolio-img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

/* Lightbox Enhancements */
.modal-backdrop.show {
    opacity: 0.9;
    /* Darker backdrop for better focus */
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    background-size: 1.5rem;
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
}

/* Scroll Up Button */
#scrollUpBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background-color: var(--primary-color);
    color: white;
}

#scrollUpBtn:hover {
    background-color: #6d4620;
    transform: translateY(-3px);
}

#scrollUpBtn.show {
    display: flex;
    opacity: 1;
}

/* Filter Buttons */
#portfolio-filters .btn {
    border-width: 2px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    /* Modern pill shape or use 6px for slightly rounded */
    padding: 0.5rem 1.5rem;
    /* Ensure enough padding */
}

#portfolio-filters .btn:hover,
#portfolio-filters .btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.text-warning {
    color: var(--primary-color) !important;
    /* Override standard warning color with our wood tone */
}

/* Utilities */
.object-fit-cover {
    object-fit: cover;
}

/* Navbar Styles */
#mainNav {
    background-color: rgb(33 37 41 / 35%);
    /* Transparent dark as requested */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

#mainNav .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-weight: 700;
}

#mainNav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--secondary-color) !important;
}

/* Admin Preview Button */
.btn-admin-preview {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-admin-preview:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff !important;
}

/* Footer & Other tweaks */
.footer {
    background-color: var(--primary-color);
}

.contact-icons a {
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.contact-icons a:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}