html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1a1a1a; 
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/y2 (2).jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: blur(1.5px) brightness(0.9); 
    z-index: -1; 
    transform: scale(1.05); 
}

.navbar {
    background-color: #4F5D2F !important; 
    border-bottom: 3px solid #D14081;
}

.navbar-brand {
    color: #DE91B1 !important;
    font-weight: 800 !important; 
    font-size: 1.8rem !important; 
}

.navbar-nav .nav-link {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link.active {
    color: #DE91B1 !important; 
    font-weight: bold !important; 
}

.navbar-nav .nav-link:hover {
    color: #D14081 !important; 
}

.dropdown-menu {
    background-color: rgba(180, 193, 124, 0.95) !important;
    border: 3px solid #809156 !important;
    padding: 0;
    overflow: hidden;
}

.dropdown-item {
    color: #4F5D2F !important;
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-item:hover {
    background-color: #DE91B1 !important; 
    color: #4F5D2F !important;
}

.project-card, .contact-form, .link-card, .bg-light {
    background-color: rgba(180, 193, 124, 0.9) !important; 
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border: 3px solid #809156 !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

h1, h2, h3, h4 {
    color: #DE91B1 !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.gallery-item {
    border: 8px solid #DE91B1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

footer {
    background-color: #4F5D2F !important;
    border-top: 3px solid #D14081;
    color: #DE91B1 !important;
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

.search-input {
    border: 2px solid #809156 !important;
    border-radius: 20px 0 0 20px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    height: 38px !important; 
    font-size: 14px !important;
    padding: 5px 15px !important;
}

.search-input:focus {
    box-shadow: 0 0 8px rgba(209, 64, 129, 0.4) !important;
    border-color: #D14081 !important;
}

.btn-search {
    background-color: #4F5D2F !important;
    border: 2px solid #4F5D2F !important;
    border-radius: 0 20px 20px 0 !important;
    color: #DE91B1 !important;
    height: 38px !important; 
    transition: 0.3s;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 15px !important;
}

.btn-search:hover {
    background-color: #D14081 !important;
    border-color: #D14081 !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .d-flex {
        margin-top: 15px;
        margin-bottom: 10px;
    }
}

nav .search-input {
    background-color: #ffffff !important; 
    color: #000000 !important; 
}

nav .search-input::placeholder {
    color: #6c757d !important;
}

nav .search-input {
    border: 2px solid #809156 !important; 
    height: 38px !important;
    background-color: #ffffff !important;
    color: #333 !important;
    border-radius: 20px 0 0 20px !important;
}

nav .search-input:focus {
    border-color: #D14081 !important;
    box-shadow: 0 0 8px rgba(209, 64, 129, 0.3) !important;
}

nav .btn-search {
    height: 38px !important;
    border: 2px solid #4F5D2F !important;
    background-color: #4F5D2F !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

nav .btn-search svg {
    fill: #DE91B1 !important;
}