/* Общие настройки и анимация перехода */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    background-color: #f8f8f8;
    font-family: 'Arial', sans-serif;
    color: #000;
    overflow-x: hidden;
}

.page-transition {
    animation: fadeInPage 0.8s ease-out;
}

/* --- ХЕДЕР --- */
.header {
    background: #fff;
    border-bottom: 3px solid #900000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img { height: 45px; }

.nav a {
    text-decoration: none;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    margin-left: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #900000;
}

/* --- БАННЕРЫ --- */
.full-width-img {
    width: 100%;
    display: block;
    height: auto;
}

.content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.title-decor {
    text-align: center;
    font-family: 'Old Standard TT', serif;
    font-size: 32px;
    letter-spacing: 6px;
    margin: 40px 0 30px;
    text-transform: uppercase;
}

.project-card {
    position: relative;
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-card img {
    width: 100%;
    display: block;
}

/* Кнопки переходов */
.btn-link {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 35px;
    border: 1px solid #fff;
    background: rgba(0,0,0,0.3);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-link:hover {
    background: #fff;
    color: #000;
}

/* --- ПОДВАЛ --- */
.footer {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #ddd;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

.footer-brand img {
    height: 80px;
    margin-right: 50px;
}

.footer-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h4 {
    font-size: 11px;
    margin-bottom: 12px;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
    width: fit-content;
}

.footer-column a {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 10px;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #900000;
}