@font-face {
    font-family: 'CCG';
    src: url('fonts/ccg_normal_700.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'CM';
    src: url('fonts/cm_normal_400.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

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

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark-mode {
    background: #000;
    color: #fff;
}

.main {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
}

.title-box {
    margin-bottom: 60px;
}

.pre-title {
    font-family: 'CCG', Arial, sans-serif;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #666;
}

body.dark-mode .pre-title {
    color: #ccc;
}

.main-title {
    font-family: 'CM', Arial, sans-serif;
    font-size: 140px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
}

.sub-title {
    font-family: 'CM', Arial, sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #666;
}

body.dark-mode .sub-title {
    color: #ccc;
}

.info-box {
    border-top: 1px solid #ccc;
    padding-top: 40px;
}

.contacts, .social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social {
    margin-top: 20px;
}

body.dark-mode .info-box {
    border-top: 1px solid #666;
}

.contact-link {
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

body.dark-mode .contact-link {
    color: #fff;
}

.contact-link:hover {
    color: #a48071;
    transform: translateY(-2px);
}

.contact-link svg {
    width: 24px;
    height: 24px;
}

.contact-link.phone span {
    font-size: 16px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .main {
        padding: 15px;
    }
    
    .title-box {
        margin-bottom: 40px;
    }
    
    .pre-title {
        font-size: 0.9em;
    }
    
    .main-title {
        font-size: 80px;
    }
    
    .sub-title {
        font-size: 18px;
    }
    
    .contacts {
        gap: 20px;
        padding-top: 30px;
    }
    
    .contact-link svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-link.phone span,
    .contact-link.email span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pre-title {
        font-size: 0.8em;
        letter-spacing: 1px;
    }
    
    .main-title {
        font-size: 60px;
    }
    
    .sub-title {
        font-size: 16px;
    }
    
    .contacts {
        gap: 15px;
    }
    
    .contact-link.phone,
    .contact-link.email {
        gap: 4px;
    }
}

.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.theme-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
}

body.dark-mode .theme-toggle {
    border-color: #666;
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: #666;
}

body.dark-mode .theme-toggle svg {
    fill: #ccc;
}
