/* Custom Variables */
:root {
    --primary-color: #8b5a2b;
    /* Wood tone */
    --secondary-color: #6c757d;
    --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.4) 0%, rgba(0, 0, 0, 0.8) 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-outline-light {
    border-width: 2px;
    border-radius: 0;
    /* Sharp corners for clean look */
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: #222;
}

/* 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;
}