/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типография */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff3366, #ff6633);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1.2rem 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #ff3366;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover {
    color: #ff3366;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff3366;
    left: 0;
    bottom: 0;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-checkbox {
    display: none;
}

/* Главный экран */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #ff3366;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #ff3366;
    bottom: -5px;
    left: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff3366, #ff6633);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down a {
    color: #fff;
    font-size: 1.5rem;
    display: block;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Секции */
.section {
    padding: 5rem 0;
}

/* Обо мне */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ccc;
}

.about-text strong {
    color: #ff3366;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border: 5px solid #222;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.image-frame:hover img {
    transform: scale(1.05);
}

/* Портфолио */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    height: 250px;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb, .motion-thumb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #ff3366;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: #ccc;
}

.portfolio-button {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-note {
    text-align: center;
    color: #aaa;
    margin-top: 1rem;
    font-style: italic;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #151515;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #222;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 51, 102, 0.2);
    border-color: #ff3366;
}

.service-icon {
    font-size: 3rem;
    color: #ff3366;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '▸';
    color: #ff3366;
    position: absolute;
    left: 0;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    background-color: #151515;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid #222;
}

.social-link:hover {
    background-color: #222;
    border-color: #ff3366;
    transform: translateX(5px);
}

.social-link i {
    font-size: 1.5rem;
    color: #ff3366;
    margin-right: 1rem;
    width: 30px;
}

.social-link span {
    font-weight: 500;
}

/* Футер */
.footer {
    background-color: #050505;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #ff3366;
}

.footer p {
    color: #aaa;
    margin-bottom: 1rem;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.footer-contacts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #222;
    color: #fff;
    border-radius: 50%;
    font-size: 1.3rem;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-contacts a:hover {
    background-color: #ff3366;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}