﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


/* 1. Плътен тъмен Navbar (като на снимката) */
.navbar-transparent {
    background-color: #212529 !important; /* Тъмно сиво/черно като в снимката */
    border: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Лека сянка за дълбочина */
    padding-top: 15px;
    padding-bottom: 15px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}

    /* 2. Чисто бели букви за контраст върху тъмния фон */
    .navbar-transparent .nav-link,
    .navbar-transparent .navbar-brand,
    .nav-link-custom {
        color: #ffffff !important; /* Бяло за максимална четимост */
        font-weight: 700; /* По-плътен шрифт като в примера */
        text-transform: uppercase; /* Главни букви */
        letter-spacing: 1px;
        font-size: 0.9rem; /* Малко по-малък и изчистен размер */
        opacity: 1 !important;
        transition: color 0.3s ease;
    }

    /* 3. Иконите също стават бели */
    .navbar-transparent .bi {
        color: #ffffff !important;
    }

    /* 4. Ефект при посочване (Hover) */
    .navbar-transparent .nav-link:hover {
        color: #198754 !important; /* Твоето зелено като акцент */
    }

/* 5. Профилното "хапче" - адаптирано за тъмен фон */
.nav-profile-pill {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px;
    color: white !important;
    padding: 8px 20px;
}

/* 6. Класът за скриване (JS остава същият) */
.nav-hidden {
    transform: translateY(-100%);
}

/* 7. Фикс за основното съдържание */
/* Направи така, че за началната страница да няма разстояние отгоре */
.home-page-wrapper {
    margin-top: 0;
    padding-top: 0;
}

/* Специален клас за страници с плътно съдържание */
.page-spacing {
    padding-top: 100px; /* Нагласи го според височината на черния бар */
}




/* Декоративни елементи */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.italic {
    font-style: italic;
}

.ls-2 {
    letter-spacing: 2px;
}

.header-line {
    width: 50px;
    height: 1px;
    background: #198754;
    margin-top: 20px;
}

/* Картите и изображенията */
.avant-garde-card {
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-wrapper {
    background: #fdfdfd;
    /* Висока и елегантна форма */
    aspect-ratio: 3/4;
}

.avant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.15, 0, 0.15, 1);
}

.avant-garde-card:hover .avant-img {
    transform: scale(1.08);
}

/* Цена и Овърлей */
.floating-price {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 5px 15px;
    font-weight: 300;
    font-size: 0.9rem;
    z-index: 5;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.avant-garde-card:hover .img-overlay {
    opacity: 1;
}

.btn-minimal {
    background: #212529;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

    .btn-minimal:hover {
        background: #198754;
        color: white;
    }

/* Линкове */
.minimal-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #888;
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
    transition: all 0.3s;
}

    .minimal-link:hover {
        color: #000;
        border-bottom-color: #000;
    }

    .minimal-link .arrow {
        display: inline-block;
        transition: transform 0.3s;
    }

    .minimal-link:hover .arrow {
        transform: translateX(5px);
    }

/* Асиметрия за десктоп */
@media (min-width: 992px) {
    .mt-lg-5 {
        margin-top: 120px !important;
    }
}