/* ============================================
   Vlady Glussky - Custom Styles
   ============================================ */

:root {
    --gold: #C9A96E;
    --gold-light: #E8D5A3;
    --dark: #1A1A1A;
    --gray: #6B7280;
    --navbar-height: 80px;

    /* Фоновые цвета */
    --bg-white: #ffffff;
    --bg-light: #F8F6F0;        /* светлый бежевый */
    --bg-about: #F5F0E8;        /* Über mich — тёплый бежевый */
    --bg-leistungen: #FBF8F2;   /* Meine Leistungen — светлее, почти белый */
}

* {
    font-family: 'Inter', sans-serif;
}

/* ========== HEADER ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    min-height: var(--navbar-height);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--dark) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--gold);
}

.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    padding: 8px 20px !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link.btn-nav {
    background: var(--gold);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 28px !important;
}

.nav-link.btn-nav:hover {
    background: #B8963A;
    color: #fff !important;
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../images/backgrounds/back2.jpg');
    background-size: cover;
    background-position: center 75%; /* 👈 смещаем фокус вниз */
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 600px;
}

/* ========== BUTTONS ========== */
.btn-gold {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: #B8963A;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: 0.3s;
    background: transparent;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px); /* 👈 движение вверх */
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.3); /* 👈 лёгкая тень */
}

/* ========== SECTIONS ========== */
.section-title {
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    font-weight: 300;
}

.gold-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 16px auto 24px;
    border-radius: 2px;
}

/* ========== CARDS ========== */
.card-hover {
    transition: 0.3s;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ========== ABOUT ========== */
.about-section {
    background: var(--bg-about);
    padding: 80px 0;
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-img img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* ===== АДАПТИВНАЯ ВЫСОТА ФОТО ===== */
@media (max-width: 992px) {
    .about-img img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .about-img img {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .about-img img {
        height: 250px;
    }
}

/* ========== MEINE LEISTUNGEN ========== */
#leistungen {
    background: var(--bg-leistungen);
}

/* ========== LIVE VIDEOS ========== */
#live {
    background: var(--bg-white); /* 👈 белый */
}

/* ========== REPERTOIRE ========== */
#repertoire {
    background: var(--bg-light); /* 👈 светлый бежевый */
}

/* ========== VIDEO GRID ========== */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== REPERTOIRE TABS ========== */
.nav-tabs .nav-link {
    border: none;
    color: var(--dark);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    transition: 0.3s;
    cursor: pointer;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--gold) !important;
    background: transparent;
    transform: none;
    box-shadow: none;
}

.nav-tabs .nav-link.active {
    background: var(--gold);
    color: #fff !important;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
}

.repertoire-list {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 40px;
}

.repertoire-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.repertoire-list li strong {
    color: var(--gold);
}

/* ========== GALLERY ========== */
#gallery {
    background: var(--bg-white); /* 👈 белый */
}

.gallery-img {
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    height: 250px;
}

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

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

/* ========== TESTIMONIALS ========== */
#testimonials {
    background: var(--bg-light); /* 👈 светлый бежевый */
}

.testimonial-card {
    background: #fff;
    padding: 32px 28px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
    min-height: 280px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* Золотая кавычка сверху */
.testimonial-card .quote-icon {
    font-size: 2.4rem;
    color: var(--gold);
    opacity: 0.35;
    line-height: 1;
    margin-bottom: 8px;
}

.testimonial-card .stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

/* Текст отзыва — 4 строки с многоточием */
.testimonial-card .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark);
    flex-grow: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.7rem * 4);
}

/* ===== НОВЫЙ ФУТЕР — имя всегда на второй строке ===== */
.testimonial-card .testimonial-footer {
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    display: flex;
    flex-direction: column; /* 👈 теперь колонка */
    gap: 2px;
    min-height: 60px;
}

/* Строка с именем и датой — в одну строку */
.testimonial-card .testimonial-footer .footer-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.testimonial-card .testimonial-name {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1 1 auto; /* занимает доступное место */
    min-width: 0; /* разрешает обрезание */
}

.testimonial-card .testimonial-date {
    color: var(--gray);
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0; /* дата не сжимается */
}


/* ========== WARUM ICH? ========== */
#warum-ich {
    background: var(--bg-white); /* 👈 белый */
}

/* ========== CONTACT ========== */
.contact-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.contact-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.2);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 32px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: var(--gold);
}

/* ========== SCROLL PADDING FOR FIXED HEADER ========== */
/* 👇 ГЛАВНОЕ ИСПРАВЛЕНИЕ — добавляем отступ для всех якорных секций */
section[id] {
    scroll-margin-top: calc(var(--navbar-height) + 20px);
}

/* Для мобильных меню */
@media (max-width: 991px) {
    :root {
        --navbar-height: 70px;
    }
    section[id] {
        scroll-margin-top: calc(var(--navbar-height) + 10px);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-img img {
        height: 300px;
    }
    .repertoire-list {
        columns: 1;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .gallery-img {
        height: 180px;
    }
}


/* ============================================
   WEDDING HERO (для всех страниц)
   ============================================ */

.wedding-hero {
    min-height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)), url('../images/backgrounds/back2.jpg');
    background-size: cover;
    background-position: center 65%; /* 👈 единое смещение */
    display: flex;
    align-items: center;
    padding-top: var(--navbar-height);
}

.wedding-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.wedding-hero h1 span {
    color: var(--gold);
}

/* Карточки пакетов */
.package-card {
    background: #fff;
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: 0.3s;
    border-top: 4px solid var(--gold);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.package-card .icon {
    font-size: 2.5rem;
    color: var(--gold);
}

/* Иконки в блоке "Warum Live-Musik?" */
.reasons-icon {
    font-size: 3rem;
    color: var(--gold);
}

/* Список песен для свадеб */
.song-list {
    list-style: none;
    padding: 0;
}

.song-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.song-list li i {
    color: var(--gold);
}

/* Выделенный блок (для репертуара) */
.highlight-box {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    border-left: 4px solid var(--gold);
    height: 100%;
}

/* Адаптив для свадебной страницы */
@media (max-width: 768px) {
    .wedding-hero h1 {
        font-size: 2.8rem;
    }
    .wedding-hero {
        min-height: 60vh;
    }
    .package-card {
        padding: 24px;
    }
    .highlight-box {
        padding: 24px;
    }
}

@media (max-width: 576px) {
    .wedding-hero h1 {
        font-size: 2.2rem;
    }
    .wedding-hero {
        min-height: 50vh;
    }
}

/* ===== РАЗДЕЛИТЕЛЬ МЕЖДУ СЕКЦИЯМИ ===== */
.section-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 0 0; /* слева */
    border-radius: 2px;
}

/* Если нужно по центру */
.section-divider-center {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
}