/* Подключение шрифтов (добавь в самое начало style.css) */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,600;14..32,700;14..32,800&family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, .logo__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.hero__title, .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
}
/* ----- RESET & БАЗА ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* ----- КНОПКИ И ССЫЛКИ ----- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    border: none;
    box-shadow: 0 8px 20px rgba(241,196,15,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(241,196,15,0.5);
}
.btn-outline {
    border: 2px solid #f1c40f;
    background: transparent;
    color: #1e2a41;
}
.btn-outline:hover {
    background: #f1c40f20;
    transform: translateY(-3px);
}

.link-arrow {
    color: #f1c40f;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.link-arrow:hover {
    gap: 8px;
    letter-spacing: 1px;
}

/* ----- ШАПКА ----- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo__img {
    height: 40px;
    width: auto;
}

.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e63946; /* красный из логотипа */
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #f1c40f;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ----- HERO ----- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero__title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- О НАС ----- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about__text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about__text p {
    margin-bottom: 16px;
    color: #444;
    font-size: 1.05rem;
}

.about__image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
    transition: transform 0.4s;
}

.about__image img:hover {
    transform: scale(1.02);
}

/* ----- НАПРАВЛЕНИЯ (КАРТОЧКИ) ----- */
.directions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.direction-card {
    background: #f9f9f9;
    border-radius: 32px;
    padding: 40px 32px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid #eee;
}

.direction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
    border-color: #f1c40f;
}

.icon-camera, .icon-banana {
    font-size: 48px;
    display: inline-block;
    width: 80px;
    height: 80px;
    background: #f1c40f20;
    border-radius: 30px;
    text-align: center;
    line-height: 80px;
    margin-bottom: 24px;
}

.icon-camera::before {
    content: "📸";
    font-size: 40px;
}

.icon-banana::before {
    content: "🍌";
    font-size: 44px;
}

.direction-card h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.direction-card p {
    margin-bottom: 24px;
    color: #555;
}
.direction-card--photo {
    background: #fff0f0;  /* нежно-розовый */
    border-left: 6px solid #ff6b6b;
}
.direction-card--it {
    background: #fff9e6;  /* светло-жёлтый */
    border-left: 6px solid #f1c40f;
}

/* ----- ГАЛЕРЕЯ-ТИЗЕР ----- */
.gallery-teaser__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.gallery-teaser__item {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
}

.gallery-teaser__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-teaser__item img:hover {
    transform: scale(1.05);
}

.gallery-teaser__cta {
    text-align: center;
    margin-top: 40px;
}
.gradient-text {
    background: linear-gradient(135deg, #f1c40f, #e67e22, #f1c40f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 3s linear infinite;
}
@keyframes shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.banan-hero {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe6b3 100%);
    padding: 100px 0;
    text-align: center;
    animation: bgPulse 10s ease infinite;
}
@keyframes bgPulse {
    0% { background: #fff9e6; }
    50% { background: #ffe6b3; }
    100% { background: #fff9e6; }
}
.banan-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.banan-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* ----- CTA (призыв) ----- */
.cta {
    background: linear-gradient(135deg, #f1c40f10, #ffffff);
    border-radius: 48px;
    margin: 40px auto;
}

.cta__inner {
    text-align: center;
    padding: 60px 24px;
}

.cta__inner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta__inner p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: #555;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ----- ПОДВАЛ ----- */
.footer {
    background: #111;
    color: #ccc;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #e63946;
}

.footer__col h4 {
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer__col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: #f1c40f;
}

.footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
}
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}
.portfolio-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

/* ----- АДАПТАЦИЯ ----- */
@media (max-width: 1024px) {
    .hero__title { font-size: 3.5rem; }
    .gallery-teaser__grid { gap: 16px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    .hero__title { font-size: 2.5rem; }
    .hero__subtitle { font-size: 1rem; }
    .about__grid, .directions__grid { grid-template-columns: 1fr; }
    .directions__grid { gap: 24px; }
    .gallery-teaser__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: 1fr; text-align: center; }
    .nav { display: none; } /* нужно будет реализовать мобильное меню через JS */
    .mobile-menu-btn { display: block; }
    .hero__buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn { padding: 10px 20px; }
}
/* Исправление навигации */
.nav {
    display: flex;
    flex-wrap: nowrap; /* запрещаем перенос */
    overflow-x: auto;   /* добавляем скролл, если не влезает */
    gap: 20px;
    padding-bottom: 5px; /* чтобы скролл не обрезал тени */
    scrollbar-width: thin; /* аккуратный скролл в Firefox */
}
.nav::-webkit-scrollbar {
    height: 4px;
}
/* Для мобильных кнопка гамбургер уже есть, но скроем навигацию */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    .nav.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
}
@media (max-width: 768px) {
    .services-grid, .directions__grid, .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-teaser__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}
/* Стили для карточек портфолио (кейсов) */
.portfolio-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.portfolio-card__image img {
    width: 100%;
    height: auto;
    display: block;
}
.portfolio-card__content {
    padding: 24px;
}
.portfolio-card__content h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.portfolio-card__content p {
    margin-bottom: 8px;
    color: #444;
    line-height: 1.5;
}
.portfolio-card__link {
    display: inline-block;
    margin-top: 16px;
    color: #f1c40f;
    font-weight: 600;
    text-decoration: none;
}
.portfolio-card__link:hover {
    text-decoration: underline;
}
