/* ===== БАЗОВЫЕ СТИЛИ ===== */
body {
    font-family: 'Arial', sans-serif;
    background-color: #fff8f0;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

/* ===== ВСЕ ССЫЛКИ ===== */
a {
    color: #ffd700 !important; /* золотой текст */
    text-decoration: none;
    transition: 0.3s ease;
}

a:hover {
    color: #b8860b !important; /* темнее при наведении */
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1c1c1c, #2c2c2c);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

header .logo {
    height: 60px;
}

/* ===== MENU ===== */
.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
    position: relative;
}

/* Градиентный текст и подсветка */
nav ul li a {
    font-weight: bold;
    position: relative;
    padding: 5px 0;
    background: linear-gradient(90deg, #d4af37 0%, #fff07f 50%, #d4af37 100%);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
    transition: all 0.4s ease;
}

/* Hover меню */
nav ul li a:hover {
    background-position: 100%;
    text-shadow: 0 0 12px rgba(255, 223, 0, 0.9), 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Подчеркивание градиент */
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #f5e06a, #ffd700);
    transition: width 0.4s ease;
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ===== BURGER MENU ===== */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 15px; /* отступ справа */
    z-index: 1100;
}

.burger span {
    width: 28px;
    height: 3px;
    background-color: #d4af37;
    transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MAIN ===== */
main {
    padding: 120px 20px 50px;
    max-width: 1200px;
    margin: auto;
}

/* Hero section */
.hero {
    text-align: left;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 2.8em;
    color: #b8860b;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* ===== КНОПКИ ===== */
.hero .button,
.kitten-card .button,
.cat-card .button,
.contact a.button {
    background-color: #d4af37;  /* фон кнопки */
    color: #ffd700; /* текст золотой */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Hover кнопок — текст белый */
.hero .button:hover,
.kitten-card .button:hover,
.cat-card .button:hover,
.contact a.button:hover {
    background-color: #b8860b; /* фон темнее */
    color: #ffffff; /* текст белый */
}

/* ===== SECTIONS ===== */
section {
    margin-bottom: 50px;
}

section h2 {
    color: #b8860b;
    margin-bottom: 25px;
    text-align: center;
}

/* ===== KITTEN & CAT CARDS ===== */
.kitten-card, .cat-card {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: #fff5e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.kitten-card img, .cat-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.kitten-card .content, .cat-card .content {
    padding: 20px;
    flex: 1;
}

.kitten-card h3, .cat-card h3 {
    margin-top: 0;
    color: #b8860b;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== REVIEWS ===== */
.reviews {
    background-color: #fff0d4;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

/* ===== CONTACT ===== */
.contact {
    text-align: center;
    margin-bottom: 50px;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1c1c1c;
    color: #d4af37;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 992px) {
    .kitten-card, .cat-card {
        flex-direction: column;
        text-align: center;
    }

    .kitten-card img, .cat-card img {
        width: 100%;
        height: auto;
    }

    .kitten-card .content, .cat-card .content {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    nav.menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 70px);
        background: #1c1c1c;
        padding: 20px 0;
        flex-direction: column;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
    }

    nav.menu.active {
        right: 0;
    }

    .burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero .button {
        width: 100%;
    }
}