:root {
  --bs-primary: #111;
}

h1, h2, h3 {
  font-weight: 500;
}

/* Navbar */
.navbar {
  padding: 0;
}

.navbar-nav .nav-link {
  position: relative;
  padding-bottom: 6px;
  color: #222;
}

.navbar-nav .current-menu-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #222;
}

.navbar.fixed-top {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.custom-logo-link {
    padding: 6px 0px;
}

.custom-logo-link img {
    max-height: 70px !important;
    width: auto;
}

.lang-switcher {
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 20px;
}

.lang-switcher a {
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: var(--bs-primary) !important;
}

/* Navbar */

/* Home */

.hero-section {
    position: relative;
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-section .container {
    position: relative; 
    z-index: 2; 
}

.about-section img {
    width: 280px;
    height: 280px;
}

.second-image {
    margin-top: 40px;
}

.choose-us-section {
    background-color: #fbf9fa;
}

.cta-box {
    background-color: #101828;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-box .btn-light {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-box .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Home */

/* Portfolio */

.portfolio-hero-section {
    position: relative;
    min-height: 30vh;
    background-color: #101828;
}

.btn-filter-active {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Inactive State (White) */
.btn-filter-inactive {
    background-color: #ffffff !important;
    color: #475569 !important; /* Greyish text */
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-filter-inactive:hover {
    background-color: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.portfolio-filters .btn {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.card {
    position: relative;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-title {
    color: #0f172a;
    letter-spacing: -0.01em;
}

.portfolio-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item {
    opacity: 1;
    display: block;
}

.card-text {
    min-height: 40px;
}

/* Portfolio */

/* Price */

.price-hero-section {
    position: relative;
    min-height: 40vh;
    background-color: #101828;
}

.info h2 {
    font-weight: 400;
}

.request_quote h2 {
    font-weight: 400;
}

.custom-form .form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.custom-form .form-control:focus {
    background-color: #fff;
    border-color: #0f172a;
    box-shadow: none;
}

.file-upload-wrapper {
    background-color: #fcfcfc;
    border: 2px dashed #ced4da !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    background-color: #f1f3f5;
    border-color: #0f172a !important;
}

.custom-form .btn-dark {
    background-color: #0f172a;
    border: none;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.download-button {
    background-color: #0f172a;
    font-size: 18px;
    padding: 16px;
}

/* Price */

/* Contact */

.contact-hero-section {
    position: relative;
    min-height: 40vh;
    background-color: #101828;
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.icon-box i {
    color: #0f172a;
    font-size: 1.2rem;
}

.map-placeholder {
    min-height: 350px;
    border: 1px solid rgba(0,0,0,0.05);
}

.min-vh-40 {
    min-height: 40vh;
}

.contact-button {
    background-color: #0f172a;
    font-size: 18px;
    padding: 16px;
}

/* Contact */

/* Footer */
footer {
    background-color: #101828 !important;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info i {
    color: rgba(255, 255, 255, 0.75);
}
/* Footer */

@media (max-width: 991px) {
  .navbar-nav .nav-link::after {
    display: none;
  }
  .image {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
    .lang-switcher {
        justify-content: flex-end; 
        margin-top: 0;
        padding: 0;
        border-top: none;
        flex-grow: 1; 
        margin-right: 1rem;
    }
}