
:root {
    --primary: #cda365; /* Elegant muted gold */
    --primary-hover: #b88d50;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #fafafa;
    --white: #ffffff;
    --gray: #888888;
    --border: #e0e0e0;
    
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-gray { color: var(--gray); }
.text-small { font-size: 0.85rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.bg-light { background-color: var(--light); }
.bg-dark { background-color: var(--darker); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links a {
    margin: 0 15px;
    font-size: 0.9rem;
    color: #444;
}

.nav-links a:hover {
    color: var(--primary);
}

.mode-switch {
    display: flex;
    background: #eee;
    border-radius: 20px;
    padding: 4px;
}

.mode-switch a {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.mode-switch a.active {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: #222 url('images/hero-bg.jpg') center/cover no-repeat;
}
.hero-business {
    background: #222 url('images/hero-business-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-text {
    flex: 1;
}

.split-text p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
}

.signature {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2rem;
}

.split-image {
    flex: 1;
    height: 600px;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Placeholder for images before upload */
.placeholder-img {
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #ccc;
    cursor: pointer;
    group: portfolio;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.portfolio-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* Formats */
.format-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.format-card.reverse {
    flex-direction: row-reverse;
}

.format-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.format-content h3 {
    font-size: 2rem;
    color: var(--primary);
}

.format-content p {
    color: #555;
    margin-bottom: 1rem;
}

.format-image {
    flex: 1;
    min-height: 400px;
}

/* Pricing - Styled like requested but elegant */
.pricing-section {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    align-items: center;
}

.pricing-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px 30px;
    color: white;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #555;
}

.pricing-card.popular {
    background: #222;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.package-desc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    height: 40px;
}

.package-price {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.package-price span {
    font-size: 1rem;
    color: #888;
}

.package-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #ccc;
    position: relative;
    padding-left: 25px;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.package-features li.highlight {
    color: var(--white);
    font-weight: 500;
}

/* Additional services */
.additional-services {
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-list {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
}

.service-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    color: #ddd;
    border-bottom: 1px solid #333;
}
.service-item:last-child { border-bottom: none; }
.service-item span:last-child { color: var(--primary); font-weight: 500; }

/* Business Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-family: var(--font-body);
    font-weight: 500;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.accordion-content p {
    padding-bottom: 20px;
    color: #555;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
}
.accordion-item.active .icon {
    transform: rotate(45deg);
}
.icon {
    transition: transform 0.3s;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--white);
    padding: 80px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-info p {
    color: #888;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--primary);
    font-size: 1.1rem;
}

.social-link:hover {
    color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
    .split-section { flex-direction: column; }
    .split-image { width: 100%; height: 400px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 50px auto 0; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .format-card, .format-card.reverse { flex-direction: column; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; /* simple mobile fallback */ }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-content { flex-direction: column; text-align: center; }
}

/* Главный контейнер (черный блок) */
.hero {
    height: 100vh; /* Растягивает блок на всю высоту экрана */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #000000; /* Глубокий черный цвет подложки, пока видео грузится */
    overflow: hidden; /* Важно! Скрывает края видео, которые размываются */
}

/* Настройки адаптивности и размытия видео */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Магия: видео заполняет весь блок без искажения пропорций */
    z-index: 0;
    
    /* Размытие */
    filter: blur(5px); /* Эффект небольшой размытости (можно менять от 2px до 10px) */
    transform: scale(1.04); /* Чуть-чуть увеличиваем видео, чтобы убрать белые прозрачные края от размытия */
}

/* Слой затемнения поверх видео, чтобы премиальный белый текст идеально читался */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* Дорогой темный полупрозрачный фильтр */
    z-index: 1;
}

/* Контент (текст и кнопка) поверх всего */
.hero-content {
    position: relative;
    z-index: 2; /* Поднимает текст над видео и затемнением */
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}
