[file name]: style.css
[file content begin]
/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #333;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.8s ease, color 0.8s ease;
}

body.light-theme {
    background-color: transparent;
    color: #333;
}

body.dark-theme {
    background-color: #0a0a0a;
    color: #fff;
}

/* Кнопка смены темы */
.theme-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.dark-theme .theme-toggle {
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.sun-moon {
    position: relative;
    width: 40px;
    height: 40px;
}

.sun-moon .sun,
.sun-moon .moon {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sun-moon .sun {
    background: #FFEB3B;
    top: 8px;
    left: 8px;
    box-shadow: 0 0 10px #FFEB3B;
}

.sun-moon .moon {
    background: #e0e0e0;
    top: 8px;
    left: 8px;
    box-shadow: 0 0 10px #e0e0e0;
    opacity: 0;
    transform: translateY(40px);
}

.dark-theme .sun-moon .sun {
    opacity: 0;
    transform: translateY(40px);
}

.dark-theme .sun-moon .moon {
    opacity: 1;
    transform: translateY(0);
}

/* Фон с небом и облаками */
.sky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    transition: background 0.8s ease;
}

.light-theme .sky-background {
    background: linear-gradient(180deg, #e0f7ff 0%, #a6d8ff 50%, #87ceeb 100%);
}

.dark-theme .sky-background {
    background: linear-gradient(180deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
}

.sun-bg {
    position: absolute;
    top: 80px;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #FFEB3B;
    border-radius: 50%;
    box-shadow: 0 0 60px #FFEB3B, 0 0 100px rgba(255, 235, 59, 0.5);
    z-index: -1;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.dark-theme .sun-bg {
    transform: translateY(calc(100vh - 80px));
    opacity: 0;
}

.moon-bg {
    position: absolute;
    top: 80px;
    right: 15%;
    width: 100px;
    height: 100px;
    background: #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(224, 224, 224, 0.7), 0 0 100px rgba(224, 224, 224, 0.3);
    z-index: -1;
    opacity: 0;
    transform: translateY(-100px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.dark-theme .moon-bg {
    opacity: 1;
    transform: translateY(0);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.dark-theme .stars {
    opacity: 1;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 90px 40px, #ddd, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 120px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 160px 20px, #eee, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 200px 60px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 250px 250px;
}

.cloud {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    z-index: -1;
    transition: all 0.8s ease;
}

.dark-theme .cloud {
    background: #2a2a3a;
    box-shadow: 0 0 20px rgba(42, 42, 58, 0.8);
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}

.cloud-1 {
    width: 180px;
    height: 60px;
    top: 15%;
    left: 5%;
}

.cloud-1:before {
    width: 70px;
    height: 70px;
    top: -30px;
    left: 20px;
}

.cloud-1:after {
    width: 90px;
    height: 90px;
    top: -40px;
    right: 20px;
}

.cloud-2 {
    width: 220px;
    height: 70px;
    top: 25%;
    right: 8%;
}

.cloud-2:before {
    width: 80px;
    height: 80px;
    top: -35px;
    left: 30px;
}

.cloud-2:after {
    width: 100px;
    height: 100px;
    top: -45px;
    right: 30px;
}

.cloud-3 {
    width: 150px;
    height: 50px;
    top: 50%;
    left: 10%;
}

.cloud-3:before {
    width: 60px;
    height: 60px;
    top: -25px;
    left: 15px;
}

.cloud-3:after {
    width: 70px;
    height: 70px;
    top: -30px;
    right: 15px;
}

.cloud-4 {
    width: 200px;
    height: 65px;
    top: 60%;
    right: 15%;
}

.cloud-4:before {
    width: 75px;
    height: 75px;
    top: -30px;
    left: 25px;
}

.cloud-4:after {
    width: 85px;
    height: 85px;
    top: -35px;
    right: 25px;
}

.cloud-5 {
    width: 170px;
    height: 55px;
    top: 75%;
    left: 20%;
}

.cloud-5:before {
    width: 65px;
    height: 65px;
    top: -25px;
    left: 20px;
}

.cloud-5:after {
    width: 75px;
    height: 75px;
    top: -30px;
    right: 20px;
}

/* Основной контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Навигация */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #1e88e5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dark-theme .logo {
    color: #64b5f6;
}

.logo-text {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
}

.light-theme .nav-links a {
    color: #333;
}

.dark-theme .nav-links a {
    color: #fff;
}

.nav-links a:hover {
    color: #1e88e5;
    background: rgba(255, 255, 255, 0.2);
}

.dark-theme .nav-links a:hover {
    color: #64b5f6;
}

/* Герой секция */
.hero {
    text-align: center;
    padding: 100px 0 150px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #1565c0;
}

.dark-theme .hero-title {
    color: #bb86fc;
}

.highlight {
    color: #1e88e5;
    position: relative;
    display: inline-block;
}

.dark-theme .highlight {
    color: #64b5f6;
}

.highlight:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(33, 150, 243, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dark-theme .hero-subtitle {
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #1e88e5;
    color: white;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.4);
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    color: #1e88e5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark-theme .btn-secondary {
    background: #2a2a3a;
    color: #64b5f6;
}

.btn-secondary:hover {
    background: #f5f5f5;
    transform: translateY(-3px);
}

.dark-theme .btn-secondary:hover {
    background: #3a3a4a;
}

.btn-telegram {
    background: #0088cc;
    color: white;
}

.btn-telegram:hover {
    background: #0077b5;
    transform: translateY(-3px);
}

.btn-email {
    background: #d44638;
    color: white;
}

.btn-email:hover {
    background: #b33629;
    transform: translateY(-3px);
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
    transform: translateY(-3px);
}

/* Секции */
.section {
    padding: 80px 40px;
    margin-bottom: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.light-theme .section {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.dark-theme .section {
    background: rgba(20, 20, 30, 0.85);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(100, 181, 246, 0.1);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1565c0;
}

.dark-theme .section h2 {
    color: #bb86fc;
}

.emoji {
    font-size: 2rem;
    margin: 0 10px;
}

/* Обо мне */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 15px;
    border-radius: 10px;
    position: relative;
}

.light-theme .about-text p {
    background: rgba(255, 255, 255, 0.7);
}

.dark-theme .about-text p {
    background: rgba(30, 30, 40, 0.7);
}

.about-icon {
    font-size: 10rem;
    color: #1e88e5;
    opacity: 0.7;
    position: relative;
}

.icon-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neon-icon {
    font-size: 8rem;
    color: #1e88e5;
    z-index: 2;
    position: relative;
}

.dark-theme .neon-icon {
    color: #64b5f6;
    text-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

.icon-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(30, 136, 229, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s infinite alternate;
}

.dark-theme .icon-glow {
    background: radial-gradient(circle, rgba(100, 181, 246, 0.4) 0%, transparent 70%);
}

/* Навыки */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.light-theme .skill-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-theme .skill-card {
    background: rgba(30, 30, 40, 0.9);
}

.neon-card {
    border: 1px solid rgba(30, 136, 229, 0.2);
}

.dark-theme .neon-card {
    border: 1px solid rgba(100, 181, 246, 0.3);
    box-shadow: 0 0 15px rgba(100, 181, 246, 0.1);
}

.neon-card:hover {
    transform: translateY(-10px);
    border-color: rgba(30, 136, 229, 0.5);
    box-shadow: 0 15px 30px rgba(30, 136, 229, 0.15);
}

.dark-theme .neon-card:hover {
    border-color: rgba(100, 181, 246, 0.6);
    box-shadow: 0 15px 30px rgba(100, 181, 246, 0.2);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.skill-card h3 {
    margin-bottom: 15px;
    color: #1565c0;
}

.dark-theme .skill-card h3 {
    color: #bb86fc;
}

/* Карусель проектов */
.portfolio-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 60px;
    overflow: hidden;
}

.portfolio-carousel {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.carousel-project {
    flex: 0 0 calc(33.333% - 20px);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.9);
    cursor: pointer;
    position: relative;
}

.carousel-project.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}

.light-theme .carousel-project {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dark-theme .carousel-project {
    background: rgba(30, 30, 40, 0.9);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-project:hover {
    transform: scale(1.1) !important;
    z-index: 3;
}

.carousel-project-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.carousel-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.carousel-project:hover .carousel-project-image img {
    transform: scale(1.05);
}

.carousel-project h3 {
    margin-bottom: 10px;
    color: #1565c0;
    font-size: 1.3rem;
}

.dark-theme .carousel-project h3 {
    color: #bb86fc;
}

.carousel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.carousel-tag {
    background: rgba(30, 136, 229, 0.1);
    color: #1e88e5;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.dark-theme .carousel-tag {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.dark-theme .carousel-btn {
    background: rgba(30, 30, 40, 0.9);
    color: white;
}

.carousel-btn:hover {
    transform: scale(1.1);
    background: #1e88e5;
    color: white;
}

.view-all-projects {
    text-align: center;
    margin-top: 30px;
}

/* Неон эффекты */
.neon-text {
    color: #1e88e5;
}

.dark-theme .neon-text {
    color: #64b5f6;
}

.neon-heading {
    color: #1565c0;
    position: relative;
}

.dark-theme .neon-heading {
    color: #bb86fc;
}

.neon-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1e88e5;
    border-radius: 2px;
}

.dark-theme .neon-heading:after {
    background: #64b5f6;
    box-shadow: 0 0 10px rgba(100, 181, 246, 0.5);
}

.neon-emoji {
    font-size: 1.5rem;
    margin-right: 10px;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes subtleGlow {
    0% { text-shadow: 0 0 5px currentColor; }
    100% { text-shadow: 0 0 10px currentColor; }
}

/* Как я работаю */
.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.light-theme .step {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-theme .step {
    background: rgba(30, 30, 40, 0.9);
}

.neon-step {
    border: 1px solid rgba(30, 136, 229, 0.2);
}

.dark-theme .neon-step {
    border: 1px solid rgba(100, 181, 246, 0.3);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e88e5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.dark-theme .step-number {
    background: #64b5f6;
}

.step h3 {
    margin: 20px 0 15px;
    color: #1565c0;
}

.dark-theme .step h3 {
    color: #bb86fc;
}

.pricing-note, .portfolio-note {
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.light-theme .pricing-note {
    background: #e3f2fd;
}

.dark-theme .pricing-note {
    background: rgba(30, 30, 50, 0.7);
}

.light-theme .portfolio-note {
    background: #e8f5e9;
}

.dark-theme .portfolio-note {
    background: rgba(30, 40, 30, 0.7);
}

.neon-border {
    border: 1px solid rgba(30, 136, 229, 0.3);
}

.dark-theme .neon-border {
    border: 1px solid rgba(100, 181, 246, 0.5);
}

.pricing-note i, .portfolio-note i {
    font-size: 2.5rem;
    color: #1e88e5;
    flex-shrink: 0;
}

.dark-theme .pricing-note i,
.dark-theme .portfolio-note i {
    color: #64b5f6;
}

/* Контакты */
.contact-section {
    text-align: center;
}

.contact-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.dark-theme .contact-subtitle {
    color: #ccc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.light-theme .contact-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.dark-theme .contact-card {
    background: rgba(30, 30, 40, 0.9);
}

.telegram-card {
    border: 2px solid #0088cc;
}

.email-card {
    border: 2px solid #d44638;
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.telegram-neon-icon {
    color: #0088cc;
}

.email-neon-icon {
    color: #d44638;
}

.contact-card h3 {
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 25px;
    color: #666;
}

.dark-theme .contact-card p {
    color: #aaa;
}

.contact-username {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 25px;
    padding: 12px;
    border-radius: 10px;
    color: #333;
    font-weight: 600;
}

.telegram-card .contact-username {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.email-card .contact-username {
    background: rgba(212, 70, 56, 0.1);
    color: #d44638;
}

.dark-theme .telegram-card .contact-username {
    background: rgba(0, 136, 204, 0.2);
    color: #64b5f6;
}

.dark-theme .email-card .contact-username {
    background: rgba(212, 70, 56, 0.2);
    color: #ff8a80;
}

/* Футер */
footer {
    padding: 50px 0;
    text-align: center;
    color: #666;
}

.dark-theme footer {
    color: #aaa;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-content .logo {
    margin: 0 auto 20px;
    justify-content: center;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e88e5;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.dark-theme .footer-link {
    color: #64b5f6;
}

.footer-link:hover {
    color: #1565c0;
    transform: translateY(-2px);
}

.dark-theme .footer-link:hover {
    color: #bb86fc;
}

.copyright {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Кнопка "Связаться со мной" с разными эффектами для дня и ночи */
.btn-primary.day-gold.night-silver {
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Эффект для светлой темы (день) */
.light-theme .btn-primary.day-gold.night-silver {
    background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700);
    background-size: 200% 200%;
    color: #333;
    box-shadow:
        0 5px 15px rgba(255, 215, 0, 0.4),
        0 0 10px rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.light-theme .btn-primary.day-gold.night-silver:hover {
    animation: goldShine 2s infinite linear;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(255, 215, 0, 0.6),
        0 0 20px rgba(255, 215, 0, 0.5);
}

/* Эффект для темной темы (ночь) */
.dark-theme .btn-primary.day-gold.night-silver {
    background: linear-gradient(45deg, #E0E0E0, #C0C0C0, #E0E0E0);
    background-size: 200% 200%;
    color: #333;
    box-shadow:
        0 5px 15px rgba(192, 192, 192, 0.4),
        0 0 10px rgba(224, 224, 224, 0.3);
    border: 1px solid rgba(224, 224, 224, 0.3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dark-theme .btn-primary.day-gold.night-silver:hover {
    animation: silverShine 2s infinite linear;
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(192, 192, 192, 0.6),
        0 0 20px rgba(224, 224, 224, 0.5);
}

/* Модальные окна */
.projects-modal,
.project-detail-modal,
.project-edit-modal,
.admin-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.projects-modal.active,
.project-detail-modal.active,
.project-edit-modal.active,
.admin-login-modal.active {
    opacity: 1;
    visibility: visible;
}

.projects-modal-content,
.project-detail-content,
.project-edit-content,
.admin-login-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.dark-theme .projects-modal-content,
.dark-theme .project-detail-content,
.dark-theme .project-edit-content,
.dark-theme .admin-login-content {
    background: #1a1a2e;
    color: white;
}

.projects-modal.active .projects-modal-content,
.project-detail-modal.active .project-detail-content,
.project-edit-modal.active .project-edit-content,
.admin-login-modal.active .admin-login-content {
    transform: translateY(0);
}

.projects-close-btn,
.project-detail-close,
.project-edit-close,
.admin-login-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dark-theme .projects-close-btn,
.dark-theme .project-detail-close,
.dark-theme .project-edit-close,
.dark-theme .admin-login-close {
    color: #aaa;
}

.projects-close-btn:hover,
.project-detail-close:hover,
.project-edit-close:hover,
.admin-login-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #f44336;
}

.projects-modal-title {
    text-align: center;
    margin-bottom: 30px;
    color: #1565c0;
}

.dark-theme .projects-modal-title {
    color: #bb86fc;
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.all-project-card {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.all-project-card:hover {
    transform: translateY(-10px);
}

.light-theme .all-project-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dark-theme .all-project-card {
    background: rgba(30, 30, 40, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.all-project-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.all-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.all-project-info {
    padding: 20px;
}

.all-project-info h3 {
    margin-bottom: 10px;
    color: #1565c0;
}

.dark-theme .all-project-info h3 {
    color: #bb86fc;
}

.all-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.all-project-tag {
    background: rgba(30, 136, 229, 0.1);
    color: #1e88e5;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.dark-theme .all-project-tag {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

.projects-modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.dark-theme .projects-modal-footer {
    color: #aaa;
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* Детали проекта */
.project-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-detail-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-detail-main-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.project-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.project-detail-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
}

.project-detail-thumbnail.active {
    opacity: 1;
    border: 2px solid #1e88e5;
}

.project-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-info h2 {
    margin-bottom: 20px;
    color: #1565c0;
}

.dark-theme .project-detail-info h2 {
    color: #bb86fc;
}

.project-detail-info p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #666;
}

.dark-theme .project-detail-info p {
    color: #aaa;
}

.project-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-detail-tag {
    background: rgba(30, 136, 229, 0.1);
    color: #1e88e5;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.dark-theme .project-detail-tag {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
}

/* Форма редактирования */
.project-edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
}

.dark-theme .form-group label {
    color: #fff;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.dark-theme .form-group input,
.dark-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
}

.form-group small {
    color: #666;
    font-size: 0.9rem;
}

.dark-theme .form-group small {
    color: #aaa;
}

.project-edit-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Админ панель */
.admin-login-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 136, 229, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(30, 136, 229, 0.4);
}

.admin-login-btn:hover {
    transform: scale(1.1);
    background: #1565c0;
}

.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.dark-theme .admin-panel {
    background: #1a1a2e;
}

.admin-panel.active {
    right: 0;
}

.admin-header {
    padding: 20px;
    background: #1e88e5;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-theme .admin-header {
    background: #0d47a1;
}

.admin-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.admin-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.admin-section {
    margin-bottom: 30px;
}

.admin-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.dark-theme .admin-section h4 {
    color: #fff;
}

.admin-btn {
    width: 100%;
    margin-bottom: 20px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-project-item {
    padding: 15px;
    border-radius: 10px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.dark-theme .admin-project-item {
    background: rgba(255, 255, 255, 0.1);
}

.admin-project-item:hover {
    background: #e3f2fd;
}

.dark-theme .admin-project-item:hover {
    background: rgba(30, 136, 229, 0.2);
}

.admin-project-info h5 {
    margin-bottom: 5px;
    color: #333;
}

.dark-theme .admin-project-info h5 {
    color: #fff;
}

.admin-project-actions {
    display: flex;
    gap: 10px;
}

.admin-project-action {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

.admin-project-action.edit {
    color: #1e88e5;
}

.admin-project-action.delete {
    color: #f44336;
}

.admin-project-action:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Анимации */
@keyframes goldShine {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 25px rgba(255, 215, 0, 0.6),
            0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow:
            0 8px 25px rgba(255, 215, 0, 0.7),
            0 0 25px rgba(255, 215, 0, 0.6);
    }
    100% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 25px rgba(255, 215, 0, 0.6),
            0 0 20px rgba(255, 215, 0, 0.5);
    }
}

@keyframes silverShine {
    0% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 25px rgba(192, 192, 192, 0.6),
            0 0 20px rgba(224, 224, 224, 0.5);
    }
    50% {
        background-position: 100% 50%;
        box-shadow:
            0 8px 25px rgba(192, 192, 192, 0.7),
            0 0 25px rgba(224, 224, 224, 0.6);
    }
    100% {
        background-position: 0% 50%;
        box-shadow:
            0 8px 25px rgba(192, 192, 192, 0.6),
            0 0 20px rgba(224, 224, 224, 0.5);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-icon {
        font-size: 7rem;
    }

    .section {
        padding: 60px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .pricing-note, .portfolio-note {
        flex-direction: column;
        text-align: center;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .theme-text {
        display: none;
    }

    .portfolio-carousel-container {
        padding: 0 40px;
    }

    .carousel-project {
        flex: 0 0 calc(50% - 15px);
    }

    .project-detail-main {
        grid-template-columns: 1fr;
    }

    .all-projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .admin-panel {
        width: 100%;
        right: -100%;
    }

    .btn-primary.day-gold.night-silver {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .light-theme .btn-primary.day-gold.night-silver:hover,
    .dark-theme .btn-primary.day-gold.night-silver:hover {
        transform: translateY(-2px) scale(1.03);
    }
}

@media (max-width: 480px) {
    .carousel-project {
        flex: 0 0 100%;
    }

    .all-projects-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-carousel-container {
        padding: 0 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}
[file content end]