/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .site-name {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.site-name {
    font-weight: 700;
    font-size: 1.2rem;
}

.contacts {
    text-align: right;
}

.contacts a {
    display: block;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin-bottom: 5px;
}

.socials {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.socials a {
    font-size: 0.8rem;
    background: #f4f4f4;
    padding: 5px 8px;
    border-radius: 4px;
}

/* ГЛАВНЫЙ ЭКРАН (HERO) */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    /* Фото для главного экрана */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('img/my-main-photo.jpg') 
                no-repeat center center/cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.hero-overlay {
    display: none; /* Скрыт, так как градиент уже в фоне .hero */
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-link-wrapper {
    margin-top: 20px; /* Отступ от кнопки сверху */
}

.all-services-link {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.4); /* Тонкая линия снизу */
    padding-bottom: 5px;
    transition: 0.3s ease;
    display: inline-block;
}

.all-services-link:hover {
    color: #b08d57; /* Цвет при наведении (золотистый) */
    border-bottom: 1px solid #b08d57;
    transform: translateY(-2px); /* Легкий эффект всплытия */
}

.btn {
    display: inline-block;    /* Чтобы работали отступы и размеры */
    text-decoration: none;    /* Убирает подчеркивание текста */
    padding: 15px 35px;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #000;
    color: #fff;
}

/* Сетки */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 0;
}

/* Преимущества */
.adv-item {
    text-align: center;
}

.adv-item h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

/* КАРТОЧКИ УСЛУГ С ФОТО */
.service-card {
    position: relative;
    padding: 60px 40px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    color: #fff;
    border: none;
}

/* Затемнение для читаемости текста в карточках */
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.service-card h2, .service-card p {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* Фоновые изображения для карточек (замените на свои) */
.sc-1 { background-image: url('img/photo-session.jpg'); }
.sc-2 { background-image: url('img/video-back.jpg'); }
.sc-3 { background-image: url('img/retouch.jpg'); }

/* Подвал */
.footer {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: inherit; /* Берет цвет у родителя (.footer), то есть #fff */
    text-decoration: none; /* Убирает подчеркивание */
    border-bottom: 1px dotted rgba(255,255,255,0.4); /* Делает аккуратное пунктирное подчеркивание */
    transition: 0.3s;
}

.footer a:hover {
    border-bottom: 1px solid #fff; /* При наведении линия становится сплошной */
}

/* Для маленьких кнопок в шапке (ВК, ТГ, Авито, Юла) */
.socials a:hover {
    background: #000; /* Фон становится черным */
    color: #fff;      /* Текст становится белым */
    transition: 0.3s ease;
}

/* Для телефона и почты в шапке */
.contacts a:hover {
    color: #555; /* Цвет текста станет серым */
    transition: 0.2s;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .contacts {
        text-align: center;
    }
    .socials {
        justify-content: center;
    }
}