/* assets/css/style.css */

/* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ --- */
:root {
    --gold: #c5a059;         /* Золотой цвет бренда */
    --gold-hover: #b08d4b;   /* Золотой при наведении */
    --dark: #212529;         /* Темно-серый текст */
    --light-bg: #f8f9fa;     /* Светлый фон блоков */
}

body {
    font-family: 'Montserrat', sans-serif !important;
    color: var(--dark) !important;
    background-color: #ffffff !important; /* Принудительно белый фон */
    overflow-x: hidden;
    margin: 0;
}

a { text-decoration: none !important; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Утилиты цвета */
.text-gold { color: var(--gold) !important; }
.bg-gold { background-color: var(--gold) !important; }

/* --- 2. ШАПКА САЙТА --- */
/* Верхняя черная полоска */
.top-bar {
    background-color: #111;
    color: #bbb;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: #fff; transition: 0.3s; }
.top-bar a:hover { color: var(--gold); }

/* Основное меню */
.navbar-custom {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ЛОГОТИП (Строго фиксируем размер) */
.navbar-brand img {
    height: 50px !important; 
    width: auto !important;
    object-fit: contain;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 8px 15px !important;
}

.nav-link:hover { color: var(--gold) !important; }

/* --- 3. ГЛАВНЫЙ БАННЕР (HERO) --- */
.hero-section {
    position: relative;
    height: 85vh;             /* Высота 85% экрана */
    min-height: 550px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff !important;
}

/* Затемнение фона (чтобы текст читался) */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65); /* 65% черного */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem; /* Крупный заголовок */
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section { height: 70vh; }
}

/* --- 4. КНОПКИ --- */
.btn-gold {
    background-color: var(--gold);
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    display: inline-block;
    margin: 5px;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}
.btn-gold:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: #fff !important;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid #fff;
    display: inline-block;
    margin: 5px;
}
.btn-outline-white:hover {
    background: #fff;
    color: #000 !important;
}

/* --- 5. КАРТОЧКИ ТОВАРОВ --- */
.card-custom {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Контейнер картинки (строгая высота) */
.card-img-wrap {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover !important; /* Картинка обрезается, но не плющится */
    transition: transform 0.6s ease;
}
.card-custom:hover .card-img-wrap img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    text-align: center;
}
.card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}
.card-text {
    color: #777;
    font-size: 0.9rem;
}

/* --- 6. ПРЕИМУЩЕСТВА --- */
.feature-item {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center;
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}
.feature-item:hover {
    border-bottom-color: var(--gold);
    transform: translateY(-3px);
}
.feature-icon {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 2.5rem;
}